Sample code: * @@ -3174,7 +3184,9 @@ public final Operation setNodePoolSize(SetNodePoolSizeRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the size for a specific node pool. + * 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]. * *
Sample code: * diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java index 466b9275..8649c1c6 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java @@ -15,7 +15,9 @@ */ /** - * The interfaces provided are listed below, along with usage samples. + * A client to Kubernetes Engine API + * + *
The interfaces provided are listed below, along with usage samples. * *
======================= ClusterManagerClient =======================
*
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java
index 5d0a95e4..0e8ee291 100644
--- a/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java
+++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java
@@ -601,6 +601,7 @@ public final UnaryCallable The interfaces provided are listed below, along with usage samples.
*
* ======================= ClusterManagerClient =======================
*
diff --git a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
index b0c93465..7b7b410d 100644
--- a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
+++ b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
@@ -28,17 +28,20 @@
import com.google.common.collect.Lists;
import com.google.container.v1.AddonsConfig;
import com.google.container.v1.AuthenticatorGroupsConfig;
+import com.google.container.v1.Autopilot;
import com.google.container.v1.BinaryAuthorization;
import com.google.container.v1.CancelOperationRequest;
import com.google.container.v1.Cluster;
import com.google.container.v1.ClusterAutoscaling;
import com.google.container.v1.ClusterUpdate;
import com.google.container.v1.CompleteIPRotationRequest;
+import com.google.container.v1.ConfidentialNodes;
import com.google.container.v1.CreateClusterRequest;
import com.google.container.v1.CreateNodePoolRequest;
import com.google.container.v1.DatabaseEncryption;
import com.google.container.v1.DeleteClusterRequest;
import com.google.container.v1.DeleteNodePoolRequest;
+import com.google.container.v1.GcfsConfig;
import com.google.container.v1.GetClusterRequest;
import com.google.container.v1.GetJSONWebKeysRequest;
import com.google.container.v1.GetJSONWebKeysResponse;
@@ -48,6 +51,7 @@
import com.google.container.v1.IPAllocationPolicy;
import com.google.container.v1.Jwk;
import com.google.container.v1.LegacyAbac;
+import com.google.container.v1.LinuxNodeConfig;
import com.google.container.v1.ListClustersRequest;
import com.google.container.v1.ListClustersResponse;
import com.google.container.v1.ListNodePoolsRequest;
@@ -56,16 +60,23 @@
import com.google.container.v1.ListOperationsResponse;
import com.google.container.v1.ListUsableSubnetworksRequest;
import com.google.container.v1.ListUsableSubnetworksResponse;
+import com.google.container.v1.LoggingConfig;
import com.google.container.v1.MaintenancePolicy;
import com.google.container.v1.MasterAuth;
import com.google.container.v1.MasterAuthorizedNetworksConfig;
import com.google.container.v1.MaxPodsConstraint;
+import com.google.container.v1.MeshCertificates;
+import com.google.container.v1.MonitoringConfig;
import com.google.container.v1.NetworkConfig;
import com.google.container.v1.NetworkPolicy;
import com.google.container.v1.NodeConfig;
+import com.google.container.v1.NodeKubeletConfig;
import com.google.container.v1.NodeManagement;
+import com.google.container.v1.NodeNetworkConfig;
import com.google.container.v1.NodePool;
import com.google.container.v1.NodePoolAutoscaling;
+import com.google.container.v1.NodePoolDefaults;
+import com.google.container.v1.NotificationConfig;
import com.google.container.v1.Operation;
import com.google.container.v1.OperationProgress;
import com.google.container.v1.PrivateClusterConfig;
@@ -93,10 +104,12 @@
import com.google.container.v1.UpdateNodePoolRequest;
import com.google.container.v1.UsableSubnetwork;
import com.google.container.v1.VerticalPodAutoscaling;
+import com.google.container.v1.VirtualNIC;
import com.google.container.v1.WorkloadIdentityConfig;
import com.google.container.v1.WorkloadMetadataConfig;
import com.google.protobuf.AbstractMessage;
import com.google.protobuf.Empty;
+import com.google.rpc.Status;
import io.grpc.StatusRuntimeException;
import java.io.IOException;
import java.util.ArrayList;
@@ -268,6 +281,9 @@ public void getClusterTest() throws Exception {
.setShieldedNodes(ShieldedNodes.newBuilder().build())
.setReleaseChannel(ReleaseChannel.newBuilder().build())
.setWorkloadIdentityConfig(WorkloadIdentityConfig.newBuilder().build())
+ .setMeshCertificates(MeshCertificates.newBuilder().build())
+ .setNotificationConfig(NotificationConfig.newBuilder().build())
+ .setConfidentialNodes(ConfidentialNodes.newBuilder().build())
.setSelfLink("selfLink1191800166")
.setZone("zone3744684")
.setEndpoint("endpoint1741102485")
@@ -285,6 +301,11 @@ public void getClusterTest() throws Exception {
.setEnableTpu(true)
.setTpuIpv4CidrBlock("tpuIpv4CidrBlock997172251")
.addAllConditions(new ArrayList
- * Sets the size for a specific node pool.
+ * 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(
@@ -2646,7 +2648,9 @@ public void completeIPRotation(
*
*
*
- * Sets the size for a specific node pool.
+ * 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(
@@ -3122,7 +3126,9 @@ public com.google.container.v1.Operation completeIPRotation(
*
*
*
- * Sets the size for a specific node pool.
+ * 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(
@@ -3589,7 +3595,9 @@ protected ClusterManagerFutureStub build(
*
*
*
- * Sets the size for a specific node pool.
+ * 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
+ * Size of partitions to create on the GPU. Valid values are described in the
+ * NVIDIA [mig user
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * string gpu_partition_size = 3;
+ *
+ * @return The gpuPartitionSize.
+ */
+ @java.lang.Override
+ public java.lang.String getGpuPartitionSize() {
+ java.lang.Object ref = gpuPartitionSize_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ gpuPartitionSize_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Size of partitions to create on the GPU. Valid values are described in the
+ * NVIDIA [mig user
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * string gpu_partition_size = 3;
+ *
+ * @return The bytes for gpuPartitionSize.
+ */
+ @java.lang.Override
+ 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);
+ gpuPartitionSize_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -205,6 +266,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, acceleratorType_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gpuPartitionSize_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gpuPartitionSize_);
+ }
unknownFields.writeTo(output);
}
@@ -220,6 +284,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acceleratorType_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gpuPartitionSize_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -238,6 +305,7 @@ public boolean equals(final java.lang.Object obj) {
if (getAcceleratorCount() != other.getAcceleratorCount()) return false;
if (!getAcceleratorType().equals(other.getAcceleratorType())) return false;
+ if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -253,6 +321,8 @@ public int hashCode() {
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -402,6 +472,8 @@ public Builder clear() {
acceleratorType_ = "";
+ gpuPartitionSize_ = "";
+
return this;
}
@@ -431,6 +503,7 @@ public com.google.container.v1.AcceleratorConfig buildPartial() {
new com.google.container.v1.AcceleratorConfig(this);
result.acceleratorCount_ = acceleratorCount_;
result.acceleratorType_ = acceleratorType_;
+ result.gpuPartitionSize_ = gpuPartitionSize_;
onBuilt();
return result;
}
@@ -487,6 +560,10 @@ public Builder mergeFrom(com.google.container.v1.AcceleratorConfig other) {
acceleratorType_ = other.acceleratorType_;
onChanged();
}
+ if (!other.getGpuPartitionSize().isEmpty()) {
+ gpuPartitionSize_ = other.gpuPartitionSize_;
+ onChanged();
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -679,6 +756,122 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object gpuPartitionSize_ = "";
+ /**
+ *
+ *
+ *
+ * Size of partitions to create on the GPU. Valid values are described in the
+ * NVIDIA [mig user
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * 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;
+ java.lang.String s = bs.toStringUtf8();
+ gpuPartitionSize_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Size of partitions to create on the GPU. Valid values are described in the
+ * NVIDIA [mig user
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * string gpu_partition_size = 3;
+ *
+ * @return The bytes for gpuPartitionSize.
+ */
+ 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);
+ gpuPartitionSize_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Size of partitions to create on the GPU. Valid values are described in the
+ * NVIDIA [mig user
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * string gpu_partition_size = 3;
+ *
+ * @param value The gpuPartitionSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGpuPartitionSize(java.lang.String value) {
+ if (value == null) {
+ 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
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * 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
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ gpuPartitionSize_ = value;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java
index 7ab425bd..88f57103 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java
@@ -62,4 +62,33 @@ public interface AcceleratorConfigOrBuilder
* @return The bytes for acceleratorType.
*/
com.google.protobuf.ByteString getAcceleratorTypeBytes();
+
+ /**
+ *
+ *
+ *
+ * Size of partitions to create on the GPU. Valid values are described in the
+ * NVIDIA [mig user
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * 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
+ * guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
+ *
+ *
+ * string gpu_partition_size = 3;
+ *
+ * @return The bytes for gpuPartitionSize.
+ */
+ com.google.protobuf.ByteString getGpuPartitionSizeBytes();
}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java
index ebca6571..0b28cfb8 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java
@@ -179,6 +179,40 @@ private AddonsConfig(
configConnectorConfig_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 90:
+ {
+ com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder subBuilder = null;
+ if (gcePersistentDiskCsiDriverConfig_ != null) {
+ subBuilder = gcePersistentDiskCsiDriverConfig_.toBuilder();
+ }
+ gcePersistentDiskCsiDriverConfig_ =
+ input.readMessage(
+ com.google.container.v1.GcePersistentDiskCsiDriverConfig.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(gcePersistentDiskCsiDriverConfig_);
+ gcePersistentDiskCsiDriverConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 114:
+ {
+ com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder subBuilder = null;
+ if (gcpFilestoreCsiDriverConfig_ != null) {
+ subBuilder = gcpFilestoreCsiDriverConfig_.toBuilder();
+ }
+ gcpFilestoreCsiDriverConfig_ =
+ input.readMessage(
+ com.google.container.v1.GcpFilestoreCsiDriverConfig.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(gcpFilestoreCsiDriverConfig_);
+ gcpFilestoreCsiDriverConfig_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -592,6 +626,115 @@ public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig()
return getConfigConnectorConfig();
}
+ public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER = 11;
+ 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;
+ *
+ *
+ * @return Whether the gcePersistentDiskCsiDriverConfig field is set.
+ */
+ @java.lang.Override
+ 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;
+ *
+ *
+ * @return The gcePersistentDiskCsiDriverConfig.
+ */
+ @java.lang.Override
+ 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;
+ *
+ */
+ @java.lang.Override
+ 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;
+ *
+ *
+ * @return Whether the gcpFilestoreCsiDriverConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasGcpFilestoreCsiDriverConfig() {
+ return gcpFilestoreCsiDriverConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .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_;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
+ *
+ */
+ @java.lang.Override
+ public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder
+ getGcpFilestoreCsiDriverConfigOrBuilder() {
+ return getGcpFilestoreCsiDriverConfig();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -627,6 +770,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (configConnectorConfig_ != null) {
output.writeMessage(10, getConfigConnectorConfig());
}
+ if (gcePersistentDiskCsiDriverConfig_ != null) {
+ output.writeMessage(11, getGcePersistentDiskCsiDriverConfig());
+ }
+ if (gcpFilestoreCsiDriverConfig_ != null) {
+ output.writeMessage(14, getGcpFilestoreCsiDriverConfig());
+ }
unknownFields.writeTo(output);
}
@@ -660,6 +809,16 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(10, getConfigConnectorConfig());
}
+ if (gcePersistentDiskCsiDriverConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 11, getGcePersistentDiskCsiDriverConfig());
+ }
+ if (gcpFilestoreCsiDriverConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 14, getGcpFilestoreCsiDriverConfig());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -703,6 +862,17 @@ public boolean equals(final java.lang.Object obj) {
if (hasConfigConnectorConfig()) {
if (!getConfigConnectorConfig().equals(other.getConfigConnectorConfig())) 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 (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -742,6 +912,14 @@ public int hashCode() {
hash = (37 * hash) + CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfigConnectorConfig().hashCode();
}
+ if (hasGcePersistentDiskCsiDriverConfig()) {
+ hash = (37 * hash) + GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getGcePersistentDiskCsiDriverConfig().hashCode();
+ }
+ if (hasGcpFilestoreCsiDriverConfig()) {
+ hash = (37 * hash) + GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getGcpFilestoreCsiDriverConfig().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -929,6 +1107,18 @@ public Builder clear() {
configConnectorConfig_ = null;
configConnectorConfigBuilder_ = null;
}
+ if (gcePersistentDiskCsiDriverConfigBuilder_ == null) {
+ gcePersistentDiskCsiDriverConfig_ = null;
+ } else {
+ gcePersistentDiskCsiDriverConfig_ = null;
+ gcePersistentDiskCsiDriverConfigBuilder_ = null;
+ }
+ if (gcpFilestoreCsiDriverConfigBuilder_ == null) {
+ gcpFilestoreCsiDriverConfig_ = null;
+ } else {
+ gcpFilestoreCsiDriverConfig_ = null;
+ gcpFilestoreCsiDriverConfigBuilder_ = null;
+ }
return this;
}
@@ -990,6 +1180,16 @@ public com.google.container.v1.AddonsConfig buildPartial() {
} else {
result.configConnectorConfig_ = configConnectorConfigBuilder_.build();
}
+ if (gcePersistentDiskCsiDriverConfigBuilder_ == null) {
+ result.gcePersistentDiskCsiDriverConfig_ = gcePersistentDiskCsiDriverConfig_;
+ } else {
+ result.gcePersistentDiskCsiDriverConfig_ = gcePersistentDiskCsiDriverConfigBuilder_.build();
+ }
+ if (gcpFilestoreCsiDriverConfigBuilder_ == null) {
+ result.gcpFilestoreCsiDriverConfig_ = gcpFilestoreCsiDriverConfig_;
+ } else {
+ result.gcpFilestoreCsiDriverConfig_ = gcpFilestoreCsiDriverConfigBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -1060,6 +1260,12 @@ public Builder mergeFrom(com.google.container.v1.AddonsConfig other) {
if (other.hasConfigConnectorConfig()) {
mergeConfigConnectorConfig(other.getConfigConnectorConfig());
}
+ if (other.hasGcePersistentDiskCsiDriverConfig()) {
+ mergeGcePersistentDiskCsiDriverConfig(other.getGcePersistentDiskCsiDriverConfig());
+ }
+ if (other.hasGcpFilestoreCsiDriverConfig()) {
+ mergeGcpFilestoreCsiDriverConfig(other.getGcpFilestoreCsiDriverConfig());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -2512,6 +2718,418 @@ public com.google.container.v1.ConfigConnectorConfig.Builder getConfigConnectorC
return configConnectorConfigBuilder_;
}
+ 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_;
+ /**
+ *
+ *
+ *
+ * Configuration for the Compute Engine Persistent Disk CSI driver.
+ *
+ *
+ *
+ * .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;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the Compute Engine Persistent Disk CSI driver.
+ *
+ *
+ *
+ * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;
+ *
+ *
+ * @return The gcePersistentDiskCsiDriverConfig.
+ */
+ public com.google.container.v1.GcePersistentDiskCsiDriverConfig
+ getGcePersistentDiskCsiDriverConfig() {
+ if (gcePersistentDiskCsiDriverConfigBuilder_ == null) {
+ 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;
+ *
+ */
+ public Builder setGcePersistentDiskCsiDriverConfig(
+ com.google.container.v1.GcePersistentDiskCsiDriverConfig value) {
+ if (gcePersistentDiskCsiDriverConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ gcePersistentDiskCsiDriverConfig_ = value;
+ onChanged();
+ } else {
+ gcePersistentDiskCsiDriverConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the Compute Engine Persistent Disk CSI driver.
+ *
+ *
+ *
+ * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;
+ *
+ */
+ public Builder setGcePersistentDiskCsiDriverConfig(
+ com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder builderForValue) {
+ if (gcePersistentDiskCsiDriverConfigBuilder_ == null) {
+ gcePersistentDiskCsiDriverConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ gcePersistentDiskCsiDriverConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the Compute Engine Persistent Disk CSI driver.
+ *
+ *
+ *
+ * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;
+ *
+ */
+ 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();
+ } else {
+ gcePersistentDiskCsiDriverConfig_ = value;
+ }
+ onChanged();
+ } else {
+ gcePersistentDiskCsiDriverConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the Compute Engine Persistent Disk CSI driver.
+ *
+ *
+ *
+ * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;
+ *
+ */
+ public Builder clearGcePersistentDiskCsiDriverConfig() {
+ if (gcePersistentDiskCsiDriverConfigBuilder_ == null) {
+ gcePersistentDiskCsiDriverConfig_ = null;
+ onChanged();
+ } else {
+ gcePersistentDiskCsiDriverConfig_ = null;
+ gcePersistentDiskCsiDriverConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the Compute Engine Persistent Disk CSI driver.
+ *
+ *
+ *
+ * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;
+ *
+ */
+ 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;
+ *
+ */
+ public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder
+ getGcePersistentDiskCsiDriverConfigOrBuilder() {
+ if (gcePersistentDiskCsiDriverConfigBuilder_ != null) {
+ return gcePersistentDiskCsiDriverConfigBuilder_.getMessageOrBuilder();
+ } else {
+ 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;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ gcePersistentDiskCsiDriverConfig_ = null;
+ }
+ return gcePersistentDiskCsiDriverConfigBuilder_;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .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;
+ *
+ *
+ * @return The gcpFilestoreCsiDriverConfig.
+ */
+ public com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() {
+ if (gcpFilestoreCsiDriverConfigBuilder_ == null) {
+ 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;
+ *
+ */
+ public Builder setGcpFilestoreCsiDriverConfig(
+ com.google.container.v1.GcpFilestoreCsiDriverConfig value) {
+ if (gcpFilestoreCsiDriverConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ gcpFilestoreCsiDriverConfig_ = value;
+ onChanged();
+ } else {
+ gcpFilestoreCsiDriverConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
+ *
+ */
+ public Builder setGcpFilestoreCsiDriverConfig(
+ com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder builderForValue) {
+ if (gcpFilestoreCsiDriverConfigBuilder_ == null) {
+ gcpFilestoreCsiDriverConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ gcpFilestoreCsiDriverConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
+ *
+ */
+ 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();
+ } else {
+ gcpFilestoreCsiDriverConfig_ = value;
+ }
+ onChanged();
+ } else {
+ gcpFilestoreCsiDriverConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
+ *
+ */
+ public Builder clearGcpFilestoreCsiDriverConfig() {
+ if (gcpFilestoreCsiDriverConfigBuilder_ == null) {
+ gcpFilestoreCsiDriverConfig_ = null;
+ onChanged();
+ } else {
+ gcpFilestoreCsiDriverConfig_ = null;
+ gcpFilestoreCsiDriverConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
+ *
+ */
+ 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;
+ *
+ */
+ public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder
+ getGcpFilestoreCsiDriverConfigOrBuilder() {
+ if (gcpFilestoreCsiDriverConfigBuilder_ != null) {
+ return gcpFilestoreCsiDriverConfigBuilder_.getMessageOrBuilder();
+ } else {
+ 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;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ gcpFilestoreCsiDriverConfig_ = null;
+ }
+ return gcpFilestoreCsiDriverConfigBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java
index bd48987b..8e0706bb 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java
@@ -306,4 +306,85 @@ public interface AddonsConfigOrBuilder
* .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
*/
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;
+ *
+ *
+ * @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;
+ *
+ *
+ * @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;
+ *
+ */
+ com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder
+ getGcePersistentDiskCsiDriverConfigOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Configuration for the GCP Filestore CSI driver.
+ *
+ *
+ * .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;
+ *
+ *
+ * @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;
+ *
+ */
+ com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder
+ getGcpFilestoreCsiDriverConfigOrBuilder();
}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java
new file mode 100644
index 00000000..3e542a9b
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java
@@ -0,0 +1,603 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.AdvancedMachineFeatures)
+ AdvancedMachineFeaturesOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use AdvancedMachineFeatures.newBuilder() to construct.
+ private AdvancedMachineFeatures(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private AdvancedMachineFeatures() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AdvancedMachineFeatures();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private AdvancedMachineFeatures(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ bitField0_ |= 0x00000001;
+ threadsPerCore_ = input.readInt64();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @return Whether the threadsPerCore field is set.
+ */
+ @java.lang.Override
+ 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
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @return The threadsPerCore.
+ */
+ @java.lang.Override
+ public long getThreadsPerCore() {
+ return threadsPerCore_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeInt64(1, threadsPerCore_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, threadsPerCore_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.AdvancedMachineFeatures)) {
+ return super.equals(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 (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ 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 = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.AdvancedMachineFeatures 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.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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * The number of threads per physical core. To disable simultaneous
+ * multithreading (SMT) set this to 1. If unset, the maximum number of threads
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @return Whether the threadsPerCore field is set.
+ */
+ @java.lang.Override
+ 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
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @return The threadsPerCore.
+ */
+ @java.lang.Override
+ 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
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @param value The threadsPerCore to set.
+ * @return This builder for chaining.
+ */
+ public Builder setThreadsPerCore(long value) {
+ bitField0_ |= 0x00000001;
+ threadsPerCore_ = value;
+ onChanged();
+ 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
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearThreadsPerCore() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ threadsPerCore_ = 0L;
+ 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.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();
+ }
+
+ public static com.google.container.v1.AdvancedMachineFeatures getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The number of threads per physical core. To disable simultaneous
+ * multithreading (SMT) set this to 1. If unset, the maximum number of threads
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * 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
+ * supported per core by the underlying processor is assumed.
+ *
+ *
+ * optional int64 threads_per_core = 1;
+ *
+ * @return The threadsPerCore.
+ */
+ long getThreadsPerCore();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java
new file mode 100644
index 00000000..d770f6dc
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java
@@ -0,0 +1,541 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.Autopilot)
+ AutopilotOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Autopilot.newBuilder() to construct.
+ private Autopilot(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private Autopilot() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Autopilot();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private Autopilot(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ enabled_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ 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_);
+ }
+ unknownFields.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 += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.Autopilot)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.Autopilot other = (com.google.container.v1.Autopilot) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.Autopilot 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.Autopilot parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ 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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * Enable Autopilot
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.Autopilot getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Enable Autopilot
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java
index 92159a32..e952532f 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java
@@ -63,6 +63,7 @@ private Cluster() {
location_ = "";
tpuIpv4CidrBlock_ = "";
conditions_ = java.util.Collections.emptyList();
+ id_ = "";
}
@java.lang.Override
@@ -516,6 +517,54 @@ private Cluster(
workloadIdentityConfig_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 394:
+ {
+ com.google.container.v1.NotificationConfig.Builder subBuilder = null;
+ if (notificationConfig_ != null) {
+ subBuilder = notificationConfig_.toBuilder();
+ }
+ notificationConfig_ =
+ input.readMessage(
+ com.google.container.v1.NotificationConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(notificationConfig_);
+ notificationConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 402:
+ {
+ com.google.container.v1.ConfidentialNodes.Builder subBuilder = null;
+ if (confidentialNodes_ != null) {
+ subBuilder = confidentialNodes_.toBuilder();
+ }
+ confidentialNodes_ =
+ input.readMessage(
+ com.google.container.v1.ConfidentialNodes.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(confidentialNodes_);
+ confidentialNodes_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 538:
+ {
+ com.google.container.v1.MeshCertificates.Builder subBuilder = null;
+ if (meshCertificates_ != null) {
+ subBuilder = meshCertificates_.toBuilder();
+ }
+ meshCertificates_ =
+ input.readMessage(
+ com.google.container.v1.MeshCertificates.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(meshCertificates_);
+ meshCertificates_ = subBuilder.buildPartial();
+ }
+
break;
}
case 802:
@@ -645,6 +694,76 @@ private Cluster(
com.google.container.v1.StatusCondition.parser(), extensionRegistry));
break;
}
+ case 1026:
+ {
+ com.google.container.v1.Autopilot.Builder subBuilder = null;
+ if (autopilot_ != null) {
+ subBuilder = autopilot_.toBuilder();
+ }
+ autopilot_ =
+ input.readMessage(com.google.container.v1.Autopilot.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(autopilot_);
+ autopilot_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 1034:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ id_ = s;
+ break;
+ }
+ case 1050:
+ {
+ com.google.container.v1.NodePoolDefaults.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ subBuilder = nodePoolDefaults_.toBuilder();
+ }
+ nodePoolDefaults_ =
+ input.readMessage(
+ com.google.container.v1.NodePoolDefaults.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(nodePoolDefaults_);
+ nodePoolDefaults_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 1058:
+ {
+ com.google.container.v1.LoggingConfig.Builder subBuilder = null;
+ if (loggingConfig_ != null) {
+ subBuilder = loggingConfig_.toBuilder();
+ }
+ loggingConfig_ =
+ input.readMessage(
+ com.google.container.v1.LoggingConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(loggingConfig_);
+ loggingConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 1066:
+ {
+ com.google.container.v1.MonitoringConfig.Builder subBuilder = null;
+ if (monitoringConfig_ != null) {
+ subBuilder = monitoringConfig_.toBuilder();
+ }
+ monitoringConfig_ =
+ input.readMessage(
+ com.google.container.v1.MonitoringConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(monitoringConfig_);
+ monitoringConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -956,6 +1075,7 @@ private Status(int value) {
// @@protoc_insertion_point(enum_scope:google.container.v1.Cluster.Status)
}
+ private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -2759,6 +2879,153 @@ public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(
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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
+ */
+ @java.lang.Override
+ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder() {
+ return getMeshCertificates();
+ }
+
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * Notification configuration of the cluster.
+ *
+ *
+ * .google.container.v1.NotificationConfig notification_config = 49;
+ */
+ @java.lang.Override
+ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder() {
+ return getNotificationConfig();
+ }
+
+ public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 50;
+ private com.google.container.v1.ConfidentialNodes confidentialNodes_;
+ /**
+ *
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
+ *
+ * @return Whether the confidentialNodes field is set.
+ */
+ @java.lang.Override
+ public boolean hasConfidentialNodes() {
+ return confidentialNodes_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .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_;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
+ */
+ @java.lang.Override
+ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() {
+ return getConfidentialNodes();
+ }
+
public static final int SELF_LINK_FIELD_NUMBER = 100;
private volatile java.lang.Object selfLink_;
/**
@@ -3650,61 +3917,305 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(i
return conditions_.get(index);
}
- private byte memoizedIsInitialized = -1;
-
+ 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
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
+ public boolean hasAutopilot() {
+ return autopilot_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Autopilot configuration for the cluster.
+ *
+ *
+ * .google.container.v1.Autopilot autopilot = 128;
+ *
+ * @return The autopilot.
+ */
+ @java.lang.Override
+ public com.google.container.v1.Autopilot getAutopilot() {
+ return autopilot_ == null ? com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_;
+ }
+ /**
+ *
+ *
+ *
+ * Autopilot configuration for the cluster.
+ *
+ *
+ * .google.container.v1.Autopilot autopilot = 128;
+ */
+ @java.lang.Override
+ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() {
+ return getAutopilot();
}
+ 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
- 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(description_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
- }
- if (initialNodeCount_ != 0) {
- output.writeInt32(3, initialNodeCount_);
- }
- if (nodeConfig_ != null) {
- output.writeMessage(4, getNodeConfig());
- }
- if (masterAuth_ != null) {
- output.writeMessage(5, getMasterAuth());
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggingService_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, loggingService_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoringService_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, monitoringService_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, network_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4Cidr_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clusterIpv4Cidr_);
- }
- if (addonsConfig_ != null) {
- output.writeMessage(10, getAddonsConfig());
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 11, subnetwork_);
- }
- for (int i = 0; i < nodePools_.size(); i++) {
- output.writeMessage(12, nodePools_.get(i));
- }
- for (int i = 0; i < locations_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 13, locations_.getRaw(i));
+ public java.lang.String getId() {
+ java.lang.Object ref = id_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ id_ = s;
+ return s;
}
- if (enableKubernetesAlpha_ != false) {
- output.writeBool(14, enableKubernetesAlpha_);
+ }
+ /**
+ *
+ *
+ *
+ * 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() {
+ 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);
+ id_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * 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;
+ */
+ @java.lang.Override
+ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder() {
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * Logging configuration for the cluster.
+ *
+ *
+ * .google.container.v1.LoggingConfig logging_config = 132;
+ */
+ @java.lang.Override
+ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() {
+ return getLoggingConfig();
+ }
+
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * Monitoring configuration for the cluster.
+ *
+ *
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
+ */
+ @java.lang.Override
+ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() {
+ return getMonitoringConfig();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
+ }
+ if (initialNodeCount_ != 0) {
+ output.writeInt32(3, initialNodeCount_);
+ }
+ if (nodeConfig_ != null) {
+ output.writeMessage(4, getNodeConfig());
+ }
+ if (masterAuth_ != null) {
+ output.writeMessage(5, getMasterAuth());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggingService_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, loggingService_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoringService_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, monitoringService_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, network_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4Cidr_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clusterIpv4Cidr_);
+ }
+ if (addonsConfig_ != null) {
+ output.writeMessage(10, getAddonsConfig());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, subnetwork_);
+ }
+ for (int i = 0; i < nodePools_.size(); i++) {
+ output.writeMessage(12, nodePools_.get(i));
+ }
+ for (int i = 0; i < locations_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, locations_.getRaw(i));
+ }
+ if (enableKubernetesAlpha_ != false) {
+ output.writeBool(14, enableKubernetesAlpha_);
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 15);
@@ -3762,6 +4273,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (workloadIdentityConfig_ != null) {
output.writeMessage(43, getWorkloadIdentityConfig());
}
+ if (notificationConfig_ != null) {
+ output.writeMessage(49, getNotificationConfig());
+ }
+ if (confidentialNodes_ != null) {
+ output.writeMessage(50, getConfidentialNodes());
+ }
+ if (meshCertificates_ != null) {
+ output.writeMessage(67, getMeshCertificates());
+ }
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 100, selfLink_);
}
@@ -3816,6 +4336,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < conditions_.size(); i++) {
output.writeMessage(118, conditions_.get(i));
}
+ if (autopilot_ != null) {
+ output.writeMessage(128, getAutopilot());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 129, id_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(131, getNodePoolDefaults());
+ }
+ if (loggingConfig_ != null) {
+ output.writeMessage(132, getLoggingConfig());
+ }
+ if (monitoringConfig_ != null) {
+ output.writeMessage(133, getMonitoringConfig());
+ }
unknownFields.writeTo(output);
}
@@ -3948,6 +4483,15 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(43, getWorkloadIdentityConfig());
}
+ if (notificationConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(49, getNotificationConfig());
+ }
+ if (confidentialNodes_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getConfidentialNodes());
+ }
+ if (meshCertificates_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(67, getMeshCertificates());
+ }
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_);
}
@@ -4007,6 +4551,21 @@ public int getSerializedSize() {
for (int i = 0; i < conditions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(118, conditions_.get(i));
}
+ if (autopilot_ != null) {
+ 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());
+ }
+ if (loggingConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(132, getLoggingConfig());
+ }
+ if (monitoringConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -4119,6 +4678,18 @@ public boolean equals(final java.lang.Object obj) {
if (hasWorkloadIdentityConfig()) {
if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false;
}
+ if (hasMeshCertificates() != other.hasMeshCertificates()) return false;
+ if (hasMeshCertificates()) {
+ if (!getMeshCertificates().equals(other.getMeshCertificates())) return false;
+ }
+ if (hasNotificationConfig() != other.hasNotificationConfig()) return false;
+ if (hasNotificationConfig()) {
+ if (!getNotificationConfig().equals(other.getNotificationConfig())) return false;
+ }
+ if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
+ if (hasConfidentialNodes()) {
+ if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
+ }
if (!getSelfLink().equals(other.getSelfLink())) return false;
if (!getZone().equals(other.getZone())) return false;
if (!getEndpoint().equals(other.getEndpoint())) return false;
@@ -4137,6 +4708,23 @@ public boolean equals(final java.lang.Object obj) {
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 (!getId().equals(other.getId())) return false;
+ if (hasNodePoolDefaults() != other.hasNodePoolDefaults()) return false;
+ if (hasNodePoolDefaults()) {
+ if (!getNodePoolDefaults().equals(other.getNodePoolDefaults())) return false;
+ }
+ if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
+ if (hasLoggingConfig()) {
+ if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
+ }
+ if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false;
+ if (hasMonitoringConfig()) {
+ if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -4260,6 +4848,18 @@ public int hashCode() {
hash = (37 * hash) + WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getWorkloadIdentityConfig().hashCode();
}
+ if (hasMeshCertificates()) {
+ hash = (37 * hash) + MESH_CERTIFICATES_FIELD_NUMBER;
+ hash = (53 * hash) + getMeshCertificates().hashCode();
+ }
+ if (hasNotificationConfig()) {
+ hash = (37 * hash) + NOTIFICATION_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getNotificationConfig().hashCode();
+ }
+ if (hasConfidentialNodes()) {
+ hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER;
+ hash = (53 * hash) + getConfidentialNodes().hashCode();
+ }
hash = (37 * hash) + SELF_LINK_FIELD_NUMBER;
hash = (53 * hash) + getSelfLink().hashCode();
hash = (37 * hash) + ZONE_FIELD_NUMBER;
@@ -4300,6 +4900,24 @@ public int hashCode() {
hash = (37 * hash) + CONDITIONS_FIELD_NUMBER;
hash = (53 * hash) + getConditionsList().hashCode();
}
+ if (hasAutopilot()) {
+ hash = (37 * hash) + AUTOPILOT_FIELD_NUMBER;
+ hash = (53 * hash) + getAutopilot().hashCode();
+ }
+ hash = (37 * hash) + ID_FIELD_NUMBER;
+ hash = (53 * hash) + getId().hashCode();
+ if (hasNodePoolDefaults()) {
+ hash = (37 * hash) + NODE_POOL_DEFAULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getNodePoolDefaults().hashCode();
+ }
+ if (hasLoggingConfig()) {
+ hash = (37 * hash) + LOGGING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getLoggingConfig().hashCode();
+ }
+ if (hasMonitoringConfig()) {
+ hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getMonitoringConfig().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -4460,6 +5078,7 @@ private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getNodePoolsFieldBuilder();
getConditionsFieldBuilder();
+ getNodePoolDefaultsFieldBuilder();
}
}
@@ -4615,6 +5234,24 @@ public Builder clear() {
workloadIdentityConfig_ = null;
workloadIdentityConfigBuilder_ = null;
}
+ if (meshCertificatesBuilder_ == null) {
+ meshCertificates_ = null;
+ } else {
+ meshCertificates_ = null;
+ meshCertificatesBuilder_ = null;
+ }
+ if (notificationConfigBuilder_ == null) {
+ notificationConfig_ = null;
+ } else {
+ notificationConfig_ = null;
+ notificationConfigBuilder_ = null;
+ }
+ if (confidentialNodesBuilder_ == null) {
+ confidentialNodes_ = null;
+ } else {
+ confidentialNodes_ = null;
+ confidentialNodesBuilder_ = null;
+ }
selfLink_ = "";
zone_ = "";
@@ -4655,6 +5292,32 @@ public Builder clear() {
} else {
conditionsBuilder_.clear();
}
+ if (autopilotBuilder_ == null) {
+ autopilot_ = null;
+ } else {
+ autopilot_ = null;
+ autopilotBuilder_ = null;
+ }
+ id_ = "";
+
+ if (nodePoolDefaultsBuilder_ == null) {
+ nodePoolDefaults_ = null;
+ } else {
+ nodePoolDefaultsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
+ if (loggingConfigBuilder_ == null) {
+ loggingConfig_ = null;
+ } else {
+ loggingConfig_ = null;
+ loggingConfigBuilder_ = null;
+ }
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfig_ = null;
+ } else {
+ monitoringConfig_ = null;
+ monitoringConfigBuilder_ = null;
+ }
return this;
}
@@ -4682,6 +5345,7 @@ public com.google.container.v1.Cluster build() {
public com.google.container.v1.Cluster buildPartial() {
com.google.container.v1.Cluster result = new com.google.container.v1.Cluster(this);
int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
result.name_ = name_;
result.description_ = description_;
result.initialNodeCount_ = initialNodeCount_;
@@ -4808,6 +5472,21 @@ public com.google.container.v1.Cluster buildPartial() {
} else {
result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_.build();
}
+ if (meshCertificatesBuilder_ == null) {
+ result.meshCertificates_ = meshCertificates_;
+ } else {
+ result.meshCertificates_ = meshCertificatesBuilder_.build();
+ }
+ if (notificationConfigBuilder_ == null) {
+ result.notificationConfig_ = notificationConfig_;
+ } else {
+ result.notificationConfig_ = notificationConfigBuilder_.build();
+ }
+ if (confidentialNodesBuilder_ == null) {
+ result.confidentialNodes_ = confidentialNodes_;
+ } else {
+ result.confidentialNodes_ = confidentialNodesBuilder_.build();
+ }
result.selfLink_ = selfLink_;
result.zone_ = zone_;
result.endpoint_ = endpoint_;
@@ -4838,6 +5517,31 @@ public com.google.container.v1.Cluster buildPartial() {
} else {
result.conditions_ = conditionsBuilder_.build();
}
+ if (autopilotBuilder_ == null) {
+ result.autopilot_ = autopilot_;
+ } else {
+ result.autopilot_ = autopilotBuilder_.build();
+ }
+ result.id_ = id_;
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ if (nodePoolDefaultsBuilder_ == null) {
+ result.nodePoolDefaults_ = nodePoolDefaults_;
+ } else {
+ result.nodePoolDefaults_ = nodePoolDefaultsBuilder_.build();
+ }
+ to_bitField0_ |= 0x00000001;
+ }
+ if (loggingConfigBuilder_ == null) {
+ result.loggingConfig_ = loggingConfig_;
+ } else {
+ result.loggingConfig_ = loggingConfigBuilder_.build();
+ }
+ if (monitoringConfigBuilder_ == null) {
+ result.monitoringConfig_ = monitoringConfig_;
+ } else {
+ result.monitoringConfig_ = monitoringConfigBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -5023,6 +5727,15 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) {
if (other.hasWorkloadIdentityConfig()) {
mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig());
}
+ if (other.hasMeshCertificates()) {
+ mergeMeshCertificates(other.getMeshCertificates());
+ }
+ if (other.hasNotificationConfig()) {
+ mergeNotificationConfig(other.getNotificationConfig());
+ }
+ if (other.hasConfidentialNodes()) {
+ mergeConfidentialNodes(other.getConfidentialNodes());
+ }
if (!other.getSelfLink().isEmpty()) {
selfLink_ = other.selfLink_;
onChanged();
@@ -5120,6 +5833,22 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) {
}
}
}
+ if (other.hasAutopilot()) {
+ mergeAutopilot(other.getAutopilot());
+ }
+ if (!other.getId().isEmpty()) {
+ id_ = other.id_;
+ onChanged();
+ }
+ if (other.hasNodePoolDefaults()) {
+ mergeNodePoolDefaults(other.getNodePoolDefaults());
+ }
+ if (other.hasLoggingConfig()) {
+ mergeLoggingConfig(other.getLoggingConfig());
+ }
+ if (other.hasMonitoringConfig()) {
+ mergeMonitoringConfig(other.getMonitoringConfig());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -11007,644 +11736,591 @@ public Builder clearWorkloadIdentityConfig() {
return workloadIdentityConfigBuilder_;
}
- private java.lang.Object selfLink_ = "";
+ 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_;
/**
*
*
*
- * [Output only] Server-defined URL for the resource.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string self_link = 100;
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*
- * @return The selfLink.
+ * @return Whether the meshCertificates field is set.
*/
- 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;
- java.lang.String s = bs.toStringUtf8();
- selfLink_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ public boolean hasMeshCertificates() {
+ return meshCertificatesBuilder_ != null || meshCertificates_ != null;
}
/**
*
*
*
- * [Output only] Server-defined URL for the resource.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string self_link = 100;
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*
- * @return The bytes for selfLink.
+ * @return The meshCertificates.
*/
- 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);
- selfLink_ = b;
- return b;
+ public com.google.container.v1.MeshCertificates getMeshCertificates() {
+ if (meshCertificatesBuilder_ == null) {
+ return meshCertificates_ == null
+ ? com.google.container.v1.MeshCertificates.getDefaultInstance()
+ : meshCertificates_;
} else {
- return (com.google.protobuf.ByteString) ref;
+ return meshCertificatesBuilder_.getMessage();
}
}
/**
*
*
*
- * [Output only] Server-defined URL for the resource.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string self_link = 100;
- *
- * @param value The selfLink to set.
- * @return This builder for chaining.
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*/
- public Builder setSelfLink(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder setMeshCertificates(com.google.container.v1.MeshCertificates value) {
+ if (meshCertificatesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ meshCertificates_ = value;
+ onChanged();
+ } else {
+ meshCertificatesBuilder_.setMessage(value);
}
- selfLink_ = value;
- onChanged();
return this;
}
/**
*
*
*
- * [Output only] Server-defined URL for the resource.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string self_link = 100;
- *
- * @return This builder for chaining.
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*/
- public Builder clearSelfLink() {
+ public Builder setMeshCertificates(
+ com.google.container.v1.MeshCertificates.Builder builderForValue) {
+ if (meshCertificatesBuilder_ == null) {
+ meshCertificates_ = builderForValue.build();
+ onChanged();
+ } else {
+ meshCertificatesBuilder_.setMessage(builderForValue.build());
+ }
- selfLink_ = getDefaultInstance().getSelfLink();
- onChanged();
return this;
}
/**
*
*
*
- * [Output only] Server-defined URL for the resource.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string self_link = 100;
- *
- * @param value The bytes for selfLink to set.
- * @return This builder for chaining.
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*/
- public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder mergeMeshCertificates(com.google.container.v1.MeshCertificates value) {
+ if (meshCertificatesBuilder_ == null) {
+ if (meshCertificates_ != null) {
+ meshCertificates_ =
+ com.google.container.v1.MeshCertificates.newBuilder(meshCertificates_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ meshCertificates_ = value;
+ }
+ onChanged();
+ } else {
+ meshCertificatesBuilder_.mergeFrom(value);
}
- checkByteStringIsUtf8(value);
- selfLink_ = value;
- onChanged();
return this;
}
-
- 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
- * cluster resides. This field is deprecated, use location instead.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string zone = 101 [deprecated = true];
- *
- * @return The zone.
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*/
- @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;
- java.lang.String s = bs.toStringUtf8();
- zone_ = s;
- return s;
+ public Builder clearMeshCertificates() {
+ if (meshCertificatesBuilder_ == null) {
+ meshCertificates_ = null;
+ onChanged();
} else {
- return (java.lang.String) ref;
+ meshCertificates_ = null;
+ meshCertificatesBuilder_ = null;
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- * cluster resides. This field is deprecated, use location instead.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string zone = 101 [deprecated = true];
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
+ */
+ public com.google.container.v1.MeshCertificates.Builder getMeshCertificatesBuilder() {
+
+ onChanged();
+ return getMeshCertificatesFieldBuilder().getBuilder();
+ }
+ /**
*
- * @return The bytes for zone.
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*/
- @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);
- zone_ = b;
- return b;
+ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder() {
+ if (meshCertificatesBuilder_ != null) {
+ return meshCertificatesBuilder_.getMessageOrBuilder();
} else {
- return (com.google.protobuf.ByteString) ref;
+ return meshCertificates_ == null
+ ? com.google.container.v1.MeshCertificates.getDefaultInstance()
+ : meshCertificates_;
}
}
/**
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- * cluster resides. This field is deprecated, use location instead.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * string zone = 101 [deprecated = true];
- *
- * @param value The zone to set.
- * @return This builder for chaining.
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
*/
- @java.lang.Deprecated
- public Builder setZone(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ meshCertificates_ = null;
}
-
- zone_ = value;
- onChanged();
- return this;
+ return meshCertificatesBuilder_;
}
+
+ 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_;
/**
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- * cluster resides. This field is deprecated, use location instead.
+ * Notification configuration of the cluster.
*
*
- * string zone = 101 [deprecated = true];
+ * .google.container.v1.NotificationConfig notification_config = 49;
*
- * @return This builder for chaining.
+ * @return Whether the notificationConfig field is set.
*/
- @java.lang.Deprecated
- public Builder clearZone() {
-
- zone_ = getDefaultInstance().getZone();
- onChanged();
- return this;
+ public boolean hasNotificationConfig() {
+ return notificationConfigBuilder_ != null || notificationConfig_ != null;
}
/**
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- * cluster resides. This field is deprecated, use location instead.
+ * Notification configuration of the cluster.
*
*
- * string zone = 101 [deprecated = true];
+ * .google.container.v1.NotificationConfig notification_config = 49;
*
- * @param value The bytes for zone to set.
- * @return This builder for chaining.
+ * @return The notificationConfig.
*/
- @java.lang.Deprecated
- public Builder setZoneBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ public com.google.container.v1.NotificationConfig getNotificationConfig() {
+ if (notificationConfigBuilder_ == null) {
+ return notificationConfig_ == null
+ ? com.google.container.v1.NotificationConfig.getDefaultInstance()
+ : notificationConfig_;
+ } else {
+ return notificationConfigBuilder_.getMessage();
}
- checkByteStringIsUtf8(value);
-
- zone_ = value;
- onChanged();
- return this;
}
-
- 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
- * `https://username:password@endpoint/`.
- * See the `masterAuth` property of this resource for username and
- * password information.
+ * Notification configuration of the cluster.
*
*
- * string endpoint = 102;
- *
- * @return The endpoint.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- public java.lang.String getEndpoint() {
- java.lang.Object ref = endpoint_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- endpoint_ = s;
- return s;
+ public Builder setNotificationConfig(com.google.container.v1.NotificationConfig value) {
+ if (notificationConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ notificationConfig_ = value;
+ onChanged();
} else {
- return (java.lang.String) ref;
+ notificationConfigBuilder_.setMessage(value);
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The IP address of this cluster's master endpoint.
- * The endpoint can be accessed from the internet at
- * `https://username:password@endpoint/`.
- * See the `masterAuth` property of this resource for username and
- * password information.
+ * Notification configuration of the cluster.
*
*
- * string endpoint = 102;
- *
- * @return The bytes for endpoint.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- public com.google.protobuf.ByteString getEndpointBytes() {
- java.lang.Object ref = endpoint_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- endpoint_ = b;
- return b;
+ public Builder setNotificationConfig(
+ com.google.container.v1.NotificationConfig.Builder builderForValue) {
+ if (notificationConfigBuilder_ == null) {
+ notificationConfig_ = builderForValue.build();
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ notificationConfigBuilder_.setMessage(builderForValue.build());
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The IP address of this cluster's master endpoint.
- * The endpoint can be accessed from the internet at
- * `https://username:password@endpoint/`.
- * See the `masterAuth` property of this resource for username and
- * password information.
+ * Notification configuration of the cluster.
*
*
- * string endpoint = 102;
- *
- * @param value The endpoint to set.
- * @return This builder for chaining.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- public Builder setEndpoint(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder mergeNotificationConfig(com.google.container.v1.NotificationConfig value) {
+ if (notificationConfigBuilder_ == null) {
+ if (notificationConfig_ != null) {
+ notificationConfig_ =
+ com.google.container.v1.NotificationConfig.newBuilder(notificationConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ notificationConfig_ = value;
+ }
+ onChanged();
+ } else {
+ notificationConfigBuilder_.mergeFrom(value);
}
- 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
- * `https://username:password@endpoint/`.
- * See the `masterAuth` property of this resource for username and
- * password information.
+ * Notification configuration of the cluster.
*
*
- * string endpoint = 102;
- *
- * @return This builder for chaining.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- public Builder clearEndpoint() {
+ public Builder clearNotificationConfig() {
+ if (notificationConfigBuilder_ == null) {
+ notificationConfig_ = null;
+ onChanged();
+ } else {
+ notificationConfig_ = null;
+ notificationConfigBuilder_ = null;
+ }
- 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
- * `https://username:password@endpoint/`.
- * See the `masterAuth` property of this resource for username and
- * password information.
+ * Notification configuration of the cluster.
*
*
- * string endpoint = 102;
- *
- * @param value The bytes for endpoint to set.
- * @return This builder for chaining.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
+ public com.google.container.v1.NotificationConfig.Builder getNotificationConfigBuilder() {
- endpoint_ = value;
onChanged();
- return this;
+ return getNotificationConfigFieldBuilder().getBuilder();
}
-
- 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
- * be upgraded over time; such upgrades are reflected in
- * currentMasterVersion and currentNodeVersion.
- * Users may specify either explicit versions offered by
- * Kubernetes Engine or version aliases, which have the following behavior:
- * - "latest": picks the highest valid Kubernetes version
- * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- * - "1.X.Y-gke.N": picks an explicit Kubernetes version
- * - "","-": picks the default Kubernetes version
+ * Notification configuration of the cluster.
*
*
- * string initial_cluster_version = 103;
- *
- * @return The initialClusterVersion.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- 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;
- java.lang.String s = bs.toStringUtf8();
- initialClusterVersion_ = s;
- return s;
+ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder() {
+ if (notificationConfigBuilder_ != null) {
+ return notificationConfigBuilder_.getMessageOrBuilder();
} else {
- return (java.lang.String) ref;
+ return notificationConfig_ == null
+ ? com.google.container.v1.NotificationConfig.getDefaultInstance()
+ : notificationConfig_;
}
}
/**
*
*
*
- * The initial Kubernetes version for this cluster. Valid versions are those
- * found in validMasterVersions returned by getServerConfig. The version can
- * be upgraded over time; such upgrades are reflected in
- * currentMasterVersion and currentNodeVersion.
- * Users may specify either explicit versions offered by
- * Kubernetes Engine or version aliases, which have the following behavior:
- * - "latest": picks the highest valid Kubernetes version
- * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- * - "1.X.Y-gke.N": picks an explicit Kubernetes version
- * - "","-": picks the default Kubernetes version
+ * Notification configuration of the cluster.
*
*
- * string initial_cluster_version = 103;
- *
- * @return The bytes for initialClusterVersion.
+ * .google.container.v1.NotificationConfig notification_config = 49;
*/
- 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);
- initialClusterVersion_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ notificationConfig_ = null;
}
+ return notificationConfigBuilder_;
}
+
+ 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_;
/**
*
*
*
- * The initial Kubernetes version for this cluster. Valid versions are those
- * found in validMasterVersions returned by getServerConfig. The version can
- * be upgraded over time; such upgrades are reflected in
- * currentMasterVersion and currentNodeVersion.
- * Users may specify either explicit versions offered by
- * Kubernetes Engine or version aliases, which have the following behavior:
- * - "latest": picks the highest valid Kubernetes version
- * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- * - "1.X.Y-gke.N": picks an explicit Kubernetes version
- * - "","-": picks the default Kubernetes version
+ * Configuration of Confidential Nodes
*
*
- * string initial_cluster_version = 103;
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*
- * @param value The initialClusterVersion to set.
- * @return This builder for chaining.
+ * @return Whether the confidentialNodes field is set.
*/
- public Builder setInitialClusterVersion(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- initialClusterVersion_ = value;
- onChanged();
- return this;
+ public boolean hasConfidentialNodes() {
+ return confidentialNodesBuilder_ != null || confidentialNodes_ != null;
}
/**
*
*
*
- * The initial Kubernetes version for this cluster. Valid versions are those
- * found in validMasterVersions returned by getServerConfig. The version can
- * be upgraded over time; such upgrades are reflected in
- * currentMasterVersion and currentNodeVersion.
- * Users may specify either explicit versions offered by
- * Kubernetes Engine or version aliases, which have the following behavior:
- * - "latest": picks the highest valid Kubernetes version
- * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- * - "1.X.Y-gke.N": picks an explicit Kubernetes version
- * - "","-": picks the default Kubernetes version
+ * Configuration of Confidential Nodes
*
*
- * string initial_cluster_version = 103;
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*
- * @return This builder for chaining.
+ * @return The confidentialNodes.
*/
- public Builder clearInitialClusterVersion() {
-
- initialClusterVersion_ = getDefaultInstance().getInitialClusterVersion();
- onChanged();
- return this;
+ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() {
+ if (confidentialNodesBuilder_ == null) {
+ return confidentialNodes_ == null
+ ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
+ : confidentialNodes_;
+ } else {
+ return confidentialNodesBuilder_.getMessage();
+ }
}
/**
*
*
*
- * The initial Kubernetes version for this cluster. Valid versions are those
- * found in validMasterVersions returned by getServerConfig. The version can
- * be upgraded over time; such upgrades are reflected in
- * currentMasterVersion and currentNodeVersion.
- * Users may specify either explicit versions offered by
- * Kubernetes Engine or version aliases, which have the following behavior:
- * - "latest": picks the highest valid Kubernetes version
- * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- * - "1.X.Y-gke.N": picks an explicit Kubernetes version
- * - "","-": picks the default Kubernetes version
+ * Configuration of Confidential Nodes
*
*
- * string initial_cluster_version = 103;
- *
- * @param value The bytes for initialClusterVersion to set.
- * @return This builder for chaining.
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*/
- public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes value) {
+ if (confidentialNodesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ confidentialNodes_ = value;
+ onChanged();
+ } else {
+ confidentialNodesBuilder_.setMessage(value);
}
- checkByteStringIsUtf8(value);
- initialClusterVersion_ = value;
- onChanged();
return this;
}
-
- private java.lang.Object currentMasterVersion_ = "";
/**
*
*
*
- * [Output only] The current software version of the master endpoint.
+ * Configuration of Confidential Nodes
*
*
- * string current_master_version = 104;
- *
- * @return The currentMasterVersion.
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*/
- 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;
- java.lang.String s = bs.toStringUtf8();
- currentMasterVersion_ = s;
- return s;
+ public Builder setConfidentialNodes(
+ com.google.container.v1.ConfidentialNodes.Builder builderForValue) {
+ if (confidentialNodesBuilder_ == null) {
+ confidentialNodes_ = builderForValue.build();
+ onChanged();
} else {
- return (java.lang.String) ref;
+ confidentialNodesBuilder_.setMessage(builderForValue.build());
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The current software version of the master endpoint.
+ * Configuration of Confidential Nodes
*
*
- * string current_master_version = 104;
- *
- * @return The bytes for currentMasterVersion.
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*/
- 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);
- currentMasterVersion_ = b;
- return b;
+ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes value) {
+ if (confidentialNodesBuilder_ == null) {
+ if (confidentialNodes_ != null) {
+ confidentialNodes_ =
+ com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ confidentialNodes_ = value;
+ }
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ confidentialNodesBuilder_.mergeFrom(value);
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The current software version of the master endpoint.
+ * Configuration of Confidential Nodes
*
*
- * string current_master_version = 104;
- *
- * @param value The currentMasterVersion to set.
- * @return This builder for chaining.
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*/
- public Builder setCurrentMasterVersion(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ public Builder clearConfidentialNodes() {
+ if (confidentialNodesBuilder_ == null) {
+ confidentialNodes_ = null;
+ onChanged();
+ } else {
+ confidentialNodes_ = null;
+ confidentialNodesBuilder_ = null;
}
- currentMasterVersion_ = value;
- onChanged();
return this;
}
/**
*
*
*
- * [Output only] The current software version of the master endpoint.
+ * Configuration of Confidential Nodes
*
*
- * string current_master_version = 104;
- *
- * @return This builder for chaining.
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*/
- public Builder clearCurrentMasterVersion() {
+ public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
- currentMasterVersion_ = getDefaultInstance().getCurrentMasterVersion();
onChanged();
- return this;
+ return getConfidentialNodesFieldBuilder().getBuilder();
}
/**
*
*
*
- * [Output only] The current software version of the master endpoint.
+ * Configuration of Confidential Nodes
*
*
- * string current_master_version = 104;
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
+ */
+ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder() {
+ if (confidentialNodesBuilder_ != null) {
+ return confidentialNodesBuilder_.getMessageOrBuilder();
+ } else {
+ return confidentialNodes_ == null
+ ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
+ : confidentialNodes_;
+ }
+ }
+ /**
*
- * @param value The bytes for currentMasterVersion to set.
- * @return This builder for chaining.
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
*/
- public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ confidentialNodes_ = null;
}
- checkByteStringIsUtf8(value);
-
- currentMasterVersion_ = value;
- onChanged();
- return this;
+ return confidentialNodesBuilder_;
}
- private java.lang.Object currentNodeVersion_ = "";
+ private java.lang.Object selfLink_ = "";
/**
*
*
*
- * [Output only] Deprecated, use
- * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
- * instead. The current version of the node software components. If they are
- * currently at multiple versions because they're in the process of being
- * upgraded, this reflects the minimum version of all nodes.
+ * [Output only] Server-defined URL for the resource.
*
*
- * string current_node_version = 105 [deprecated = true];
+ * string self_link = 100;
*
- * @return The currentNodeVersion.
+ * @return The selfLink.
*/
- @java.lang.Deprecated
- public java.lang.String getCurrentNodeVersion() {
- java.lang.Object ref = currentNodeVersion_;
+ 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;
java.lang.String s = bs.toStringUtf8();
- currentNodeVersion_ = s;
+ selfLink_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -11654,24 +12330,19 @@ 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)
- * instead. The current version of the node software components. If they are
- * currently at multiple versions because they're in the process of being
- * upgraded, this reflects the minimum version of all nodes.
+ * [Output only] Server-defined URL for the resource.
*
*
- * string current_node_version = 105 [deprecated = true];
+ * string self_link = 100;
*
- * @return The bytes for currentNodeVersion.
+ * @return The bytes for selfLink.
*/
- @java.lang.Deprecated
- public com.google.protobuf.ByteString getCurrentNodeVersionBytes() {
- java.lang.Object ref = currentNodeVersion_;
+ 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);
- currentNodeVersion_ = b;
+ selfLink_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -11681,25 +12352,20 @@ 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)
- * instead. The current version of the node software components. If they are
- * currently at multiple versions because they're in the process of being
- * upgraded, this reflects the minimum version of all nodes.
+ * [Output only] Server-defined URL for the resource.
*
*
- * string current_node_version = 105 [deprecated = true];
+ * string self_link = 100;
*
- * @param value The currentNodeVersion to set.
+ * @param value The selfLink to set.
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder setCurrentNodeVersion(java.lang.String value) {
+ public Builder setSelfLink(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- currentNodeVersion_ = value;
+ selfLink_ = value;
onChanged();
return this;
}
@@ -11707,21 +12373,16 @@ public Builder setCurrentNodeVersion(java.lang.String value) {
*
*
*
- * [Output only] Deprecated, use
- * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
- * instead. The current version of the node software components. If they are
- * currently at multiple versions because they're in the process of being
- * upgraded, this reflects the minimum version of all nodes.
+ * [Output only] Server-defined URL for the resource.
*
*
- * string current_node_version = 105 [deprecated = true];
+ * string self_link = 100;
*
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder clearCurrentNodeVersion() {
+ public Builder clearSelfLink() {
- currentNodeVersion_ = getDefaultInstance().getCurrentNodeVersion();
+ selfLink_ = getDefaultInstance().getSelfLink();
onChanged();
return this;
}
@@ -11729,49 +12390,46 @@ public Builder clearCurrentNodeVersion() {
*
*
*
- * [Output only] Deprecated, use
- * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
- * instead. The current version of the node software components. If they are
- * currently at multiple versions because they're in the process of being
- * upgraded, this reflects the minimum version of all nodes.
+ * [Output only] Server-defined URL for the resource.
*
*
- * string current_node_version = 105 [deprecated = true];
+ * string self_link = 100;
*
- * @param value The bytes for currentNodeVersion to set.
+ * @param value The bytes for selfLink to set.
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) {
+ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- currentNodeVersion_ = value;
+ selfLink_ = value;
onChanged();
return this;
}
- private java.lang.Object createTime_ = "";
+ private java.lang.Object zone_ = "";
/**
*
*
*
- * [Output only] The time the cluster was created, in
- * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ * cluster resides. This field is deprecated, use location instead.
*
*
- * string create_time = 106;
+ * string zone = 101 [deprecated = true];
*
- * @return The createTime.
+ * @return The zone.
*/
- public java.lang.String getCreateTime() {
- java.lang.Object ref = createTime_;
+ @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;
java.lang.String s = bs.toStringUtf8();
- createTime_ = s;
+ zone_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -11781,20 +12439,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.
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ * cluster resides. This field is deprecated, use location instead.
*
*
- * string create_time = 106;
+ * string zone = 101 [deprecated = true];
*
- * @return The bytes for createTime.
+ * @return The bytes for zone.
*/
- public com.google.protobuf.ByteString getCreateTimeBytes() {
- java.lang.Object ref = createTime_;
+ @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);
- createTime_ = b;
+ zone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -11804,21 +12464,23 @@ 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.
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ * cluster resides. This field is deprecated, use location instead.
*
*
- * string create_time = 106;
+ * string zone = 101 [deprecated = true];
*
- * @param value The createTime to set.
+ * @param value The zone to set.
* @return This builder for chaining.
*/
- public Builder setCreateTime(java.lang.String value) {
+ @java.lang.Deprecated
+ public Builder setZone(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- createTime_ = value;
+ zone_ = value;
onChanged();
return this;
}
@@ -11826,17 +12488,19 @@ public Builder setCreateTime(java.lang.String value) {
*
*
*
- * [Output only] The time the cluster was created, in
- * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ * cluster resides. This field is deprecated, use location instead.
*
*
- * string create_time = 106;
+ * string zone = 101 [deprecated = true];
*
* @return This builder for chaining.
*/
- public Builder clearCreateTime() {
+ @java.lang.Deprecated
+ public Builder clearZone() {
- createTime_ = getDefaultInstance().getCreateTime();
+ zone_ = getDefaultInstance().getZone();
onChanged();
return this;
}
@@ -11844,96 +12508,124 @@ public Builder clearCreateTime() {
*
*
*
- * [Output only] The time the cluster was created, in
- * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ * cluster resides. This field is deprecated, use location instead.
*
*
- * string create_time = 106;
+ * string zone = 101 [deprecated = true];
*
- * @param value The bytes for createTime to set.
+ * @param value The bytes for zone to set.
* @return This builder for chaining.
*/
- public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) {
+ @java.lang.Deprecated
+ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- createTime_ = value;
+ zone_ = value;
onChanged();
return this;
}
- private int status_ = 0;
+ private java.lang.Object endpoint_ = "";
/**
*
*
*
- * [Output only] The current status of this cluster.
+ * [Output only] The IP address of this cluster's master endpoint.
+ * The endpoint can be accessed from the internet at
+ * `https://username:password@endpoint/`.
+ * See the `masterAuth` property of this resource for username and
+ * password information.
*
*
- * .google.container.v1.Cluster.Status status = 107;
+ * string endpoint = 102;
*
- * @return The enum numeric value on the wire for status.
+ * @return The endpoint.
*/
- @java.lang.Override
- public int getStatusValue() {
- return status_;
+ public java.lang.String getEndpoint() {
+ java.lang.Object ref = endpoint_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ endpoint_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
*
*
*
- * [Output only] The current status of this cluster.
+ * [Output only] The IP address of this cluster's master endpoint.
+ * The endpoint can be accessed from the internet at
+ * `https://username:password@endpoint/`.
+ * See the `masterAuth` property of this resource for username and
+ * password information.
*
*
- * .google.container.v1.Cluster.Status status = 107;
+ * string endpoint = 102;
*
- * @param value The enum numeric value on the wire for status to set.
- * @return This builder for chaining.
+ * @return The bytes for endpoint.
*/
- public Builder setStatusValue(int value) {
-
- status_ = value;
- onChanged();
- return this;
+ public com.google.protobuf.ByteString getEndpointBytes() {
+ java.lang.Object ref = endpoint_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endpoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
/**
*
*
*
- * [Output only] The current status of this cluster.
+ * [Output only] The IP address of this cluster's master endpoint.
+ * The endpoint can be accessed from the internet at
+ * `https://username:password@endpoint/`.
+ * See the `masterAuth` property of this resource for username and
+ * password information.
*
*
- * .google.container.v1.Cluster.Status status = 107;
+ * string endpoint = 102;
*
- * @return The status.
+ * @param value The endpoint to set.
+ * @return This builder for chaining.
*/
- @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_);
- return result == null ? com.google.container.v1.Cluster.Status.UNRECOGNIZED : result;
+ public Builder setEndpoint(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ endpoint_ = value;
+ onChanged();
+ return this;
}
/**
*
*
*
- * [Output only] The current status of this cluster.
+ * [Output only] The IP address of this cluster's master endpoint.
+ * The endpoint can be accessed from the internet at
+ * `https://username:password@endpoint/`.
+ * See the `masterAuth` property of this resource for username and
+ * password information.
*
*
- * .google.container.v1.Cluster.Status status = 107;
+ * string endpoint = 102;
*
- * @param value The status to set.
* @return This builder for chaining.
*/
- public Builder setStatus(com.google.container.v1.Cluster.Status value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ public Builder clearEndpoint() {
- status_ = value.getNumber();
+ endpoint_ = getDefaultInstance().getEndpoint();
onChanged();
return this;
}
@@ -11941,41 +12633,57 @@ public Builder setStatus(com.google.container.v1.Cluster.Status value) {
*
*
*
- * [Output only] The current status of this cluster.
+ * [Output only] The IP address of this cluster's master endpoint.
+ * The endpoint can be accessed from the internet at
+ * `https://username:password@endpoint/`.
+ * See the `masterAuth` property of this resource for username and
+ * password information.
*
*
- * .google.container.v1.Cluster.Status status = 107;
+ * string endpoint = 102;
*
+ * @param value The bytes for endpoint to set.
* @return This builder for chaining.
*/
- public Builder clearStatus() {
+ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
- status_ = 0;
+ endpoint_ = value;
onChanged();
return this;
}
- private java.lang.Object statusMessage_ = "";
+ private java.lang.Object initialClusterVersion_ = "";
/**
*
*
*
- * [Output only] Deprecated. Use conditions instead.
- * Additional information about the current status of this
- * cluster, if available.
+ * The initial Kubernetes version for this cluster. Valid versions are those
+ * found in validMasterVersions returned by getServerConfig. The version can
+ * be upgraded over time; such upgrades are reflected in
+ * currentMasterVersion and currentNodeVersion.
+ * Users may specify either explicit versions offered by
+ * Kubernetes Engine or version aliases, which have the following behavior:
+ * - "latest": picks the highest valid Kubernetes version
+ * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
+ * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
+ * - "1.X.Y-gke.N": picks an explicit Kubernetes version
+ * - "","-": picks the default Kubernetes version
*
*
- * string status_message = 108 [deprecated = true];
+ * string initial_cluster_version = 103;
*
- * @return The statusMessage.
+ * @return The initialClusterVersion.
*/
- @java.lang.Deprecated
- public java.lang.String getStatusMessage() {
- java.lang.Object ref = statusMessage_;
+ 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;
java.lang.String s = bs.toStringUtf8();
- statusMessage_ = s;
+ initialClusterVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -11985,22 +12693,29 @@ public java.lang.String getStatusMessage() {
*
*
*
- * [Output only] Deprecated. Use conditions instead.
- * Additional information about the current status of this
- * cluster, if available.
+ * The initial Kubernetes version for this cluster. Valid versions are those
+ * found in validMasterVersions returned by getServerConfig. The version can
+ * be upgraded over time; such upgrades are reflected in
+ * currentMasterVersion and currentNodeVersion.
+ * Users may specify either explicit versions offered by
+ * Kubernetes Engine or version aliases, which have the following behavior:
+ * - "latest": picks the highest valid Kubernetes version
+ * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
+ * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
+ * - "1.X.Y-gke.N": picks an explicit Kubernetes version
+ * - "","-": picks the default Kubernetes version
*
*
- * string status_message = 108 [deprecated = true];
+ * string initial_cluster_version = 103;
*
- * @return The bytes for statusMessage.
+ * @return The bytes for initialClusterVersion.
*/
- @java.lang.Deprecated
- public com.google.protobuf.ByteString getStatusMessageBytes() {
- java.lang.Object ref = statusMessage_;
+ 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);
- statusMessage_ = b;
+ initialClusterVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -12010,23 +12725,30 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
*
*
*
- * [Output only] Deprecated. Use conditions instead.
- * Additional information about the current status of this
- * cluster, if available.
+ * The initial Kubernetes version for this cluster. Valid versions are those
+ * found in validMasterVersions returned by getServerConfig. The version can
+ * be upgraded over time; such upgrades are reflected in
+ * currentMasterVersion and currentNodeVersion.
+ * Users may specify either explicit versions offered by
+ * Kubernetes Engine or version aliases, which have the following behavior:
+ * - "latest": picks the highest valid Kubernetes version
+ * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
+ * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
+ * - "1.X.Y-gke.N": picks an explicit Kubernetes version
+ * - "","-": picks the default Kubernetes version
*
*
- * string status_message = 108 [deprecated = true];
+ * string initial_cluster_version = 103;
*
- * @param value The statusMessage to set.
+ * @param value The initialClusterVersion to set.
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder setStatusMessage(java.lang.String value) {
+ public Builder setInitialClusterVersion(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- statusMessage_ = value;
+ initialClusterVersion_ = value;
onChanged();
return this;
}
@@ -12034,19 +12756,26 @@ public Builder setStatusMessage(java.lang.String value) {
*
*
*
- * [Output only] Deprecated. Use conditions instead.
- * Additional information about the current status of this
- * cluster, if available.
+ * The initial Kubernetes version for this cluster. Valid versions are those
+ * found in validMasterVersions returned by getServerConfig. The version can
+ * be upgraded over time; such upgrades are reflected in
+ * currentMasterVersion and currentNodeVersion.
+ * Users may specify either explicit versions offered by
+ * Kubernetes Engine or version aliases, which have the following behavior:
+ * - "latest": picks the highest valid Kubernetes version
+ * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
+ * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
+ * - "1.X.Y-gke.N": picks an explicit Kubernetes version
+ * - "","-": picks the default Kubernetes version
*
*
- * string status_message = 108 [deprecated = true];
+ * string initial_cluster_version = 103;
*
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder clearStatusMessage() {
+ public Builder clearInitialClusterVersion() {
- statusMessage_ = getDefaultInstance().getStatusMessage();
+ initialClusterVersion_ = getDefaultInstance().getInitialClusterVersion();
onChanged();
return this;
}
@@ -12054,65 +12783,98 @@ public Builder clearStatusMessage() {
*
*
*
- * [Output only] Deprecated. Use conditions instead.
- * Additional information about the current status of this
- * cluster, if available.
+ * The initial Kubernetes version for this cluster. Valid versions are those
+ * found in validMasterVersions returned by getServerConfig. The version can
+ * be upgraded over time; such upgrades are reflected in
+ * currentMasterVersion and currentNodeVersion.
+ * Users may specify either explicit versions offered by
+ * Kubernetes Engine or version aliases, which have the following behavior:
+ * - "latest": picks the highest valid Kubernetes version
+ * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
+ * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
+ * - "1.X.Y-gke.N": picks an explicit Kubernetes version
+ * - "","-": picks the default Kubernetes version
*
*
- * string status_message = 108 [deprecated = true];
+ * string initial_cluster_version = 103;
*
- * @param value The bytes for statusMessage to set.
+ * @param value The bytes for initialClusterVersion to set.
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
+ public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- statusMessage_ = value;
+ initialClusterVersion_ = value;
onChanged();
return this;
}
- private int nodeIpv4CidrSize_;
+ private java.lang.Object currentMasterVersion_ = "";
/**
*
*
*
- * [Output only] The size of the address space on each node for hosting
- * containers. This is provisioned from within the `container_ipv4_cidr`
- * range. This field will only be set when cluster is in route-based network
- * mode.
+ * [Output only] The current software version of the master endpoint.
*
*
- * int32 node_ipv4_cidr_size = 109;
+ * string current_master_version = 104;
*
- * @return The nodeIpv4CidrSize.
+ * @return The currentMasterVersion.
*/
- @java.lang.Override
- public int getNodeIpv4CidrSize() {
- return nodeIpv4CidrSize_;
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ currentMasterVersion_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
*
*
*
- * [Output only] The size of the address space on each node for hosting
- * containers. This is provisioned from within the `container_ipv4_cidr`
- * range. This field will only be set when cluster is in route-based network
- * mode.
+ * [Output only] The current software version of the master endpoint.
*
*
- * int32 node_ipv4_cidr_size = 109;
+ * string current_master_version = 104;
*
- * @param value The nodeIpv4CidrSize to set.
+ * @return The bytes for currentMasterVersion.
+ */
+ 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);
+ currentMasterVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [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 setNodeIpv4CidrSize(int value) {
+ public Builder setCurrentMasterVersion(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
- nodeIpv4CidrSize_ = value;
+ currentMasterVersion_ = value;
onChanged();
return this;
}
@@ -12120,45 +12882,65 @@ public Builder setNodeIpv4CidrSize(int value) {
*
*
*
- * [Output only] The size of the address space on each node for hosting
- * containers. This is provisioned from within the `container_ipv4_cidr`
- * range. This field will only be set when cluster is in route-based network
- * mode.
+ * [Output only] The current software version of the master endpoint.
*
*
- * int32 node_ipv4_cidr_size = 109;
+ * string current_master_version = 104;
*
* @return This builder for chaining.
*/
- public Builder clearNodeIpv4CidrSize() {
+ public Builder clearCurrentMasterVersion() {
- nodeIpv4CidrSize_ = 0;
+ 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ currentMasterVersion_ = value;
onChanged();
return this;
}
- private java.lang.Object servicesIpv4Cidr_ = "";
+ private java.lang.Object currentNodeVersion_ = "";
/**
*
*
*
- * [Output only] The IP address range of the Kubernetes services in
- * this cluster, in
- * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `1.2.3.4/29`). Service addresses are
- * typically put in the last `/16` from the container CIDR.
+ * [Output only] Deprecated, use
+ * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
+ * instead. The current version of the node software components. If they are
+ * currently at multiple versions because they're in the process of being
+ * upgraded, this reflects the minimum version of all nodes.
*
*
- * string services_ipv4_cidr = 110;
+ * string current_node_version = 105 [deprecated = true];
*
- * @return The servicesIpv4Cidr.
+ * @return The currentNodeVersion.
*/
- public java.lang.String getServicesIpv4Cidr() {
- java.lang.Object ref = servicesIpv4Cidr_;
+ @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;
java.lang.String s = bs.toStringUtf8();
- servicesIpv4Cidr_ = s;
+ currentNodeVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -12168,23 +12950,24 @@ public java.lang.String getServicesIpv4Cidr() {
*
*
*
- * [Output only] The IP address range of the Kubernetes services in
- * this cluster, in
- * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `1.2.3.4/29`). Service addresses are
- * typically put in the last `/16` from the container CIDR.
+ * [Output only] Deprecated, use
+ * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
+ * instead. The current version of the node software components. If they are
+ * currently at multiple versions because they're in the process of being
+ * upgraded, this reflects the minimum version of all nodes.
*
*
- * string services_ipv4_cidr = 110;
+ * string current_node_version = 105 [deprecated = true];
*
- * @return The bytes for servicesIpv4Cidr.
+ * @return The bytes for currentNodeVersion.
*/
- public com.google.protobuf.ByteString getServicesIpv4CidrBytes() {
- java.lang.Object ref = servicesIpv4Cidr_;
+ @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);
- servicesIpv4Cidr_ = b;
+ currentNodeVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -12194,24 +12977,25 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() {
*
*
*
- * [Output only] The IP address range of the Kubernetes services in
- * this cluster, in
- * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `1.2.3.4/29`). Service addresses are
- * typically put in the last `/16` from the container CIDR.
+ * [Output only] Deprecated, use
+ * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
+ * instead. The current version of the node software components. If they are
+ * currently at multiple versions because they're in the process of being
+ * upgraded, this reflects the minimum version of all nodes.
*
*
- * string services_ipv4_cidr = 110;
+ * string current_node_version = 105 [deprecated = true];
*
- * @param value The servicesIpv4Cidr to set.
+ * @param value The currentNodeVersion to set.
* @return This builder for chaining.
*/
- public Builder setServicesIpv4Cidr(java.lang.String value) {
+ @java.lang.Deprecated
+ public Builder setCurrentNodeVersion(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- servicesIpv4Cidr_ = value;
+ currentNodeVersion_ = value;
onChanged();
return this;
}
@@ -12219,20 +13003,21 @@ public Builder setServicesIpv4Cidr(java.lang.String value) {
*
*
*
- * [Output only] The IP address range of the Kubernetes services in
- * this cluster, in
- * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `1.2.3.4/29`). Service addresses are
- * typically put in the last `/16` from the container CIDR.
+ * [Output only] Deprecated, use
+ * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
+ * instead. The current version of the node software components. If they are
+ * currently at multiple versions because they're in the process of being
+ * upgraded, this reflects the minimum version of all nodes.
*
*
- * string services_ipv4_cidr = 110;
+ * string current_node_version = 105 [deprecated = true];
*
* @return This builder for chaining.
*/
- public Builder clearServicesIpv4Cidr() {
+ @java.lang.Deprecated
+ public Builder clearCurrentNodeVersion() {
- servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr();
+ currentNodeVersion_ = getDefaultInstance().getCurrentNodeVersion();
onChanged();
return this;
}
@@ -12240,120 +13025,172 @@ public Builder clearServicesIpv4Cidr() {
*
*
*
- * [Output only] The IP address range of the Kubernetes services in
- * this cluster, in
- * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
- * notation (e.g. `1.2.3.4/29`). Service addresses are
- * typically put in the last `/16` from the container CIDR.
+ * [Output only] Deprecated, use
+ * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
+ * instead. The current version of the node software components. If they are
+ * currently at multiple versions because they're in the process of being
+ * upgraded, this reflects the minimum version of all nodes.
*
*
- * string services_ipv4_cidr = 110;
+ * string current_node_version = 105 [deprecated = true];
*
- * @param value The bytes for servicesIpv4Cidr to set.
+ * @param value The bytes for currentNodeVersion to set.
* @return This builder for chaining.
*/
- public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) {
+ @java.lang.Deprecated
+ public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- servicesIpv4Cidr_ = value;
+ currentNodeVersion_ = value;
onChanged();
return this;
}
- 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;
- }
- }
+ private java.lang.Object createTime_ = "";
/**
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The time the cluster was created, in
+ * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string create_time = 106;
*
- * @return A list containing the instanceGroupUrls.
+ * @return The createTime.
*/
- @java.lang.Deprecated
- public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() {
- return instanceGroupUrls_.getUnmodifiableView();
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ createTime_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
}
/**
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The time the cluster was created, in
+ * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string create_time = 106;
*
- * @return The count of instanceGroupUrls.
+ * @return The bytes for createTime.
*/
- @java.lang.Deprecated
- public int getInstanceGroupUrlsCount() {
- return instanceGroupUrls_.size();
- }
+ 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);
+ createTime_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
/**
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The time the cluster was created, in
+ * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string create_time = 106;
*
- * @param index The index of the element to return.
- * @return The instanceGroupUrls at the given index.
+ * @param value The createTime to set.
+ * @return This builder for chaining.
*/
- @java.lang.Deprecated
- public java.lang.String getInstanceGroupUrls(int index) {
- return instanceGroupUrls_.get(index);
+ public Builder setCreateTime(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ createTime_ = value;
+ onChanged();
+ return this;
}
/**
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The time the cluster was created, in
+ * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string create_time = 106;
*
- * @param index The index of the value to return.
- * @return The bytes of the instanceGroupUrls at the given index.
+ * @return This builder for chaining.
*/
- @java.lang.Deprecated
- public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) {
- return instanceGroupUrls_.getByteString(index);
+ public Builder clearCreateTime() {
+
+ createTime_ = getDefaultInstance().getCreateTime();
+ onChanged();
+ return this;
}
/**
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The time the cluster was created, in
+ * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string create_time = 106;
*
- * @param index The index to set the value at.
- * @param value The instanceGroupUrls to set.
+ * @param value The bytes for createTime to set.
* @return This builder for chaining.
*/
- @java.lang.Deprecated
- public Builder setInstanceGroupUrls(int index, java.lang.String value) {
+ public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- ensureInstanceGroupUrlsIsMutable();
- instanceGroupUrls_.set(index, value);
+ checkByteStringIsUtf8(value);
+
+ createTime_ = value;
+ onChanged();
+ return this;
+ }
+
+ 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() {
+ 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;
}
@@ -12361,21 +13198,38 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) {
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The current status of this cluster.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * .google.container.v1.Cluster.Status status = 107;
*
- * @param value The instanceGroupUrls to add.
+ * @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_);
+ 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.
*/
- @java.lang.Deprecated
- public Builder addInstanceGroupUrls(java.lang.String value) {
+ public Builder setStatus(com.google.container.v1.Cluster.Status value) {
if (value == null) {
throw new NullPointerException();
}
- ensureInstanceGroupUrlsIsMutable();
- instanceGroupUrls_.add(value);
+
+ status_ = value.getNumber();
onChanged();
return this;
}
@@ -12383,18 +13237,92 @@ public Builder addInstanceGroupUrls(java.lang.String value) {
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] The current status of this cluster.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * .google.container.v1.Cluster.Status status = 107;
*
- * @param values The instanceGroupUrls to add.
* @return This builder for chaining.
*/
+ public Builder clearStatus() {
+
+ status_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object statusMessage_ = "";
+ /**
+ *
+ *
+ *
+ * [Output only] Deprecated. Use conditions instead.
+ * Additional information about the current status of this
+ * cluster, if available.
+ *
+ *
+ * string status_message = 108 [deprecated = true];
+ *
+ * @return The statusMessage.
+ */
@java.lang.Deprecated
- public Builder addAllInstanceGroupUrls(java.lang.Iterable
+ * [Output only] Deprecated. Use conditions instead.
+ * Additional information about the current status of this
+ * cluster, if available.
+ *
+ *
+ * string status_message = 108 [deprecated = true];
+ *
+ * @return The bytes for statusMessage.
+ */
+ @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);
+ statusMessage_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] Deprecated. Use conditions instead.
+ * Additional information about the current status of this
+ * cluster, if available.
+ *
+ *
+ * string status_message = 108 [deprecated = true];
+ *
+ * @param value The statusMessage to set.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder setStatusMessage(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ statusMessage_ = value;
onChanged();
return this;
}
@@ -12402,17 +13330,19 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] Deprecated. Use conditions instead.
+ * Additional information about the current status of this
+ * cluster, if available.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string status_message = 108 [deprecated = true];
*
* @return This builder for chaining.
*/
@java.lang.Deprecated
- public Builder clearInstanceGroupUrls() {
- instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
+ public Builder clearStatusMessage() {
+
+ statusMessage_ = getDefaultInstance().getStatusMessage();
onChanged();
return this;
}
@@ -12420,217 +13350,1407 @@ public Builder clearInstanceGroupUrls() {
*
*
*
- * Deprecated. Use node_pools.instance_group_urls.
+ * [Output only] Deprecated. Use conditions instead.
+ * Additional information about the current status of this
+ * cluster, if available.
*
*
- * repeated string instance_group_urls = 111 [deprecated = true];
+ * string status_message = 108 [deprecated = true];
*
- * @param value The bytes of the instanceGroupUrls to add.
+ * @param value The bytes for statusMessage to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated
- public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) {
+ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- ensureInstanceGroupUrlsIsMutable();
- instanceGroupUrls_.add(value);
+
+ statusMessage_ = value;
onChanged();
return this;
}
- private int currentNodeCount_;
+ 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`
+ * range. This field will only be set when cluster is in route-based network
+ * mode.
+ *
+ *
+ * int32 node_ipv4_cidr_size = 109;
+ *
+ * @return The nodeIpv4CidrSize.
+ */
+ @java.lang.Override
+ 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`
+ * range. This field will only be set when cluster is in route-based network
+ * mode.
+ *
+ *
+ * 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`
+ * range. This field will only be set when cluster is in route-based network
+ * mode.
+ *
+ *
+ * int32 node_ipv4_cidr_size = 109;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNodeIpv4CidrSize() {
+
+ nodeIpv4CidrSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object servicesIpv4Cidr_ = "";
+ /**
+ *
+ *
+ *
+ * [Output only] The IP address range of the Kubernetes services in
+ * this cluster, in
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`). Service addresses are
+ * typically put in the last `/16` from the container CIDR.
+ *
+ *
+ * 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;
+ java.lang.String s = bs.toStringUtf8();
+ servicesIpv4Cidr_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The IP address range of the Kubernetes services in
+ * this cluster, in
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`). Service addresses are
+ * typically put in the last `/16` from the container CIDR.
+ *
+ *
+ * string services_ipv4_cidr = 110;
+ *
+ * @return The bytes for servicesIpv4Cidr.
+ */
+ 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);
+ servicesIpv4Cidr_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The IP address range of the Kubernetes services in
+ * this cluster, in
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`). Service addresses are
+ * typically put in the last `/16` from the container CIDR.
+ *
+ *
+ * string services_ipv4_cidr = 110;
+ *
+ * @param value The servicesIpv4Cidr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServicesIpv4Cidr(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ servicesIpv4Cidr_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The IP address range of the Kubernetes services in
+ * this cluster, in
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`). Service addresses are
+ * typically put in the last `/16` from the container CIDR.
+ *
+ *
+ * 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
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`). Service addresses are
+ * typically put in the last `/16` from the container CIDR.
+ *
+ *
+ * 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ servicesIpv4Cidr_ = value;
+ onChanged();
+ return this;
+ }
+
+ 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];
+ *
+ * @return A list containing the instanceGroupUrls.
+ */
+ @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];
+ *
+ * @return The count of instanceGroupUrls.
+ */
+ @java.lang.Deprecated
+ public int getInstanceGroupUrlsCount() {
+ return instanceGroupUrls_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Deprecated. Use node_pools.instance_group_urls.
+ *
+ *
+ * repeated string instance_group_urls = 111 [deprecated = true];
+ *
+ * @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) {
+ return instanceGroupUrls_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Deprecated. Use node_pools.instance_group_urls.
+ *
+ *
+ * repeated string instance_group_urls = 111 [deprecated = true];
+ *
+ * @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) {
+ return instanceGroupUrls_.getByteString(index);
+ }
+ /**
+ *
+ *
+ *
+ * Deprecated. Use node_pools.instance_group_urls.
+ *
+ *
+ * repeated string instance_group_urls = 111 [deprecated = true];
+ *
+ * @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) {
+ if (value == null) {
+ 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];
+ *
+ * @param value The instanceGroupUrls to add.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder addInstanceGroupUrls(java.lang.String value) {
+ if (value == null) {
+ 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];
+ *
+ * @param values The instanceGroupUrls to add.
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder addAllInstanceGroupUrls(java.lang.Iterable
+ * Deprecated. Use node_pools.instance_group_urls.
+ *
+ *
+ * repeated string instance_group_urls = 111 [deprecated = true];
+ *
+ * @return This builder for chaining.
+ */
+ @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];
+ *
+ * @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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureInstanceGroupUrlsIsMutable();
+ instanceGroupUrls_.add(value);
+ onChanged();
+ return this;
+ }
+
+ 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];
+ *
+ * @return The currentNodeCount.
+ */
+ @java.lang.Override
+ @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];
+ *
+ * @param value The currentNodeCount to set.
+ * @return This builder for chaining.
+ */
+ @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];
+ *
+ * @return This builder for chaining.
+ */
+ @java.lang.Deprecated
+ public Builder clearCurrentNodeCount() {
+
+ currentNodeCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ expireTime_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [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() {
+ java.lang.Object ref = expireTime_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ expireTime_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [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) {
+ if (value == null) {
+ 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ expireTime_ = value;
+ onChanged();
+ return this;
+ }
+
+ 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)
+ * or
+ * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * in which the cluster resides.
+ *
+ *
+ * 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;
+ java.lang.String s = bs.toStringUtf8();
+ location_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * or
+ * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * in which the cluster resides.
+ *
+ *
+ * string location = 114;
+ *
+ * @return The bytes for location.
+ */
+ 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);
+ location_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The name of the Google Compute Engine
+ * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * or
+ * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * in which the cluster resides.
+ *
+ *
+ * string location = 114;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocation(java.lang.String value) {
+ if (value == null) {
+ 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)
+ * or
+ * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * in which the cluster resides.
+ *
+ *
+ * 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)
+ * or
+ * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
+ * in which the cluster resides.
+ *
+ *
+ * string location = 114;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ location_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean enableTpu_;
+ /**
+ *
+ *
+ *
+ * Enable the ability to use Cloud TPUs in this cluster.
+ *
+ *
+ * bool enable_tpu = 115;
+ *
+ * @return The enableTpu.
+ */
+ @java.lang.Override
+ 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;
+ }
+
+ 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)
+ * notation (e.g. `1.2.3.4/29`).
+ *
+ *
+ * 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;
+ java.lang.String s = bs.toStringUtf8();
+ tpuIpv4CidrBlock_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The IP address range of the Cloud TPUs in this cluster, in
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`).
+ *
+ *
+ * string tpu_ipv4_cidr_block = 116;
+ *
+ * @return The bytes for tpuIpv4CidrBlock.
+ */
+ 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);
+ tpuIpv4CidrBlock_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * [Output only] The IP address range of the Cloud TPUs in this cluster, in
+ * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
+ * notation (e.g. `1.2.3.4/29`).
+ *
+ *
+ * string tpu_ipv4_cidr_block = 116;
+ *
+ * @param value The tpuIpv4CidrBlock to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTpuIpv4CidrBlock(java.lang.String value) {
+ if (value == null) {
+ 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)
+ * notation (e.g. `1.2.3.4/29`).
+ *
+ *
+ * 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)
+ * notation (e.g. `1.2.3.4/29`).
+ *
+ *
+ * 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ tpuIpv4CidrBlock_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public java.util.List
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public int getConditionsCount() {
+ if (conditionsBuilder_ == null) {
+ return conditions_.size();
+ } else {
+ return conditionsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public com.google.container.v1.StatusCondition getConditions(int index) {
+ if (conditionsBuilder_ == null) {
+ return conditions_.get(index);
+ } else {
+ return conditionsBuilder_.getMessage(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) {
+ if (conditionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConditionsIsMutable();
+ conditions_.set(index, value);
+ onChanged();
+ } else {
+ conditionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public Builder setConditions(
+ int index, com.google.container.v1.StatusCondition.Builder builderForValue) {
+ if (conditionsBuilder_ == null) {
+ ensureConditionsIsMutable();
+ conditions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ conditionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public Builder addConditions(com.google.container.v1.StatusCondition value) {
+ if (conditionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConditionsIsMutable();
+ conditions_.add(value);
+ onChanged();
+ } else {
+ conditionsBuilder_.addMessage(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) {
+ if (conditionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureConditionsIsMutable();
+ conditions_.add(index, value);
+ onChanged();
+ } else {
+ conditionsBuilder_.addMessage(index, value);
+ }
+ 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) {
+ if (conditionsBuilder_ == null) {
+ ensureConditionsIsMutable();
+ conditions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ conditionsBuilder_.addMessage(builderForValue.build());
+ }
+ 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.Builder builderForValue) {
+ if (conditionsBuilder_ == null) {
+ ensureConditionsIsMutable();
+ conditions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ conditionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public Builder addAllConditions(
+ java.lang.Iterable extends com.google.container.v1.StatusCondition> values) {
+ if (conditionsBuilder_ == null) {
+ ensureConditionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_);
+ onChanged();
+ } else {
+ conditionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public Builder clearConditions() {
+ if (conditionsBuilder_ == null) {
+ conditions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ } else {
+ conditionsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public Builder removeConditions(int index) {
+ if (conditionsBuilder_ == null) {
+ ensureConditionsIsMutable();
+ conditions_.remove(index);
+ onChanged();
+ } else {
+ conditionsBuilder_.remove(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) {
+ 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) {
+ if (conditionsBuilder_ == null) {
+ 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 extends com.google.container.v1.StatusConditionOrBuilder>
+ getConditionsOrBuilderList() {
+ if (conditionsBuilder_ != null) {
+ return conditionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(conditions_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder() {
+ 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());
+ }
+ /**
+ *
+ *
+ *
+ * Which conditions caused the current cluster state.
+ *
+ *
+ * repeated .google.container.v1.StatusCondition conditions = 118;
+ */
+ public java.util.List
+ * 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;
+ }
/**
*
*
*
- * [Output only] The number of nodes currently in the cluster. Deprecated.
- * Call Kubernetes API directly to retrieve node information.
+ * Autopilot configuration for the cluster.
*
*
- * int32 current_node_count = 112 [deprecated = true];
+ * .google.container.v1.Autopilot autopilot = 128;
*
- * @return The currentNodeCount.
+ * @return The autopilot.
*/
- @java.lang.Override
- @java.lang.Deprecated
- public int getCurrentNodeCount() {
- return currentNodeCount_;
+ public com.google.container.v1.Autopilot getAutopilot() {
+ if (autopilotBuilder_ == null) {
+ return autopilot_ == null
+ ? com.google.container.v1.Autopilot.getDefaultInstance()
+ : autopilot_;
+ } else {
+ return autopilotBuilder_.getMessage();
+ }
}
/**
*
*
*
- * [Output only] The number of nodes currently in the cluster. Deprecated.
- * Call Kubernetes API directly to retrieve node information.
+ * Autopilot configuration for the cluster.
*
*
- * int32 current_node_count = 112 [deprecated = true];
- *
- * @param value The currentNodeCount to set.
- * @return This builder for chaining.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- @java.lang.Deprecated
- public Builder setCurrentNodeCount(int value) {
+ public Builder setAutopilot(com.google.container.v1.Autopilot value) {
+ if (autopilotBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ autopilot_ = value;
+ onChanged();
+ } else {
+ autopilotBuilder_.setMessage(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.
+ * Autopilot configuration for the cluster.
*
*
- * int32 current_node_count = 112 [deprecated = true];
- *
- * @return This builder for chaining.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- @java.lang.Deprecated
- public Builder clearCurrentNodeCount() {
+ public Builder setAutopilot(com.google.container.v1.Autopilot.Builder builderForValue) {
+ if (autopilotBuilder_ == null) {
+ autopilot_ = builderForValue.build();
+ onChanged();
+ } else {
+ autopilotBuilder_.setMessage(builderForValue.build());
+ }
- currentNodeCount_ = 0;
- onChanged();
return this;
}
-
- 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.
+ * Autopilot configuration for the cluster.
*
*
- * string expire_time = 113;
- *
- * @return The expireTime.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- 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;
- java.lang.String s = bs.toStringUtf8();
- expireTime_ = s;
- return s;
+ 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();
+ } else {
+ autopilot_ = value;
+ }
+ onChanged();
} else {
- return (java.lang.String) ref;
+ autopilotBuilder_.mergeFrom(value);
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The time the cluster will be automatically
- * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * Autopilot configuration for the cluster.
*
*
- * string expire_time = 113;
- *
- * @return The bytes for expireTime.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- 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);
- expireTime_ = b;
- return b;
+ public Builder clearAutopilot() {
+ if (autopilotBuilder_ == null) {
+ autopilot_ = null;
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ autopilot_ = null;
+ autopilotBuilder_ = null;
}
+
+ return this;
}
/**
*
*
*
- * [Output only] The time the cluster will be automatically
- * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * Autopilot configuration for the cluster.
*
*
- * string expire_time = 113;
- *
- * @param value The expireTime to set.
- * @return This builder for chaining.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- public Builder setExpireTime(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ public com.google.container.v1.Autopilot.Builder getAutopilotBuilder() {
- expireTime_ = value;
onChanged();
- return this;
+ return getAutopilotFieldBuilder().getBuilder();
}
/**
*
*
*
- * [Output only] The time the cluster will be automatically
- * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * Autopilot configuration for the cluster.
*
*
- * string expire_time = 113;
- *
- * @return This builder for chaining.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- public Builder clearExpireTime() {
-
- expireTime_ = getDefaultInstance().getExpireTime();
- onChanged();
- return this;
+ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() {
+ if (autopilotBuilder_ != null) {
+ return autopilotBuilder_.getMessageOrBuilder();
+ } else {
+ return autopilot_ == null
+ ? com.google.container.v1.Autopilot.getDefaultInstance()
+ : autopilot_;
+ }
}
/**
*
*
*
- * [Output only] The time the cluster will be automatically
- * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+ * Autopilot configuration for the cluster.
*
*
- * string expire_time = 113;
- *
- * @param value The bytes for expireTime to set.
- * @return This builder for chaining.
+ * .google.container.v1.Autopilot autopilot = 128;
*/
- public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ autopilot_ = null;
}
- checkByteStringIsUtf8(value);
-
- expireTime_ = value;
- onChanged();
- return this;
+ return autopilotBuilder_;
}
- private java.lang.Object location_ = "";
+ private java.lang.Object id_ = "";
/**
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * or
- * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * in which the cluster resides.
+ * Output only. Unique id for the cluster.
*
*
- * string location = 114;
+ * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @return The location.
+ * @return The id.
*/
- public java.lang.String getLocation() {
- java.lang.Object ref = location_;
+ 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;
java.lang.String s = bs.toStringUtf8();
- location_ = s;
+ id_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -12640,23 +14760,19 @@ 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)
- * or
- * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * in which the cluster resides.
+ * Output only. Unique id for the cluster.
*
*
- * string location = 114;
+ * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @return The bytes for location.
+ * @return The bytes for id.
*/
- public com.google.protobuf.ByteString getLocationBytes() {
- java.lang.Object ref = location_;
+ 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);
- location_ = b;
+ id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
@@ -12666,24 +14782,20 @@ 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)
- * or
- * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * in which the cluster resides.
+ * Output only. Unique id for the cluster.
*
*
- * string location = 114;
+ * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @param value The location to set.
+ * @param value The id to set.
* @return This builder for chaining.
*/
- public Builder setLocation(java.lang.String value) {
+ public Builder setId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- location_ = value;
+ id_ = value;
onChanged();
return this;
}
@@ -12691,20 +14803,16 @@ public Builder setLocation(java.lang.String value) {
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * or
- * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * in which the cluster resides.
+ * Output only. Unique id for the cluster.
*
*
- * string location = 114;
+ * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return This builder for chaining.
*/
- public Builder clearLocation() {
+ public Builder clearId() {
- location_ = getDefaultInstance().getLocation();
+ id_ = getDefaultInstance().getId();
onChanged();
return this;
}
@@ -12712,544 +14820,590 @@ public Builder clearLocation() {
*
*
*
- * [Output only] The name of the Google Compute Engine
- * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * or
- * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
- * in which the cluster resides.
+ * Output only. Unique id for the cluster.
*
*
- * string location = 114;
+ * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @param value The bytes for location to set.
+ * @param value The bytes for id to set.
* @return This builder for chaining.
*/
- public Builder setLocationBytes(com.google.protobuf.ByteString value) {
+ public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
- location_ = value;
+ id_ = value;
onChanged();
return this;
}
- private boolean enableTpu_;
- /**
- *
- *
- *
- * Enable the ability to use Cloud TPUs in this cluster.
- *
- *
- * bool enable_tpu = 115;
- *
- * @return The enableTpu.
- */
- @java.lang.Override
- public boolean getEnableTpu() {
- return enableTpu_;
- }
+ 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_;
/**
*
*
*
- * Enable the ability to use Cloud TPUs in this cluster.
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * bool enable_tpu = 115;
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*
- * @param value The enableTpu to set.
- * @return This builder for chaining.
+ * @return Whether the nodePoolDefaults field is set.
*/
- public Builder setEnableTpu(boolean value) {
-
- enableTpu_ = value;
- onChanged();
- return this;
+ public boolean hasNodePoolDefaults() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*
*
- * Enable the ability to use Cloud TPUs in this cluster.
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * bool enable_tpu = 115;
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*
- * @return This builder for chaining.
+ * @return The nodePoolDefaults.
*/
- public Builder clearEnableTpu() {
-
- enableTpu_ = false;
- onChanged();
- return this;
+ public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() {
+ if (nodePoolDefaultsBuilder_ == null) {
+ return nodePoolDefaults_ == null
+ ? com.google.container.v1.NodePoolDefaults.getDefaultInstance()
+ : nodePoolDefaults_;
+ } else {
+ return nodePoolDefaultsBuilder_.getMessage();
+ }
}
-
- 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)
- * notation (e.g. `1.2.3.4/29`).
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * string tpu_ipv4_cidr_block = 116;
- *
- * @return The tpuIpv4CidrBlock.
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- 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;
- java.lang.String s = bs.toStringUtf8();
- tpuIpv4CidrBlock_ = s;
- return s;
+ public Builder setNodePoolDefaults(com.google.container.v1.NodePoolDefaults value) {
+ if (nodePoolDefaultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ nodePoolDefaults_ = value;
+ onChanged();
} else {
- return (java.lang.String) ref;
+ nodePoolDefaultsBuilder_.setMessage(value);
}
+ bitField0_ |= 0x00000020;
+ 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)
- * notation (e.g. `1.2.3.4/29`).
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * string tpu_ipv4_cidr_block = 116;
- *
- * @return The bytes for tpuIpv4CidrBlock.
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- 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);
- tpuIpv4CidrBlock_ = b;
- return b;
+ public Builder setNodePoolDefaults(
+ com.google.container.v1.NodePoolDefaults.Builder builderForValue) {
+ if (nodePoolDefaultsBuilder_ == null) {
+ nodePoolDefaults_ = builderForValue.build();
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ nodePoolDefaultsBuilder_.setMessage(builderForValue.build());
}
+ bitField0_ |= 0x00000020;
+ 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)
- * notation (e.g. `1.2.3.4/29`).
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * string tpu_ipv4_cidr_block = 116;
- *
- * @param value The tpuIpv4CidrBlock to set.
- * @return This builder for chaining.
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- public Builder setTpuIpv4CidrBlock(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ 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()) {
+ nodePoolDefaults_ =
+ com.google.container.v1.NodePoolDefaults.newBuilder(nodePoolDefaults_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ nodePoolDefaults_ = value;
+ }
+ onChanged();
+ } else {
+ nodePoolDefaultsBuilder_.mergeFrom(value);
}
-
- tpuIpv4CidrBlock_ = value;
- onChanged();
+ bitField0_ |= 0x00000020;
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)
- * notation (e.g. `1.2.3.4/29`).
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * string tpu_ipv4_cidr_block = 116;
- *
- * @return This builder for chaining.
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- public Builder clearTpuIpv4CidrBlock() {
-
- tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock();
- onChanged();
+ public Builder clearNodePoolDefaults() {
+ if (nodePoolDefaultsBuilder_ == null) {
+ nodePoolDefaults_ = null;
+ onChanged();
+ } else {
+ nodePoolDefaultsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
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)
- * notation (e.g. `1.2.3.4/29`).
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * string tpu_ipv4_cidr_block = 116;
- *
- * @param value The bytes for tpuIpv4CidrBlock to set.
- * @return This builder for chaining.
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- tpuIpv4CidrBlock_ = value;
+ public com.google.container.v1.NodePoolDefaults.Builder getNodePoolDefaultsBuilder() {
+ bitField0_ |= 0x00000020;
onChanged();
- return this;
- }
-
- private java.util.List
- * Which conditions caused the current cluster state.
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- public java.util.List
- * Which conditions caused the current cluster state.
+ * Default NodePool settings for the entire cluster. These settings are
+ * overridden if specified on the specific NodePool object.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
*/
- public int getConditionsCount() {
- if (conditionsBuilder_ == null) {
- return conditions_.size();
- } else {
- return conditionsBuilder_.getCount();
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ nodePoolDefaults_ = null;
}
+ return nodePoolDefaultsBuilder_;
}
+
+ 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_;
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
+ *
+ * @return Whether the loggingConfig field is set.
*/
- public com.google.container.v1.StatusCondition getConditions(int index) {
- if (conditionsBuilder_ == null) {
- return conditions_.get(index);
+ 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_;
} else {
- return conditionsBuilder_.getMessage(index);
+ return loggingConfigBuilder_.getMessage();
}
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder setConditions(int index, com.google.container.v1.StatusCondition value) {
- if (conditionsBuilder_ == null) {
+ public Builder setLoggingConfig(com.google.container.v1.LoggingConfig value) {
+ if (loggingConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- ensureConditionsIsMutable();
- conditions_.set(index, value);
+ loggingConfig_ = value;
onChanged();
} else {
- conditionsBuilder_.setMessage(index, value);
+ loggingConfigBuilder_.setMessage(value);
}
+
return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder setConditions(
- int index, com.google.container.v1.StatusCondition.Builder builderForValue) {
- if (conditionsBuilder_ == null) {
- ensureConditionsIsMutable();
- conditions_.set(index, builderForValue.build());
+ public Builder setLoggingConfig(com.google.container.v1.LoggingConfig.Builder builderForValue) {
+ if (loggingConfigBuilder_ == null) {
+ loggingConfig_ = builderForValue.build();
onChanged();
} else {
- conditionsBuilder_.setMessage(index, builderForValue.build());
+ loggingConfigBuilder_.setMessage(builderForValue.build());
}
+
return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder addConditions(com.google.container.v1.StatusCondition value) {
- if (conditionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
+ 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();
+ } else {
+ loggingConfig_ = value;
}
- ensureConditionsIsMutable();
- conditions_.add(value);
onChanged();
} else {
- conditionsBuilder_.addMessage(value);
+ loggingConfigBuilder_.mergeFrom(value);
}
+
return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder addConditions(int index, com.google.container.v1.StatusCondition value) {
- if (conditionsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureConditionsIsMutable();
- conditions_.add(index, value);
+ public Builder clearLoggingConfig() {
+ if (loggingConfigBuilder_ == null) {
+ loggingConfig_ = null;
onChanged();
} else {
- conditionsBuilder_.addMessage(index, value);
+ loggingConfig_ = null;
+ loggingConfigBuilder_ = null;
}
+
return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder addConditions(com.google.container.v1.StatusCondition.Builder builderForValue) {
- if (conditionsBuilder_ == null) {
- ensureConditionsIsMutable();
- conditions_.add(builderForValue.build());
- onChanged();
- } else {
- conditionsBuilder_.addMessage(builderForValue.build());
- }
- return this;
+ public com.google.container.v1.LoggingConfig.Builder getLoggingConfigBuilder() {
+
+ onChanged();
+ return getLoggingConfigFieldBuilder().getBuilder();
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder addConditions(
- int index, com.google.container.v1.StatusCondition.Builder builderForValue) {
- if (conditionsBuilder_ == null) {
- ensureConditionsIsMutable();
- conditions_.add(index, builderForValue.build());
- onChanged();
+ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() {
+ if (loggingConfigBuilder_ != null) {
+ return loggingConfigBuilder_.getMessageOrBuilder();
} else {
- conditionsBuilder_.addMessage(index, builderForValue.build());
+ return loggingConfig_ == null
+ ? com.google.container.v1.LoggingConfig.getDefaultInstance()
+ : loggingConfig_;
}
- return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Logging configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.LoggingConfig logging_config = 132;
*/
- public Builder addAllConditions(
- java.lang.Iterable extends com.google.container.v1.StatusCondition> values) {
- if (conditionsBuilder_ == null) {
- ensureConditionsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_);
- onChanged();
- } else {
- conditionsBuilder_.addAllMessages(values);
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ loggingConfig_ = null;
}
- return this;
+ return loggingConfigBuilder_;
}
+
+ 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_;
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
+ *
+ * @return Whether the monitoringConfig field is set.
*/
- public Builder clearConditions() {
- if (conditionsBuilder_ == null) {
- conditions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
- onChanged();
+ 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_;
} else {
- conditionsBuilder_.clear();
+ return monitoringConfigBuilder_.getMessage();
}
- return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- public Builder removeConditions(int index) {
- if (conditionsBuilder_ == null) {
- ensureConditionsIsMutable();
- conditions_.remove(index);
+ public Builder setMonitoringConfig(com.google.container.v1.MonitoringConfig value) {
+ if (monitoringConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ monitoringConfig_ = value;
onChanged();
} else {
- conditionsBuilder_.remove(index);
+ monitoringConfigBuilder_.setMessage(value);
}
+
return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- public com.google.container.v1.StatusCondition.Builder getConditionsBuilder(int index) {
- return getConditionsFieldBuilder().getBuilder(index);
+ public Builder setMonitoringConfig(
+ com.google.container.v1.MonitoringConfig.Builder builderForValue) {
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ monitoringConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) {
- if (conditionsBuilder_ == null) {
- return conditions_.get(index);
+ public Builder mergeMonitoringConfig(com.google.container.v1.MonitoringConfig value) {
+ if (monitoringConfigBuilder_ == null) {
+ if (monitoringConfig_ != null) {
+ monitoringConfig_ =
+ com.google.container.v1.MonitoringConfig.newBuilder(monitoringConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ monitoringConfig_ = value;
+ }
+ onChanged();
} else {
- return conditionsBuilder_.getMessageOrBuilder(index);
+ monitoringConfigBuilder_.mergeFrom(value);
}
+
+ return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- public java.util.List extends com.google.container.v1.StatusConditionOrBuilder>
- getConditionsOrBuilderList() {
- if (conditionsBuilder_ != null) {
- return conditionsBuilder_.getMessageOrBuilderList();
+ public Builder clearMonitoringConfig() {
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfig_ = null;
+ onChanged();
} else {
- return java.util.Collections.unmodifiableList(conditions_);
+ monitoringConfig_ = null;
+ monitoringConfigBuilder_ = null;
}
+
+ return this;
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- public com.google.container.v1.StatusCondition.Builder addConditionsBuilder() {
- return getConditionsFieldBuilder()
- .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance());
+ public com.google.container.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() {
+
+ onChanged();
+ return getMonitoringConfigFieldBuilder().getBuilder();
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- 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.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() {
+ if (monitoringConfigBuilder_ != null) {
+ return monitoringConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return monitoringConfig_ == null
+ ? com.google.container.v1.MonitoringConfig.getDefaultInstance()
+ : monitoringConfig_;
+ }
}
/**
*
*
*
- * Which conditions caused the current cluster state.
+ * Monitoring configuration for the cluster.
*
*
- * repeated .google.container.v1.StatusCondition conditions = 118;
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
*/
- public java.util.List
+ * Defines possible options for autoscaling_profile field.
+ *
+ *
+ * Protobuf enum {@code google.container.v1.ClusterAutoscaling.AutoscalingProfile}
+ */
+ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * No change to autoscaling configuration.
+ *
+ *
+ * PROFILE_UNSPECIFIED = 0;
+ */
+ PROFILE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Prioritize optimizing utilization of resources.
+ *
+ *
+ * OPTIMIZE_UTILIZATION = 1;
+ */
+ OPTIMIZE_UTILIZATION(1),
+ /**
+ *
+ *
+ *
+ * Use default (balanced) autoscaling configuration.
+ *
+ *
+ * BALANCED = 2;
+ */
+ BALANCED(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * No change to autoscaling configuration.
+ *
+ *
+ * PROFILE_UNSPECIFIED = 0;
+ */
+ public static final int PROFILE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * Prioritize optimizing utilization of resources.
+ *
+ *
+ * OPTIMIZE_UTILIZATION = 1;
+ */
+ public static final int OPTIMIZE_UTILIZATION_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Use default (balanced) autoscaling configuration.
+ *
+ *
+ * BALANCED = 2;
+ */
+ public static final int BALANCED_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static AutoscalingProfile valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static AutoscalingProfile forNumber(int value) {
+ switch (value) {
+ case 0:
+ return PROFILE_UNSPECIFIED;
+ case 1:
+ return OPTIMIZE_UTILIZATION;
+ case 2:
+ return BALANCED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
+ *
+ *
+ * @return The enum numeric value on the wire for autoscalingProfile.
+ */
+ @java.lang.Override
+ public int getAutoscalingProfileValue() {
+ return autoscalingProfile_;
+ }
+ /**
+ *
+ *
+ *
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .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;
+ }
+
public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER = 4;
private com.google.container.v1.AutoprovisioningNodePoolDefaults
autoprovisioningNodePoolDefaults_;
@@ -399,6 +607,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
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()) {
+ output.writeEnum(3, autoscalingProfile_);
+ }
if (autoprovisioningNodePoolDefaults_ != null) {
output.writeMessage(4, getAutoprovisioningNodePoolDefaults());
}
@@ -421,6 +634,11 @@ public int getSerializedSize() {
for (int i = 0; i < resourceLimits_.size(); 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 (autoprovisioningNodePoolDefaults_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -452,6 +670,7 @@ public boolean equals(final java.lang.Object obj) {
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()) {
@@ -477,6 +696,8 @@ public int hashCode() {
hash = (37 * hash) + RESOURCE_LIMITS_FIELD_NUMBER;
hash = (53 * hash) + getResourceLimitsList().hashCode();
}
+ hash = (37 * hash) + AUTOSCALING_PROFILE_FIELD_NUMBER;
+ hash = (53 * hash) + autoscalingProfile_;
if (hasAutoprovisioningNodePoolDefaults()) {
hash = (37 * hash) + AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER;
hash = (53 * hash) + getAutoprovisioningNodePoolDefaults().hashCode();
@@ -643,6 +864,8 @@ public Builder clear() {
} else {
resourceLimitsBuilder_.clear();
}
+ autoscalingProfile_ = 0;
+
if (autoprovisioningNodePoolDefaultsBuilder_ == null) {
autoprovisioningNodePoolDefaults_ = null;
} else {
@@ -689,6 +912,7 @@ public com.google.container.v1.ClusterAutoscaling buildPartial() {
} else {
result.resourceLimits_ = resourceLimitsBuilder_.build();
}
+ result.autoscalingProfile_ = autoscalingProfile_;
if (autoprovisioningNodePoolDefaultsBuilder_ == null) {
result.autoprovisioningNodePoolDefaults_ = autoprovisioningNodePoolDefaults_;
} else {
@@ -778,6 +1002,9 @@ public Builder mergeFrom(com.google.container.v1.ClusterAutoscaling other) {
}
}
}
+ if (other.autoscalingProfile_ != 0) {
+ setAutoscalingProfileValue(other.getAutoscalingProfileValue());
+ }
if (other.hasAutoprovisioningNodePoolDefaults()) {
mergeAutoprovisioningNodePoolDefaults(other.getAutoprovisioningNodePoolDefaults());
}
@@ -1246,6 +1473,106 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(in
return resourceLimitsBuilder_;
}
+ private int autoscalingProfile_ = 0;
+ /**
+ *
+ *
+ *
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
+ *
+ *
+ * @return The enum numeric value on the wire for autoscalingProfile.
+ */
+ @java.lang.Override
+ public int getAutoscalingProfileValue() {
+ return autoscalingProfile_;
+ }
+ /**
+ *
+ *
+ *
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .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;
+ *
+ *
+ * @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;
+ }
+ /**
+ *
+ *
+ *
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ autoscalingProfile_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .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.protobuf.SingleFieldBuilderV3<
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java
index de0b9900..21b42e12 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java
@@ -93,6 +93,33 @@ public interface ClusterAutoscalingOrBuilder
*/
com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index);
+ /**
+ *
+ *
+ *
+ * Defines autoscaling behaviour.
+ *
+ *
+ * .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;
+ *
+ *
+ * @return The autoscalingProfile.
+ */
+ com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile();
+
/**
*
*
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java
index b30a285f..5fd402d2 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java
@@ -1287,6 +1287,114 @@ public interface ClusterOrBuilder
*/
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.
+ *
+ *
+ * .google.container.v1.MeshCertificates mesh_certificates = 67;
+ */
+ com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * 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.
+ *
+ *
+ * .google.container.v1.NotificationConfig notification_config = 49;
+ */
+ com.google.container.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
+ *
+ * @return Whether the confidentialNodes field is set.
+ */
+ boolean hasConfidentialNodes();
+ /**
+ *
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
+ *
+ * @return The confidentialNodes.
+ */
+ com.google.container.v1.ConfidentialNodes getConfidentialNodes();
+ /**
+ *
+ *
+ *
+ * Configuration of Confidential Nodes
+ *
+ *
+ * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
+ */
+ com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
+
/**
*
*
@@ -1836,4 +1944,172 @@ public interface ClusterOrBuilder
* repeated .google.container.v1.StatusCondition conditions = 118;
*/
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.
+ *
+ *
+ * .google.container.v1.Autopilot autopilot = 128;
+ */
+ 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();
+
+ /**
+ *
+ *
+ *
+ * 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.
+ *
+ *
+ * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
+ */
+ 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.
+ *
+ *
+ * .google.container.v1.LoggingConfig logging_config = 132;
+ */
+ 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.
+ *
+ *
+ * .google.container.v1.MonitoringConfig monitoring_config = 133;
+ */
+ com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder();
}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
index 884d53ab..51b00970 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
@@ -27,6 +27,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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
@@ -39,6 +51,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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_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_ShieldedInstanceConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -47,6 +67,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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
@@ -107,6 +131,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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_MasterAuthorizedNetworksConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -139,6 +171,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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_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
@@ -287,6 +327,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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
@@ -371,6 +415,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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_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
@@ -399,6 +447,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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
@@ -407,6 +463,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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_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
@@ -451,6 +511,58 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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_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_MonitoringComponentConfig_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -463,430 +575,516 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\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\033google"
- + "/protobuf/empty.proto\032\037google/protobuf/t"
- + "imestamp.proto\"\201\007\n\nNodeConfig\022\024\n\014machine"
- + "_type\030\001 \001(\t\022\024\n\014disk_size_gb\030\002 \001(\005\022\024\n\014oau"
- + "th_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.MetadataEntry\022\022\n\nimage_type\030"
- + "\005 \001(\t\022;\n\006labels\030\006 \003(\0132+.google.container"
- + ".v1.NodeConfig.LabelsEntry\022\027\n\017local_ssd_"
- + "count\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible"
- + "\030\n \001(\010\022<\n\014accelerators\030\013 \003(\0132&.google.co"
- + "ntainer.v1.AcceleratorConfig\022\021\n\tdisk_typ"
- + "e\030\014 \001(\t\022\030\n\020min_cpu_platform\030\r \001(\t\022M\n\030wor"
- + "kload_metadata_config\030\016 \001(\0132+.google.con"
- + "tainer.v1.WorkloadMetadataConfig\022.\n\006tain"
- + "ts\030\017 \003(\0132\036.google.container.v1.NodeTaint"
- + "\022:\n\016sandbox_config\030\021 \001(\0132\".google.contai"
- + "ner.v1.SandboxConfig\022\022\n\nnode_group\030\022 \001(\t"
- + "\022F\n\024reservation_affinity\030\023 \001(\0132(.google."
- + "container.v1.ReservationAffinity\022M\n\030shie"
- + "lded_instance_config\030\024 \001(\0132+.google.cont"
- + "ainer.v1.ShieldedInstanceConfig\022\031\n\021boot_"
- + "disk_kms_key\030\027 \001(\t\032/\n\rMetadataEntry\022\013\n\003k"
- + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEnt"
- + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Y\n\026Sh"
- + "ieldedInstanceConfig\022\032\n\022enable_secure_bo"
- + "ot\030\001 \001(\010\022#\n\033enable_integrity_monitoring\030"
- + "\002 \001(\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001(\0162\'.g"
- + "oogle.container.v1.SandboxConfig.Type\"#\n"
- + "\004Type\022\017\n\013UNSPECIFIED\020\000\022\n\n\006GVISOR\020\001\"\337\001\n\023R"
- + "eservationAffinity\022O\n\030consume_reservatio"
- + "n_type\030\001 \001(\0162-.google.container.v1.Reser"
- + "vationAffinity.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006valu"
- + "es\030\003 \003(\t\"Z\n\004Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_"
- + "RESERVATION\020\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SP"
- + "ECIFIC_RESERVATION\020\003\"\271\001\n\tNodeTaint\022\013\n\003ke"
- + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\0225\n\006effect\030\003 \001(\0162%"
- + ".google.container.v1.NodeTaint.Effect\"Y\n"
- + "\006Effect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SC"
- + "HEDULE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_E"
- + "XECUTE\020\003\"\331\001\n\nMasterAuth\022\024\n\010username\030\001 \001("
- + "\tB\002\030\001\022\024\n\010password\030\002 \001(\tB\002\030\001\022O\n\031client_ce"
- + "rtificate_config\030\003 \001(\0132,.google.containe"
- + "r.v1.ClientCertificateConfig\022\036\n\026cluster_"
- + "ca_certificate\030d \001(\t\022\032\n\022client_certifica"
- + "te\030e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCe"
- + "rtificateConfig\022 \n\030issue_client_certific"
- + "ate\030\001 \001(\010\"\206\004\n\014AddonsConfig\022C\n\023http_load_"
- + "balancing\030\001 \001(\0132&.google.container.v1.Ht"
- + "tpLoadBalancing\022Q\n\032horizontal_pod_autosc"
- + "aling\030\002 \001(\0132-.google.container.v1.Horizo"
- + "ntalPodAutoscaling\022J\n\024kubernetes_dashboa"
- + "rd\030\003 \001(\0132(.google.container.v1.Kubernete"
- + "sDashboardB\002\030\001\022G\n\025network_policy_config\030"
- + "\004 \001(\0132(.google.container.v1.NetworkPolic"
- + "yConfig\022=\n\020cloud_run_config\030\007 \001(\0132#.goog"
- + "le.container.v1.CloudRunConfig\022=\n\020dns_ca"
- + "che_config\030\010 \001(\0132#.google.container.v1.D"
- + "nsCacheConfig\022K\n\027config_connector_config"
- + "\030\n \001(\0132*.google.container.v1.ConfigConne"
- + "ctorConfig\"%\n\021HttpLoadBalancing\022\020\n\010disab"
- + "led\030\001 \001(\010\",\n\030HorizontalPodAutoscaling\022\020\n"
- + "\010disabled\030\001 \001(\010\"\'\n\023KubernetesDashboard\022\020"
- + "\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPolicyConfig\022"
- + "\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022\017\n\007e"
- + "nabled\030\001 \001(\010\"9\n&PrivateClusterMasterGlob"
- + "alAccessConfig\022\017\n\007enabled\030\001 \001(\010\"\240\002\n\024Priv"
- + "ateClusterConfig\022\034\n\024enable_private_nodes"
- + "\030\001 \001(\010\022\037\n\027enable_private_endpoint\030\002 \001(\010\022"
- + "\036\n\026master_ipv4_cidr_block\030\003 \001(\t\022\030\n\020priva"
- + "te_endpoint\030\004 \001(\t\022\027\n\017public_endpoint\030\005 \001"
- + "(\t\022\024\n\014peering_name\030\007 \001(\t\022`\n\033master_globa"
- + "l_access_config\030\010 \001(\0132;.google.container"
- + ".v1.PrivateClusterMasterGlobalAccessConf"
- + "ig\"D\n\031AuthenticatorGroupsConfig\022\017\n\007enabl"
- + "ed\030\001 \001(\010\022\026\n\016security_group\030\002 \001(\t\"\356\001\n\016Clo"
- + "udRunConfig\022\020\n\010disabled\030\001 \001(\010\022P\n\022load_ba"
- + "lancer_type\030\003 \001(\01624.google.container.v1."
- + "CloudRunConfig.LoadBalancerType\"x\n\020LoadB"
- + "alancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSPEC"
- + "IFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL\020\001"
- + "\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"(\n\025Con"
- + "figConnectorConfig\022\017\n\007enabled\030\001 \001(\010\"\274\001\n\036"
- + "MasterAuthorizedNetworksConfig\022\017\n\007enable"
- + "d\030\001 \001(\010\022R\n\013cidr_blocks\030\002 \003(\0132=.google.co"
- + "ntainer.v1.MasterAuthorizedNetworksConfi"
- + "g.CidrBlock\0325\n\tCidrBlock\022\024\n\014display_name"
- + "\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\t\"\035\n\nLegacyAbac"
- + "\022\017\n\007enabled\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010p"
- + "rovider\030\001 \001(\0162+.google.container.v1.Netw"
- + "orkPolicy.Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010P"
- + "rovider\022\030\n\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CAL"
- + "ICO\020\001\"&\n\023BinaryAuthorization\022\017\n\007enabled\030"
- + "\001 \001(\010\"\232\003\n\022IPAllocationPolicy\022\026\n\016use_ip_a"
- + "liases\030\001 \001(\010\022\031\n\021create_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\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\034c"
- + "luster_secondary_range_name\030\007 \001(\t\022%\n\035ser"
- + "vices_secondary_range_name\030\010 \001(\t\022\037\n\027clus"
- + "ter_ipv4_cidr_block\030\t \001(\t\022\034\n\024node_ipv4_c"
- + "idr_block\030\n \001(\t\022 \n\030services_ipv4_cidr_bl"
- + "ock\030\013 \001(\t\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022\022"
- + "\n\nuse_routes\030\017 \001(\010\"\264\023\n\007Cluster\022\014\n\004name\030\001"
- + " \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022initial_nod"
- + "e_count\030\003 \001(\005B\002\030\001\0228\n\013node_config\030\004 \001(\0132\037"
- + ".google.container.v1.NodeConfigB\002\030\001\0224\n\013m"
- + "aster_auth\030\005 \001(\0132\037.google.container.v1.M"
- + "asterAuth\022\027\n\017logging_service\030\006 \001(\t\022\032\n\022mo"
- + "nitoring_service\030\007 \001(\t\022\017\n\007network\030\010 \001(\t\022"
- + "\031\n\021cluster_ipv4_cidr\030\t \001(\t\0228\n\raddons_con"
- + "fig\030\n \001(\0132!.google.container.v1.AddonsCo"
- + "nfig\022\022\n\nsubnetwork\030\013 \001(\t\0221\n\nnode_pools\030\014"
- + " \003(\0132\035.google.container.v1.NodePool\022\021\n\tl"
- + "ocations\030\r \003(\t\022\037\n\027enable_kubernetes_alph"
- + "a\030\016 \001(\010\022I\n\017resource_labels\030\017 \003(\01320.googl"
- + "e.container.v1.Cluster.ResourceLabelsEnt"
- + "ry\022\031\n\021label_fingerprint\030\020 \001(\t\0224\n\013legacy_"
- + "abac\030\022 \001(\0132\037.google.container.v1.LegacyA"
- + "bac\022:\n\016network_policy\030\023 \001(\0132\".google.con"
- + "tainer.v1.NetworkPolicy\022E\n\024ip_allocation"
- + "_policy\030\024 \001(\0132\'.google.container.v1.IPAl"
- + "locationPolicy\022^\n!master_authorized_netw"
- + "orks_config\030\026 \001(\01323.google.container.v1."
- + "MasterAuthorizedNetworksConfig\022B\n\022mainte"
- + "nance_policy\030\027 \001(\0132&.google.container.v1"
- + ".MaintenancePolicy\022F\n\024binary_authorizati"
- + "on\030\030 \001(\0132(.google.container.v1.BinaryAut"
- + "horization\022<\n\013autoscaling\030\032 \001(\0132\'.google"
- + ".container.v1.ClusterAutoscaling\022:\n\016netw"
- + "ork_config\030\033 \001(\0132\".google.container.v1.N"
- + "etworkConfig\022K\n\033default_max_pods_constra"
- + "int\030\036 \001(\0132&.google.container.v1.MaxPodsC"
- + "onstraint\022T\n\034resource_usage_export_confi"
- + "g\030! \001(\0132..google.container.v1.ResourceUs"
- + "ageExportConfig\022S\n\033authenticator_groups_"
- + "config\030\" \001(\0132..google.container.v1.Authe"
- + "nticatorGroupsConfig\022I\n\026private_cluster_"
- + "config\030% \001(\0132).google.container.v1.Priva"
- + "teClusterConfig\022D\n\023database_encryption\030&"
- + " \001(\0132\'.google.container.v1.DatabaseEncry"
- + "ption\022M\n\030vertical_pod_autoscaling\030\' \001(\0132"
- + "+.google.container.v1.VerticalPodAutosca"
- + "ling\022:\n\016shielded_nodes\030( \001(\0132\".google.co"
- + "ntainer.v1.ShieldedNodes\022<\n\017release_chan"
- + "nel\030) \001(\0132#.google.container.v1.ReleaseC"
- + "hannel\022M\n\030workload_identity_config\030+ \001(\013"
- + "2+.google.container.v1.WorkloadIdentityC"
- + "onfig\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\026current_master_version\030"
- + "h \001(\t\022 \n\024current_node_version\030i \001(\tB\002\030\001\022"
- + "\023\n\013create_time\030j \001(\t\0223\n\006status\030k \001(\0162#.g"
- + "oogle.container.v1.Cluster.Status\022\032\n\016sta"
- + "tus_message\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr_"
- + "size\030m \001(\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022\037"
- + "\n\023instance_group_urls\030o \003(\tB\002\030\001\022\036\n\022curre"
- + "nt_node_count\030p \001(\005B\002\030\001\022\023\n\013expire_time\030q"
- + " \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nenable_tpu\030s \001"
- + "(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001(\t\0228\n\ncondi"
- + "tions\030v \003(\0132$.google.container.v1.Status"
- + "Condition\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\022ST"
- + "ATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007"
- + "RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004"
- + "\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006\"\277\013\n\rClusterUpd"
- + "ate\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032des"
- + "ired_monitoring_service\030\005 \001(\t\022@\n\025desired"
- + "_addons_config\030\006 \001(\0132!.google.container."
- + "v1.AddonsConfig\022\034\n\024desired_node_pool_id\030"
- + "\007 \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022L\n\033des"
- + "ired_database_encryption\030. \001(\0132\'.google."
- + "container.v1.DatabaseEncryption\022U\n desir"
- + "ed_workload_identity_config\030/ \001(\0132+.goog"
- + "le.container.v1.WorkloadIdentityConfig\022B"
- + "\n\026desired_shielded_nodes\0300 \001(\0132\".google."
- + "container.v1.ShieldedNodes\022O\n\035desired_no"
- + "de_pool_autoscaling\030\t \001(\0132(.google.conta"
- + "iner.v1.NodePoolAutoscaling\022\031\n\021desired_l"
- + "ocations\030\n \003(\t\022f\n)desired_master_authori"
- + "zed_networks_config\030\014 \001(\01323.google.conta"
- + "iner.v1.MasterAuthorizedNetworksConfig\022L"
- + "\n\033desired_cluster_autoscaling\030\017 \001(\0132\'.go"
- + "ogle.container.v1.ClusterAutoscaling\022N\n\034"
- + "desired_binary_authorization\030\020 \001(\0132(.goo"
- + "gle.container.v1.BinaryAuthorization\022\037\n\027"
- + "desired_logging_service\030\023 \001(\t\022\\\n$desired"
- + "_resource_usage_export_config\030\025 \001(\0132..go"
- + "ogle.container.v1.ResourceUsageExportCon"
- + "fig\022U\n desired_vertical_pod_autoscaling\030"
- + "\026 \001(\0132+.google.container.v1.VerticalPodA"
- + "utoscaling\022Q\n\036desired_private_cluster_co"
- + "nfig\030\031 \001(\0132).google.container.v1.Private"
- + "ClusterConfig\022\\\n$desired_intra_node_visi"
- + "bility_config\030\032 \001(\0132..google.container.v"
- + "1.IntraNodeVisibilityConfig\022K\n\033desired_d"
- + "efault_snat_status\030\034 \001(\0132&.google.contai"
- + "ner.v1.DefaultSnatStatus\022D\n\027desired_rele"
- + "ase_channel\030\037 \001(\0132#.google.container.v1."
- + "ReleaseChannel\022[\n#desired_authenticator_"
- + "groups_config\030? \001(\0132..google.container.v"
- + "1.AuthenticatorGroupsConfig\022\036\n\026desired_m"
- + "aster_version\030d \001(\t\"\304\007\n\tOperation\022\014\n\004nam"
- + "e\030\001 \001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022;\n\016operation_t"
- + "ype\030\003 \001(\0162#.google.container.v1.Operatio"
- + "n.Type\0225\n\006status\030\004 \001(\0162%.google.containe"
- + "r.v1.Operation.Status\022\016\n\006detail\030\010 \001(\t\022\033\n"
- + "\016status_message\030\005 \001(\tB\003\340A\003\022\021\n\tself_link\030"
- + "\006 \001(\t\022\023\n\013target_link\030\007 \001(\t\022\020\n\010location\030\t"
- + " \001(\t\022\022\n\nstart_time\030\n \001(\t\022\020\n\010end_time\030\013 \001"
- + "(\t\022=\n\010progress\030\014 \001(\0132&.google.container."
- + "v1.OperationProgressB\003\340A\003\022@\n\022cluster_con"
- + "ditions\030\r \003(\0132$.google.container.v1.Stat"
- + "usCondition\022A\n\023nodepool_conditions\030\016 \003(\013"
- + "2$.google.container.v1.StatusCondition\"R"
- + "\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007PEND"
- + "ING\020\001\022\013\n\007RUNNING\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\016CRE"
- + "ATE_CLUSTER\020\001\022\022\n\016DELETE_CLUSTER\020\002\022\022\n\016UPG"
- + "RADE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016REPA"
- + "IR_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020CREA"
- + "TE_NODE_POOL\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030"
- + "SET_NODE_POOL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAI"
- + "R_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_NO"
- + "DE_POOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032"
- + "\n\026SET_MAINTENANCE_POLICY\020\020\"\273\002\n\021Operation"
- + "Progress\022\014\n\004name\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%"
- + ".google.container.v1.Operation.Status\022>\n"
- + "\007metrics\030\003 \003(\0132-.google.container.v1.Ope"
- + "rationProgress.Metric\0226\n\006stages\030\004 \003(\0132&."
- + "google.container.v1.OperationProgress\032i\n"
- + "\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value\030"
- + "\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014strin"
- + "g_value\030\004 \001(\tH\000B\007\n\005value\"\204\001\n\024CreateClust"
- + "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\0222\n\007cluster\030\003 \001(\0132\034.google.co"
- + "ntainer.v1.ClusterB\003\340A\002\022\016\n\006parent\030\005 \001(\t\""
- + "c\n\021GetClusterRequest\022\026\n\nproject_id\030\001 \001(\t"
+ + "\037google/api/field_behavior.proto\032\031google"
+ + "/api/resource.proto\032\033google/protobuf/emp"
+ + "ty.proto\032\037google/protobuf/timestamp.prot"
+ + "o\032\036google/protobuf/wrappers.proto\032\025googl"
+ + "e/rpc/code.proto\032\027google/rpc/status.prot"
+ + "o\"\205\001\n\017LinuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321"
+ + ".google.container.v1.LinuxNodeConfig.Sys"
+ + "ctlsEntry\032.\n\014SysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r"
+ + "\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\021NodeKubeletConfig\022"
+ + "\032\n\022cpu_manager_policy\030\001 \001(\t\0221\n\rcpu_cfs_q"
+ + "uota\030\002 \001(\0132\032.google.protobuf.BoolValue\022\034"
+ + "\n\024cpu_cfs_quota_period\030\003 \001(\t\"\271\t\n\nNodeCon"
+ + "fig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014disk_size_g"
+ + "b\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-.googl"
+ + "e.container.v1.NodeConfig.MetadataEntry\022"
+ + "\022\n\nimage_type\030\005 \001(\t\022;\n\006labels\030\006 \003(\0132+.go"
+ + "ogle.container.v1.NodeConfig.LabelsEntry"
+ + "\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022"
+ + "\023\n\013preemptible\030\n \001(\010\022<\n\014accelerators\030\013 \003"
+ + "(\0132&.google.container.v1.AcceleratorConf"
+ + "ig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n\020min_cpu_platfor"
+ + "m\030\r \001(\t\022M\n\030workload_metadata_config\030\016 \001("
+ + "\0132+.google.container.v1.WorkloadMetadata"
+ + "Config\022.\n\006taints\030\017 \003(\0132\036.google.containe"
+ + "r.v1.NodeTaint\022:\n\016sandbox_config\030\021 \001(\0132\""
+ + ".google.container.v1.SandboxConfig\022\022\n\nno"
+ + "de_group\030\022 \001(\t\022F\n\024reservation_affinity\030\023"
+ + " \001(\0132(.google.container.v1.ReservationAf"
+ + "finity\022M\n\030shielded_instance_config\030\024 \001(\013"
+ + "2+.google.container.v1.ShieldedInstanceC"
+ + "onfig\022?\n\021linux_node_config\030\025 \001(\0132$.googl"
+ + "e.container.v1.LinuxNodeConfig\022>\n\016kubele"
+ + "t_config\030\026 \001(\0132&.google.container.v1.Nod"
+ + "eKubeletConfig\022\031\n\021boot_disk_kms_key\030\027 \001("
+ + "\t\0224\n\013gcfs_config\030\031 \001(\0132\037.google.containe"
+ + "r.v1.GcfsConfig\022O\n\031advanced_machine_feat"
+ + "ures\030\032 \001(\0132,.google.container.v1.Advance"
+ + "dMachineFeatures\022.\n\005gvnic\030\035 \001(\0132\037.google"
+ + ".container.v1.VirtualNIC\032/\n\rMetadataEntr"
+ + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab"
+ + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001"
+ + "\"M\n\027AdvancedMachineFeatures\022\035\n\020threads_p"
+ + "er_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_per_core\""
+ + "b\n\021NodeNetworkConfig\022\035\n\020create_pod_range"
+ + "\030\004 \001(\010B\003\340A\004\022\021\n\tpod_range\030\005 \001(\t\022\033\n\023pod_ip"
+ + "v4_cidr_block\030\006 \001(\t\"Y\n\026ShieldedInstanceC"
+ + "onfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n\033ena"
+ + "ble_integrity_monitoring\030\002 \001(\010\"k\n\rSandbo"
+ + "xConfig\0225\n\004type\030\002 \001(\0162\'.google.container"
+ + ".v1.SandboxConfig.Type\"#\n\004Type\022\017\n\013UNSPEC"
+ + "IFIED\020\000\022\n\n\006GVISOR\020\001\"\035\n\nGcfsConfig\022\017\n\007ena"
+ + "bled\030\001 \001(\010\"\337\001\n\023ReservationAffinity\022O\n\030co"
+ + "nsume_reservation_type\030\001 \001(\0162-.google.co"
+ + "ntainer.v1.ReservationAffinity.Type\022\013\n\003k"
+ + "ey\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004Type\022\017\n\013UNSP"
+ + "ECIFIED\020\000\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_RES"
+ + "ERVATION\020\002\022\030\n\024SPECIFIC_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%.google.container.v1.Nod"
+ + "eTaint.Effect\"Y\n\006Effect\022\026\n\022EFFECT_UNSPEC"
+ + "IFIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SC"
+ + "HEDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"\331\001\n\nMasterAuth\022"
+ + "\024\n\010username\030\001 \001(\tB\002\030\001\022\024\n\010password\030\002 \001(\tB"
+ + "\002\030\001\022O\n\031client_certificate_config\030\003 \001(\0132,"
+ + ".google.container.v1.ClientCertificateCo"
+ + "nfig\022\036\n\026cluster_ca_certificate\030d \001(\t\022\032\n\022"
+ + "client_certificate\030e \001(\t\022\022\n\nclient_key\030f"
+ + " \001(\t\";\n\027ClientCertificateConfig\022 \n\030issue"
+ + "_client_certificate\030\001 \001(\010\"\307\005\n\014AddonsConf"
+ + "ig\022C\n\023http_load_balancing\030\001 \001(\0132&.google"
+ + ".container.v1.HttpLoadBalancing\022Q\n\032horiz"
+ + "ontal_pod_autoscaling\030\002 \001(\0132-.google.con"
+ + "tainer.v1.HorizontalPodAutoscaling\022J\n\024ku"
+ + "bernetes_dashboard\030\003 \001(\0132(.google.contai"
+ + "ner.v1.KubernetesDashboardB\002\030\001\022G\n\025networ"
+ + "k_policy_config\030\004 \001(\0132(.google.container"
+ + ".v1.NetworkPolicyConfig\022=\n\020cloud_run_con"
+ + "fig\030\007 \001(\0132#.google.container.v1.CloudRun"
+ + "Config\022=\n\020dns_cache_config\030\010 \001(\0132#.googl"
+ + "e.container.v1.DnsCacheConfig\022K\n\027config_"
+ + "connector_config\030\n \001(\0132*.google.containe"
+ + "r.v1.ConfigConnectorConfig\022d\n%gce_persis"
+ + "tent_disk_csi_driver_config\030\013 \001(\01325.goog"
+ + "le.container.v1.GcePersistentDiskCsiDriv"
+ + "erConfig\022Y\n\037gcp_filestore_csi_driver_con"
+ + "fig\030\016 \001(\01320.google.container.v1.GcpFiles"
+ + "toreCsiDriverConfig\"%\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"
+ + "\"\240\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\"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\022load_balancer_type\030\003 \001(\01624.google.cont"
+ + "ainer.v1.CloudRunConfig.LoadBalancerType"
+ + "\"x\n\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TY"
+ + "PE_UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_E"
+ + "XTERNAL\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\033GcpFilestoreCsiDriv"
+ + "erConfig\022\017\n\007enabled\030\001 \001(\010\"\274\001\n\036MasterAuth"
+ + "orizedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022R\n"
+ + "\013cidr_blocks\030\002 \003(\0132=.google.container.v1"
+ + ".MasterAuthorizedNetworksConfig.CidrBloc"
+ + "k\0325\n\tCidrBlock\022\024\n\014display_name\030\001 \001(\t\022\022\n\n"
+ + "cidr_block\030\002 \001(\t\"\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\"&\n\023B"
+ + "inaryAuthorization\022\017\n\007enabled\030\001 \001(\010\"\232\003\n\022"
+ + "IPAllocationPolicy\022\026\n\016use_ip_aliases\030\001 \001"
+ + "(\010\022\031\n\021create_subnetwork\030\002 \001(\010\022\027\n\017subnetw"
+ + "ork_name\030\003 \001(\t\022\035\n\021cluster_ipv4_cidr\030\004 \001("
+ + "\tB\002\030\001\022\032\n\016node_ipv4_cidr\030\005 \001(\tB\002\030\001\022\036\n\022ser"
+ + "vices_ipv4_cidr\030\006 \001(\tB\002\030\001\022$\n\034cluster_sec"
+ + "ondary_range_name\030\007 \001(\t\022%\n\035services_seco"
+ + "ndary_range_name\030\010 \001(\t\022\037\n\027cluster_ipv4_c"
+ + "idr_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\023tpu_ipv4_cidr_block\030\r \001(\t\022\022\n\nuse_rout"
+ + "es\030\017 \001(\010\"\246\027\n\007Cluster\022\014\n\004name\030\001 \001(\t\022\023\n\013de"
+ + "scription\030\002 \001(\t\022\036\n\022initial_node_count\030\003 "
+ + "\001(\005B\002\030\001\0228\n\013node_config\030\004 \001(\0132\037.google.co"
+ + "ntainer.v1.NodeConfigB\002\030\001\0224\n\013master_auth"
+ + "\030\005 \001(\0132\037.google.container.v1.MasterAuth\022"
+ + "\027\n\017logging_service\030\006 \001(\t\022\032\n\022monitoring_s"
+ + "ervice\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.container.v1.AddonsConfig\022\022\n\nsu"
+ + "bnetwork\030\013 \001(\t\0221\n\nnode_pools\030\014 \003(\0132\035.goo"
+ + "gle.container.v1.NodePool\022\021\n\tlocations\030\r"
+ + " \003(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022I\n"
+ + "\017resource_labels\030\017 \003(\01320.google.containe"
+ + "r.v1.Cluster.ResourceLabelsEntry\022\031\n\021labe"
+ + "l_fingerprint\030\020 \001(\t\0224\n\013legacy_abac\030\022 \001(\013"
+ + "2\037.google.container.v1.LegacyAbac\022:\n\016net"
+ + "work_policy\030\023 \001(\0132\".google.container.v1."
+ + "NetworkPolicy\022E\n\024ip_allocation_policy\030\024 "
+ + "\001(\0132\'.google.container.v1.IPAllocationPo"
+ + "licy\022^\n!master_authorized_networks_confi"
+ + "g\030\026 \001(\01323.google.container.v1.MasterAuth"
+ + "orizedNetworksConfig\022B\n\022maintenance_poli"
+ + "cy\030\027 \001(\0132&.google.container.v1.Maintenan"
+ + "cePolicy\022F\n\024binary_authorization\030\030 \001(\0132("
+ + ".google.container.v1.BinaryAuthorization"
+ + "\022<\n\013autoscaling\030\032 \001(\0132\'.google.container"
+ + ".v1.ClusterAutoscaling\022:\n\016network_config"
+ + "\030\033 \001(\0132\".google.container.v1.NetworkConf"
+ + "ig\022K\n\033default_max_pods_constraint\030\036 \001(\0132"
+ + "&.google.container.v1.MaxPodsConstraint\022"
+ + "T\n\034resource_usage_export_config\030! \001(\0132.."
+ + "google.container.v1.ResourceUsageExportC"
+ + "onfig\022S\n\033authenticator_groups_config\030\" \001"
+ + "(\0132..google.container.v1.AuthenticatorGr"
+ + "oupsConfig\022I\n\026private_cluster_config\030% \001"
+ + "(\0132).google.container.v1.PrivateClusterC"
+ + "onfig\022D\n\023database_encryption\030& \001(\0132\'.goo"
+ + "gle.container.v1.DatabaseEncryption\022M\n\030v"
+ + "ertical_pod_autoscaling\030\' \001(\0132+.google.c"
+ + "ontainer.v1.VerticalPodAutoscaling\022:\n\016sh"
+ + "ielded_nodes\030( \001(\0132\".google.container.v1"
+ + ".ShieldedNodes\022<\n\017release_channel\030) \001(\0132"
+ + "#.google.container.v1.ReleaseChannel\022M\n\030"
+ + "workload_identity_config\030+ \001(\0132+.google."
+ + "container.v1.WorkloadIdentityConfig\022@\n\021m"
+ + "esh_certificates\030C \001(\0132%.google.containe"
+ + "r.v1.MeshCertificates\022D\n\023notification_co"
+ + "nfig\0301 \001(\0132\'.google.container.v1.Notific"
+ + "ationConfig\022B\n\022confidential_nodes\0302 \001(\0132"
+ + "&.google.container.v1.ConfidentialNodes\022"
+ + "\021\n\tself_link\030d \001(\t\022\020\n\004zone\030e \001(\tB\002\030\001\022\020\n\010"
+ + "endpoint\030f \001(\t\022\037\n\027initial_cluster_versio"
+ + "n\030g \001(\t\022\036\n\026current_master_version\030h \001(\t\022"
+ + " \n\024current_node_version\030i \001(\tB\002\030\001\022\023\n\013cre"
+ + "ate_time\030j \001(\t\0223\n\006status\030k \001(\0162#.google."
+ + "container.v1.Cluster.Status\022\032\n\016status_me"
+ + "ssage\030l \001(\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m"
+ + " \001(\005\022\032\n\022services_ipv4_cidr\030n \001(\t\022\037\n\023inst"
+ + "ance_group_urls\030o \003(\tB\002\030\001\022\036\n\022current_nod"
+ + "e_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\023"
+ + "tpu_ipv4_cidr_block\030t \001(\t\0228\n\nconditions\030"
+ + "v \003(\0132$.google.container.v1.StatusCondit"
+ + "ion\0222\n\tautopilot\030\200\001 \001(\0132\036.google.contain"
+ + "er.v1.Autopilot\022\020\n\002id\030\201\001 \001(\tB\003\340A\003\022G\n\022nod"
+ + "e_pool_defaults\030\203\001 \001(\0132%.google.containe"
+ + "r.v1.NodePoolDefaultsH\000\210\001\001\022;\n\016logging_co"
+ + "nfig\030\204\001 \001(\0132\".google.container.v1.Loggin"
+ + "gConfig\022A\n\021monitoring_config\030\205\001 \001(\0132%.go"
+ + "ogle.container.v1.MonitoringConfig\0325\n\023Re"
+ + "sourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
+ + "\002 \001(\t:\0028\001\"w\n\006Status\022\026\n\022STATUS_UNSPECIFIE"
+ + "D\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RE"
+ + "CONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010"
+ + "DEGRADED\020\006B\025\n\023_node_pool_defaults\"Y\n\020Nod"
+ + "ePoolDefaults\022E\n\024node_config_defaults\030\001 "
+ + "\001(\0132\'.google.container.v1.NodeConfigDefa"
+ + "ults\"J\n\022NodeConfigDefaults\0224\n\013gcfs_confi"
+ + "g\030\001 \001(\0132\037.google.container.v1.GcfsConfig"
+ + "\"\262\021\n\rClusterUpdate\022\034\n\024desired_node_versi"
+ + "on\030\004 \001(\t\022\"\n\032desired_monitoring_service\030\005"
+ + " \001(\t\022@\n\025desired_addons_config\030\006 \001(\0132!.go"
+ + "ogle.container.v1.AddonsConfig\022\034\n\024desire"
+ + "d_node_pool_id\030\007 \001(\t\022\032\n\022desired_image_ty"
+ + "pe\030\010 \001(\t\022L\n\033desired_database_encryption\030"
+ + ". \001(\0132\'.google.container.v1.DatabaseEncr"
+ + "yption\022U\n desired_workload_identity_conf"
+ + "ig\030/ \001(\0132+.google.container.v1.WorkloadI"
+ + "dentityConfig\022H\n\031desired_mesh_certificat"
+ + "es\030C \001(\0132%.google.container.v1.MeshCerti"
+ + "ficates\022B\n\026desired_shielded_nodes\0300 \001(\0132"
+ + "\".google.container.v1.ShieldedNodes\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\022Z\n#desired_service_external_ips_conf"
+ + "ig\030< \001(\0132-.google.container.v1.ServiceEx"
+ + "ternalIPsConfig\022\036\n\026desired_master_versio"
+ + "n\030d \001(\t\022<\n\023desired_gcfs_config\030m \001(\0132\037.g"
+ + "oogle.container.v1.GcfsConfig\"\361\007\n\tOperat"
+ + "ion\022\014\n\004name\030\001 \001(\t\022\020\n\004zone\030\002 \001(\tB\002\030\001\022;\n\016o"
+ + "peration_type\030\003 \001(\0162#.google.container.v"
+ + "1.Operation.Type\0225\n\006status\030\004 \001(\0162%.googl"
+ + "e.container.v1.Operation.Status\022\016\n\006detai"
+ + "l\030\010 \001(\t\022\035\n\016status_message\030\005 \001(\tB\005\030\001\340A\003\022\021"
+ + "\n\tself_link\030\006 \001(\t\022\023\n\013target_link\030\007 \001(\t\022\020"
+ + "\n\010location\030\t \001(\t\022\022\n\nstart_time\030\n \001(\t\022\020\n\010"
+ + "end_time\030\013 \001(\t\022=\n\010progress\030\014 \001(\0132&.googl"
+ + "e.container.v1.OperationProgressB\003\340A\003\022D\n"
+ + "\022cluster_conditions\030\r \003(\0132$.google.conta"
+ + "iner.v1.StatusConditionB\002\030\001\022E\n\023nodepool_"
+ + "conditions\030\016 \003(\0132$.google.container.v1.S"
+ + "tatusConditionB\002\030\001\022!\n\005error\030\017 \001(\0132\022.goog"
+ + "le.rpc.Status\"R\n\006Status\022\026\n\022STATUS_UNSPEC"
+ + "IFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DON"
+ + "E\020\003\022\014\n\010ABORTING\020\004\"\375\002\n\004Type\022\024\n\020TYPE_UNSPE"
+ + "CIFIED\020\000\022\022\n\016CREATE_CLUSTER\020\001\022\022\n\016DELETE_C"
+ + "LUSTER\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_CL"
+ + "USTER\020\006\022\024\n\020CREATE_NODE_POOL\020\007\022\024\n\020DELETE_"
+ + "NODE_POOL\020\010\022\034\n\030SET_NODE_POOL_MANAGEMENT\020"
+ + "\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026\n\022AUTO_UPGRADE"
+ + "_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023\n\017SET_MASTER_A"
+ + "UTH\020\r\022\026\n\022SET_NODE_POOL_SIZE\020\016\022\026\n\022SET_NET"
+ + "WORK_POLICY\020\017\022\032\n\026SET_MAINTENANCE_POLICY\020"
+ + "\020\"\273\002\n\021OperationProgress\022\014\n\004name\030\001 \001(\t\0225\n"
+ + "\006status\030\002 \001(\0162%.google.container.v1.Oper"
+ + "ation.Status\022>\n\007metrics\030\003 \003(\0132-.google.c"
+ + "ontainer.v1.OperationProgress.Metric\0226\n\006"
+ + "stages\030\004 \003(\0132&.google.container.v1.Opera"
+ + "tionProgress\032i\n\006Metric\022\021\n\004name\030\001 \001(\tB\003\340A"
+ + "\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014double_value\030\003"
+ + " \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005value\""
+ + "\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\021GetClusterRequest\022\026\n\np"
+ + "roject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n"
+ + "\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001(\t\"\237\001\n\024"
+ + "UpdateClusterRequest\022\026\n\nproject_id\030\001 \001(\t"
+ "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001"
- + "(\tB\002\030\001\022\014\n\004name\030\005 \001(\t\"\237\001\n\024UpdateClusterRe"
- + "quest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 "
- + "\001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\0227\n\006updat"
- + "e\030\004 \001(\0132\".google.container.v1.ClusterUpd"
- + "ateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\340\002\n\025UpdateNodePoo"
- + "lRequest\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\014no"
- + "de_pool_id\030\004 \001(\tB\002\030\001\022\031\n\014node_version\030\005 \001"
- + "(\tB\003\340A\002\022\027\n\nimage_type\030\006 \001(\tB\003\340A\002\022\014\n\004name"
- + "\030\010 \001(\t\022\021\n\tlocations\030\r \003(\t\022M\n\030workload_me"
- + "tadata_config\030\016 \001(\0132+.google.container.v"
- + "1.WorkloadMetadataConfig\022G\n\020upgrade_sett"
- + "ings\030\017 \001(\0132-.google.container.v1.NodePoo"
- + "l.UpgradeSettings\"\315\001\n\035SetNodePoolAutosca"
- + "lingRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004z"
- + "one\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\030\n"
- + "\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autoscaling\030\005"
- + " \001(\0132(.google.container.v1.NodePoolAutos"
- + "calingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030SetLogging"
- + "ServiceRequest\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\033SetMonitoringServiceRequest\022\026\n\n"
- + "project_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026"
- + "\n\ncluster_id\030\003 \001(\tB\002\030\001\022\037\n\022monitoring_ser"
- + "vice\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\247\001\n\026SetAdd"
- + "onsConfigRequest\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!.google.conta"
- + "iner.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\0227\n\006update\030\004 \001(\0132\".google.containe"
+ + "r.v1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\307\004"
+ + "\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\014n"
+ + "ode_version\030\005 \001(\tB\003\340A\002\022\027\n\nimage_type\030\006 \001"
+ + "(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tlocations\030\r \003(\t"
+ + "\022M\n\030workload_metadata_config\030\016 \001(\0132+.goo"
+ + "gle.container.v1.WorkloadMetadataConfig\022"
+ + "G\n\020upgrade_settings\030\017 \001(\0132-.google.conta"
+ + "iner.v1.NodePool.UpgradeSettings\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\0224\n\013gcfs_config\030\026 \001(\0132\037.google.containe"
+ + "r.v1.GcfsConfig\022.\n\005gvnic\030\035 \001(\0132\037.google."
+ + "container.v1.VirtualNIC\"\315\001\n\035SetNodePoolA"
+ + "utoscalingRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030"
+ + "\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB"
+ + "\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autosca"
+ + "ling\030\005 \001(\0132(.google.container.v1.NodePoo"
+ + "lAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030SetL"
+ + "oggingServiceRequest\022\026\n\nproject_id\030\001 \001(\t"
+ + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\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\004"
+ + "name\030\005 \001(\t\"\216\001\n\033SetMonitoringServiceReque"
+ + "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\037\n\022monitori"
+ + "ng_service\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\247\001\n\026"
+ + "SetAddonsConfigRequest\022\026\n\nproject_id\030\001 \001"
+ "(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003"
- + " \001(\tB\002\030\001\022\026\n\tlocations\030\004 \003(\tB\003\340A\002\022\014\n\004name"
- + "\030\006 \001(\t\"\202\001\n\023UpdateMasterRequest\022\026\n\nprojec"
+ + " \001(\tB\002\030\001\022=\n\raddons_config\030\004 \001(\0132!.google"
+ + ".container.v1.AddonsConfigB\003\340A\002\022\014\n\004name\030"
+ + "\006 \001(\t\"}\n\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\ncluste"
+ + "r_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\n"
+ + "project_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026"
+ + "\n\ncluster_id\030\003 \001(\tB\002\030\001\022\033\n\016master_version"
+ + "\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMasterA"
+ + "uthRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zo"
+ + "ne\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022E\n\006"
+ + "action\030\004 \001(\01620.google.container.v1.SetMa"
+ + "sterAuthRequest.ActionB\003\340A\002\0224\n\006update\030\005 "
+ + "\001(\0132\037.google.container.v1.MasterAuthB\003\340A"
+ + "\002\022\014\n\004name\030\007 \001(\t\"P\n\006Action\022\013\n\007UNKNOWN\020\000\022\020"
+ + "\n\014SET_PASSWORD\020\001\022\025\n\021GENERATE_PASSWORD\020\002\022"
+ + "\020\n\014SET_USERNAME\020\003\"f\n\024DeleteClusterReques"
+ + "t\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB"
+ + "\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\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\rmi"
+ + "ssing_zones\030\002 \003(\t\"g\n\023GetOperationRequest"
+ + "\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002"
+ + "\030\001\022\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001"
+ + "(\t\"Q\n\025ListOperationsRequest\022\026\n\nproject_i"
+ + "d\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\nproje"
+ + "ct_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\030\n\014ope"
+ + "ration_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026Lis"
+ + "tOperationsResponse\0222\n\noperations\030\001 \003(\0132"
+ + "\036.google.container.v1.Operation\022\025\n\rmissi"
+ + "ng_zones\030\002 \003(\t\"P\n\026GetServerConfigRequest"
+ + "\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002"
+ + "\030\001\022\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027def"
+ + "ault_cluster_version\030\001 \001(\t\022\033\n\023valid_node"
+ + "_versions\030\003 \003(\t\022\032\n\022default_image_type\030\004 "
+ + "\001(\t\022\031\n\021valid_image_types\030\005 \003(\t\022\035\n\025valid_"
+ + "master_versions\030\006 \003(\t\022H\n\010channels\030\t \003(\0132"
+ + "6.google.container.v1.ServerConfig.Relea"
+ + "seChannelConfig\032\205\001\n\024ReleaseChannelConfig"
+ + "\022<\n\007channel\030\001 \001(\0162+.google.container.v1."
+ + "ReleaseChannel.Channel\022\027\n\017default_versio"
+ + "n\030\002 \001(\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025Crea"
+ + "teNodePoolRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030"
+ + "\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB"
+ + "\002\030\001\0225\n\tnode_pool\030\004 \001(\0132\035.google.containe"
+ + "r.v1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025D"
+ + "eleteNodePoolRequest\022\026\n\nproject_id\030\001 \001(\t"
+ + "B\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\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\"h\n\024ListNodePoolsRequest\022\026\n\nprojec"
+ "t_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\nclus"
- + "ter_id\030\003 \001(\tB\002\030\001\022\033\n\016master_version\030\004 \001(\t"
- + "B\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMasterAuthReq"
- + "uest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001"
- + "(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022E\n\006action"
- + "\030\004 \001(\01620.google.container.v1.SetMasterAu"
- + "thRequest.ActionB\003\340A\002\0224\n\006update\030\005 \001(\0132\037."
- + "google.container.v1.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\"f\n\024DeleteClusterRequest\022\026\n\np"
- + "roject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n"
- + "\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"O\n\023L"
- + "istClustersRequest\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\024"
- + "ListClustersResponse\022.\n\010clusters\030\001 \003(\0132\034"
- + ".google.container.v1.Cluster\022\025\n\rmissing_"
- + "zones\030\002 \003(\t\"g\n\023GetOperationRequest\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\030\n\014"
- + "operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 \001(\t\"Q\n\025"
- + "ListOperationsRequest\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\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\004 \001(\t\"c\n\026ListOpera"
- + "tionsResponse\0222\n\noperations\030\001 \003(\0132\036.goog"
- + "le.container.v1.Operation\022\025\n\rmissing_zon"
- + "es\030\002 \003(\t\"P\n\026GetServerConfigRequest\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\014\n\004"
- + "name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027default_c"
- + "luster_version\030\001 \001(\t\022\033\n\023valid_node_versi"
- + "ons\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(\01326.goog"
- + "le.container.v1.ServerConfig.ReleaseChan"
- + "nelConfig\032\205\001\n\024ReleaseChannelConfig\022<\n\007ch"
- + "annel\030\001 \001(\0162+.google.container.v1.Releas"
- + "eChannel.Channel\022\027\n\017default_version\030\002 \001("
- + "\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025CreateNode"
- + "PoolRequest\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\0225\n"
- + "\tnode_pool\030\004 \001(\0132\035.google.container.v1.N"
- + "odePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025DeleteN"
+ + "ter_id\030\003 \001(\tB\002\030\001\022\016\n\006parent\030\005 \001(\t\"~\n\022GetN"
+ "odePoolRequest\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"
- + "\"h\n\024ListNodePoolsRequest\022\026\n\nproject_id\030\001"
+ + "\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"
+ + "\"\352\006\n\010NodePool\022\014\n\004name\030\001 \001(\t\022/\n\006config\030\002 "
+ + "\001(\0132\037.google.container.v1.NodeConfig\022\032\n\022"
+ + "initial_node_count\030\003 \001(\005\022\021\n\tlocations\030\r "
+ + "\003(\t\022>\n\016network_config\030\016 \001(\0132&.google.con"
+ + "tainer.v1.NodeNetworkConfig\022\021\n\tself_link"
+ + "\030d \001(\t\022\017\n\007version\030e \001(\t\022\033\n\023instance_grou"
+ + "p_urls\030f \003(\t\0224\n\006status\030g \001(\0162$.google.co"
+ + "ntainer.v1.NodePool.Status\022\032\n\016status_mes"
+ + "sage\030h \001(\tB\002\030\001\022=\n\013autoscaling\030\004 \001(\0132(.go"
+ + "ogle.container.v1.NodePoolAutoscaling\0227\n"
+ + "\nmanagement\030\005 \001(\0132#.google.container.v1."
+ + "NodeManagement\022C\n\023max_pods_constraint\030\006 "
+ + "\001(\0132&.google.container.v1.MaxPodsConstra"
+ + "int\0228\n\nconditions\030i \003(\0132$.google.contain"
+ + "er.v1.StatusCondition\022\032\n\022pod_ipv4_cidr_s"
+ + "ize\030\007 \001(\005\022G\n\020upgrade_settings\030k \001(\0132-.go"
+ + "ogle.container.v1.NodePool.UpgradeSettin"
+ + "gs\032=\n\017UpgradeSettings\022\021\n\tmax_surge\030\001 \001(\005"
+ + "\022\027\n\017max_unavailable\030\002 \001(\005\"\201\001\n\006Status\022\026\n\022"
+ + "STATUS_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013"
+ + "\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERROR\020\003\022\017\n\013R"
+ + "ECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005ERROR\020\006\"}\n"
+ + "\016NodeManagement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n"
+ + "\013auto_repair\030\002 \001(\010\022@\n\017upgrade_options\030\n "
+ + "\001(\0132\'.google.container.v1.AutoUpgradeOpt"
+ + "ions\"J\n\022AutoUpgradeOptions\022\037\n\027auto_upgra"
+ + "de_start_time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t"
+ + "\"e\n\021MaintenancePolicy\0226\n\006window\030\001 \001(\0132&."
+ + "google.container.v1.MaintenanceWindow\022\030\n"
+ + "\020resource_version\030\003 \001(\t\"\366\002\n\021MaintenanceW"
+ + "indow\022O\n\030daily_maintenance_window\030\002 \001(\0132"
+ + "+.google.container.v1.DailyMaintenanceWi"
+ + "ndowH\000\022D\n\020recurring_window\030\003 \001(\0132(.googl"
+ + "e.container.v1.RecurringTimeWindowH\000\022a\n\026"
+ + "maintenance_exclusions\030\004 \003(\0132A.google.co"
+ + "ntainer.v1.MaintenanceWindow.Maintenance"
+ + "ExclusionsEntry\032]\n\032MaintenanceExclusions"
+ + "Entry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037.goog"
+ + "le.container.v1.TimeWindow:\0028\001B\010\n\006policy"
+ + "\"\320\001\n\nTimeWindow\022Y\n\035maintenance_exclusion"
+ + "_options\030\003 \001(\01320.google.container.v1.Mai"
+ + "ntenanceExclusionOptionsH\000\022.\n\nstart_time"
+ + "\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en"
+ + "d_time\030\002 \001(\0132\032.google.protobuf.Timestamp"
+ + "B\t\n\007options\"\264\001\n\033MaintenanceExclusionOpti"
+ + "ons\022E\n\005scope\030\001 \001(\01626.google.container.v1"
+ + ".MaintenanceExclusionOptions.Scope\"N\n\005Sc"
+ + "ope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021NO_MINOR_UPGRADE"
+ + "S\020\001\022\035\n\031NO_MINOR_OR_NODE_UPGRADES\020\002\"Z\n\023Re"
+ + "curringTimeWindow\022/\n\006window\030\001 \001(\0132\037.goog"
+ + "le.container.v1.TimeWindow\022\022\n\nrecurrence"
+ + "\030\002 \001(\t\">\n\026DailyMaintenanceWindow\022\022\n\nstar"
+ + "t_time\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\306\001\n\034SetNo"
+ + "dePoolManagementRequest\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\nm"
+ + "anagement\030\005 \001(\0132#.google.container.v1.No"
+ + "deManagementB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\233\001\n\026SetN"
+ + "odePoolSizeRequest\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\022\027\n\nnode_c"
+ + "ount\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\"\212\001\n\036Rollba"
+ + "ckNodePoolUpgradeRequest\022\026\n\nproject_id\030\001"
+ " \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id"
- + "\030\003 \001(\tB\002\030\001\022\016\n\006parent\030\005 \001(\t\"~\n\022GetNodePoo"
- + "lRequest\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\014no"
- + "de_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\"\252\006\n\010N"
- + "odePool\022\014\n\004name\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037."
- + "google.container.v1.NodeConfig\022\032\n\022initia"
- + "l_node_count\030\003 \001(\005\022\021\n\tlocations\030\r \003(\t\022\021\n"
- + "\tself_link\030d \001(\t\022\017\n\007version\030e \001(\t\022\033\n\023ins"
- + "tance_group_urls\030f \003(\t\0224\n\006status\030g \001(\0162$"
- + ".google.container.v1.NodePool.Status\022\032\n\016"
- + "status_message\030h \001(\tB\002\030\001\022=\n\013autoscaling\030"
- + "\004 \001(\0132(.google.container.v1.NodePoolAuto"
- + "scaling\0227\n\nmanagement\030\005 \001(\0132#.google.con"
- + "tainer.v1.NodeManagement\022C\n\023max_pods_con"
- + "straint\030\006 \001(\0132&.google.container.v1.MaxP"
- + "odsConstraint\0228\n\nconditions\030i \003(\0132$.goog"
- + "le.container.v1.StatusCondition\022\032\n\022pod_i"
- + "pv4_cidr_size\030\007 \001(\005\022G\n\020upgrade_settings\030"
- + "k \001(\0132-.google.container.v1.NodePool.Upg"
- + "radeSettings\032=\n\017UpgradeSettings\022\021\n\tmax_s"
- + "urge\030\001 \001(\005\022\027\n\017max_unavailable\030\002 \001(\005\"\201\001\n\006"
- + "Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVIS"
- + "IONING\020\001\022\013\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ER"
- + "ROR\020\003\022\017\n\013RECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005"
- + "ERROR\020\006\"}\n\016NodeManagement\022\024\n\014auto_upgrad"
- + "e\030\001 \001(\010\022\023\n\013auto_repair\030\002 \001(\010\022@\n\017upgrade_"
- + "options\030\n \001(\0132\'.google.container.v1.Auto"
- + "UpgradeOptions\"J\n\022AutoUpgradeOptions\022\037\n\027"
- + "auto_upgrade_start_time\030\001 \001(\t\022\023\n\013descrip"
- + "tion\030\002 \001(\t\"e\n\021MaintenancePolicy\0226\n\006windo"
- + "w\030\001 \001(\0132&.google.container.v1.Maintenanc"
- + "eWindow\022\030\n\020resource_version\030\003 \001(\t\"\366\002\n\021Ma"
- + "intenanceWindow\022O\n\030daily_maintenance_win"
- + "dow\030\002 \001(\0132+.google.container.v1.DailyMai"
- + "ntenanceWindowH\000\022D\n\020recurring_window\030\003 \001"
- + "(\0132(.google.container.v1.RecurringTimeWi"
- + "ndowH\000\022a\n\026maintenance_exclusions\030\004 \003(\0132A"
- + ".google.container.v1.MaintenanceWindow.M"
- + "aintenanceExclusionsEntry\032]\n\032Maintenance"
- + "ExclusionsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 "
- + "\001(\0132\037.google.container.v1.TimeWindow:\0028\001"
- + "B\010\n\006policy\"j\n\nTimeWindow\022.\n\nstart_time\030\001"
- + " \001(\0132\032.google.protobuf.Timestamp\022,\n\010end_"
- + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\"Z"
- + "\n\023RecurringTimeWindow\022/\n\006window\030\001 \001(\0132\037."
- + "google.container.v1.TimeWindow\022\022\n\nrecurr"
- + "ence\030\002 \001(\t\">\n\026DailyMaintenanceWindow\022\022\n\n"
- + "start_time\030\002 \001(\t\022\020\n\010duration\030\003 \001(\t\"\306\001\n\034S"
- + "etNodePoolManagementRequest\022\026\n\nproject_i"
- + "d\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.v"
- + "1.NodeManagementB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\233\001\n\026"
- + "SetNodePoolSizeRequest\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\027\n\nno"
- + "de_count\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\"\212\001\n\036Ro"
- + "llbackNodePoolUpgradeRequest\022\026\n\nproject_"
- + "id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB\002\030\001\022\026\n\ncluste"
- + "r_id\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001"
- + "\022\014\n\004name\030\006 \001(\t\"J\n\025ListNodePoolsResponse\022"
- + "1\n\nnode_pools\030\001 \003(\0132\035.google.container.v"
- + "1.NodePool\"\377\001\n\022ClusterAutoscaling\022$\n\034ena"
- + "ble_node_autoprovisioning\030\001 \001(\010\022;\n\017resou"
- + "rce_limits\030\002 \003(\0132\".google.container.v1.R"
- + "esourceLimit\022b\n#autoprovisioning_node_po"
- + "ol_defaults\030\004 \001(\01325.google.container.v1."
- + "AutoprovisioningNodePoolDefaults\022\"\n\032auto"
- + "provisioning_locations\030\005 \003(\t\"\224\003\n Autopro"
- + "visioningNodePoolDefaults\022\024\n\014oauth_scope"
- + "s\030\001 \003(\t\022\027\n\017service_account\030\002 \001(\t\022G\n\020upgr"
- + "ade_settings\030\003 \001(\0132-.google.container.v1"
- + ".NodePool.UpgradeSettings\0227\n\nmanagement\030"
- + "\004 \001(\0132#.google.container.v1.NodeManageme"
- + "nt\022\030\n\020min_cpu_platform\030\005 \001(\t\022\024\n\014disk_siz",
- "e_gb\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001(\t\022M\n\030shielde"
- + "d_instance_config\030\010 \001(\0132+.google.contain"
- + "er.v1.ShieldedInstanceConfig\022\031\n\021boot_dis"
- + "k_kms_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(\t\"H\n\rR"
- + "esourceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007m"
- + "inimum\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"o\n\023NodePoo"
- + "lAutoscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_nod"
- + "e_count\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n"
- + "\017autoprovisioned\030\004 \001(\010\"\222\002\n\020SetLabelsRequ"
- + "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\022W\n\017resourc"
- + "e_labels\030\004 \003(\01329.google.container.v1.Set"
- + "LabelsRequest.ResourceLabelsEntryB\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\024SetLegacyAbacRequ"
- + "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\024\n\007enabled"
- + "\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\204\001\n\026StartIPRot"
- + "ationRequest\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004"
- + "zone\030\002 \001(\tB\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014"
- + "\n\004name\030\006 \001(\t\022\032\n\022rotate_credentials\030\007 \001(\010"
- + "\"k\n\031CompleteIPRotationRequest\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\014\n\004name\030\007 \001(\t\"H\n\021Acceler"
- + "atorConfig\022\031\n\021accelerator_count\030\001 \001(\003\022\030\n"
- + "\020accelerator_type\030\002 \001(\t\"\232\001\n\026WorkloadMeta"
+ + "\030\003 \001(\tB\002\030\001\022\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022\014\n\004"
+ + "name\030\006 \001(\t\"J\n\025ListNodePoolsResponse\0221\n\nn"
+ + "ode_pools\030\001 \003(\0132\035.google.container.v1.No"
+ + "dePool\"\257\003\n\022ClusterAutoscaling\022$\n\034enable_"
+ + "node_autoprovisioning\030\001 \001(\010\022;\n\017resource_"
+ + "limits\030\002 \003(\0132\".google.container.v1.Resou"
+ + "rceLimit\022W\n\023autoscaling_profile\030\003 \001(\0162:."
+ + "google.container.v1.ClusterAutoscaling.A"
+ + "utoscalingProfile\022b\n#autoprovisioning_no"
+ + "de_pool_defaults\030\004 \001(\01325.google.containe"
+ + "r.v1.AutoprovisioningNodePoolDefaults\022\"\n"
+ + "\032autoprovisioning_locations\030\005 \003(\t\"U\n\022Aut"
+ + "oscalingProfile\022\027\n\023PROFILE_UNSPECIFIED\020\000"
+ + "\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BALANCED\020\002"
+ + "\"\224\003\n AutoprovisioningNodePoolDefaults\022\024\n"
+ + "\014oauth_scopes\030\001 \003(\t\022\027\n\017service_account\030\002"
+ + " \001(\t\022G\n\020upgrade_settings\030\003 \001(\0132-.google."
+ + "container.v1.NodePool.UpgradeSettings\0227\n"
+ + "\nmanagement\030\004 \001(\0132#.google.container.v1."
+ + "NodeManagement\022\030\n\020min_cpu_platform\030\005 \001(\t"
+ + "\022\024\n\014disk_size_gb\030\006 \001(\005\022\021\n\tdisk_type\030\007 \001("
+ + "\t\022M\n\030shielded_instance_config\030\010 \001(\0132+.go"
+ + "ogle.container.v1.ShieldedInstanceConfig"
+ + "\022\031\n\021boot_disk_kms_key\030\t \001(\t\022\022\n\nimage_typ"
+ + "e\030\n \001(\t\"H\n\rResourceLimit\022\025\n\rresource_typ"
+ + "e\030\001 \001(\t\022\017\n\007minimum\030\002 \001(\003\022\017\n\007maximum\030\003 \001("
+ + "\003\"o\n\023NodePoolAutoscaling\022\017\n\007enabled\030\001 \001("
+ + "\010\022\026\n\016min_node_count\030\002 \001(\005\022\026\n\016max_node_co"
+ + "unt\030\003 \001(\005\022\027\n\017autoprovisioned\030\004 \001(\010\"\222\002\n\020S"
+ + "etLabelsRequest\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.cont"
+ + "ainer.v1.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\"|\n\024SetLe"
+ + "gacyAbacRequest\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_id"
+ + "\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_crede"
+ + "ntials\030\007 \001(\010\"k\n\031CompleteIPRotationReques"
+ + "t\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\tB"
+ + "\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\007 \001("
+ + "\t\"d\n\021AcceleratorConfig\022\031\n\021accelerator_co"
+ + "unt\030\001 \001(\003\022\030\n\020accelerator_type\030\002 \001(\t\022\032\n\022g"
+ + "pu_partition_size\030\003 \001(\t\"\232\001\n\026WorkloadMeta"
+ "dataConfig\022>\n\004mode\030\002 \001(\01620.google.contai"
+ "ner.v1.WorkloadMetadataConfig.Mode\"@\n\004Mo"
+ "de\022\024\n\020MODE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA"
@@ -899,298 +1097,375 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\001 \001(\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\ncluster"
+ "_id\030\003 \001(\tB\003\340A\002\022G\n\022maintenance_policy\030\004 \001"
+ "(\0132&.google.container.v1.MaintenancePoli"
- + "cyB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\352\001\n\017StatusConditio"
- + "n\0227\n\004code\030\001 \001(\0162).google.container.v1.St"
- + "atusCondition.Code\022\017\n\007message\030\002 \001(\t\"\214\001\n\004"
- + "Code\022\013\n\007UNKNOWN\020\000\022\020\n\014GCE_STOCKOUT\020\001\022\037\n\033G"
- + "KE_SERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOT"
- + "A_EXCEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLO"
- + "UD_KMS_KEY_ERROR\020\007\"\237\001\n\rNetworkConfig\022\017\n\007"
- + "network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022$\n\034ena"
- + "ble_intra_node_visibility\030\005 \001(\010\022C\n\023defau"
- + "lt_snat_status\030\007 \001(\0132&.google.container."
- + "v1.DefaultSnatStatus\"(\n\026GetOpenIDConfigR"
- + "equest\022\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConf"
- + "igResponse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002"
- + " \001(\t\022 \n\030response_types_supported\030\003 \003(\t\022\037"
- + "\n\027subject_types_supported\030\004 \003(\t\022-\n%id_to"
- + "ken_signing_alg_values_supported\030\005 \003(\t\022\030"
- + "\n\020claims_supported\030\006 \003(\t\022\023\n\013grant_types\030"
- + "\007 \003(\t\"\'\n\025GetJSONWebKeysRequest\022\016\n\006parent"
- + "\030\001 \001(\t\"r\n\003Jwk\022\013\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022"
- + "\013\n\003use\030\003 \001(\t\022\013\n\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001"
- + "e\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\026GetJSONWebKeysResponse\022&\n\004keys\030\001 \003"
- + "(\0132\030.google.container.v1.Jwk\"\216\001\n\016Release"
- + "Channel\022<\n\007channel\030\001 \001(\0162+.google.contai"
- + "ner.v1.ReleaseChannel.Channel\">\n\007Channel"
- + "\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020"
- + "\002\022\n\n\006STABLE\020\003\",\n\031IntraNodeVisibilityConf"
- + "ig\022\017\n\007enabled\030\001 \001(\010\".\n\021MaxPodsConstraint"
- + "\022\031\n\021max_pods_per_node\030\001 \001(\003\"/\n\026WorkloadI"
- + "dentityConfig\022\025\n\rworkload_pool\030\002 \001(\t\"\230\001\n"
- + "\022DatabaseEncryption\022<\n\005state\030\002 \001(\0162-.goo"
- + "gle.container.v1.DatabaseEncryption.Stat"
- + "e\022\020\n\010key_name\030\001 \001(\t\"2\n\005State\022\013\n\007UNKNOWN\020"
- + "\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYPTED\020\002\"e\n\034ListU"
- + "sableSubnetworksRequest\022\016\n\006parent\030\001 \001(\t\022"
- + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa"
- + "ge_token\030\004 \001(\t\"t\n\035ListUsableSubnetworksR"
- + "esponse\022:\n\013subnetworks\030\001 \003(\0132%.google.co"
- + "ntainer.v1.UsableSubnetwork\022\027\n\017next_page"
- + "_token\030\002 \001(\t\"\200\002\n\036UsableSubnetworkSeconda"
- + "ryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\rip_cidr_r"
- + "ange\030\002 \001(\t\022J\n\006status\030\003 \001(\0162:.google.cont"
- + "ainer.v1.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_SHAREABL"
- + "E_POD\020\003\022\026\n\022IN_USE_MANAGED_POD\020\004\"\270\001\n\020Usab"
- + "leSubnetwork\022\022\n\nsubnetwork\030\001 \001(\t\022\017\n\007netw"
- + "ork\030\002 \001(\t\022\025\n\rip_cidr_range\030\003 \001(\t\022P\n\023seco"
- + "ndary_ip_ranges\030\004 \003(\01323.google.container"
- + ".v1.UsableSubnetworkSecondaryRange\022\026\n\016st"
- + "atus_message\030\005 \001(\t\"\355\002\n\031ResourceUsageExpo"
- + "rtConfig\022`\n\024bigquery_destination\030\001 \001(\0132B"
- + ".google.container.v1.ResourceUsageExport"
- + "Config.BigQueryDestination\022&\n\036enable_net"
- + "work_egress_metering\030\002 \001(\010\022m\n\033consumptio"
- + "n_metering_config\030\003 \001(\0132H.google.contain"
- + "er.v1.ResourceUsageExportConfig.Consumpt"
- + "ionMeteringConfig\032)\n\023BigQueryDestination"
- + "\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031ConsumptionMeter"
- + "ingConfig\022\017\n\007enabled\030\001 \001(\010\")\n\026VerticalPo"
- + "dAutoscaling\022\017\n\007enabled\030\001 \001(\010\"%\n\021Default"
- + "SnatStatus\022\020\n\010disabled\030\001 \001(\010\" \n\rShielded"
- + "Nodes\022\017\n\007enabled\030\001 \001(\0102\205F\n\016ClusterManage"
- + "r\022\350\001\n\014ListClusters\022(.google.container.v1"
- + ".ListClustersRequest\032).google.container."
- + "v1.ListClustersResponse\"\202\001\202\323\344\223\002a\022,/v1/{p"
- + "arent=projects/*/locations/*}/clustersZ1"
- + "\022//v1/projects/{project_id}/zones/{zone}"
- + "/clusters\332A\017project_id,zone\332A\006parent\022\355\001\n"
- + "\nGetCluster\022&.google.container.v1.GetClu"
- + "sterRequest\032\034.google.container.v1.Cluste"
- + "r\"\230\001\202\323\344\223\002n\022,/v1/{name=projects/*/locatio"
- + "ns/*/clusters/*}Z>\022\n\007Channel\022\017\n\013UNSPECIFIED"
+ + "\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006STABLE\020\003\","
+ + "\n\031IntraNodeVisibilityConfig\022\017\n\007enabled\030\001"
+ + " \001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007enabled\030\001"
+ + " \001(\010\"\252\002\n\tDNSConfig\022<\n\013cluster_dns\030\001 \001(\0162"
+ + "\'.google.container.v1.DNSConfig.Provider"
+ + "\022B\n\021cluster_dns_scope\030\002 \001(\0162\'.google.con"
+ + "tainer.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_DEFAULT\020\001\022\r\n\t"
+ + "CLOUD_DNS\020\002\"4\n\010DNSScope\022\031\n\025DNS_SCOPE_UNS"
+ + "PECIFIED\020\000\022\r\n\tVPC_SCOPE\020\002\".\n\021MaxPodsCons"
+ + "traint\022\031\n\021max_pods_per_node\030\001 \001(\003\"/\n\026Wor"
+ + "kloadIdentityConfig\022\025\n\rworkload_pool\030\002 \001"
+ + "(\t\"K\n\020MeshCertificates\0227\n\023enable_certifi"
+ + "cates\030\001 \001(\0132\032.google.protobuf.BoolValue\""
+ + "\230\001\n\022DatabaseEncryption\022<\n\005state\030\002 \001(\0162-."
+ + "google.container.v1.DatabaseEncryption.S"
+ + "tate\022\020\n\010key_name\030\001 \001(\t\"2\n\005State\022\013\n\007UNKNO"
+ + "WN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYPTED\020\002\"e\n\034Li"
+ + "stUsableSubnetworksRequest\022\016\n\006parent\030\001 \001"
+ + "(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n"
+ + "\npage_token\030\004 \001(\t\"t\n\035ListUsableSubnetwor"
+ + "ksResponse\022:\n\013subnetworks\030\001 \003(\0132%.google"
+ + ".container.v1.UsableSubnetwork\022\027\n\017next_p"
+ + "age_token\030\002 \001(\t\"\200\002\n\036UsableSubnetworkSeco"
+ + "ndaryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\rip_cid"
+ + "r_range\030\002 \001(\t\022J\n\006status\030\003 \001(\0162:.google.c"
+ + "ontainer.v1.UsableSubnetworkSecondaryRan"
+ + "ge.Status\"g\n\006Status\022\013\n\007UNKNOWN\020\000\022\n\n\006UNUS"
+ + "ED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024IN_USE_SHARE"
+ + "ABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_POD\020\004\"\270\001\n\020U"
+ + "sableSubnetwork\022\022\n\nsubnetwork\030\001 \001(\t\022\017\n\007n"
+ + "etwork\030\002 \001(\t\022\025\n\rip_cidr_range\030\003 \001(\t\022P\n\023s"
+ + "econdary_ip_ranges\030\004 \003(\01323.google.contai"
+ + "ner.v1.UsableSubnetworkSecondaryRange\022\026\n"
+ + "\016status_message\030\005 \001(\t\"\355\002\n\031ResourceUsageE"
+ + "xportConfig\022`\n\024bigquery_destination\030\001 \001("
+ + "\0132B.google.container.v1.ResourceUsageExp"
+ + "ortConfig.BigQueryDestination\022&\n\036enable_"
+ + "network_egress_metering\030\002 \001(\010\022m\n\033consump"
+ + "tion_metering_config\030\003 \001(\0132H.google.cont"
+ + "ainer.v1.ResourceUsageExportConfig.Consu"
+ + "mptionMeteringConfig\032)\n\023BigQueryDestinat"
+ + "ion\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031ConsumptionMe"
+ + "teringConfig\022\017\n\007enabled\030\001 \001(\010\")\n\026Vertica"
+ + "lPodAutoscaling\022\017\n\007enabled\030\001 \001(\010\"%\n\021Defa"
+ + "ultSnatStatus\022\020\n\010disabled\030\001 \001(\010\" \n\rShiel"
+ + "dedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtualNIC\022"
+ + "\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfig\022"
+ + ">\n\006pubsub\030\001 \001(\0132..google.container.v1.No"
+ + "tificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007en"
+ + "abled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsub."
+ + "googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132..g"
+ + "oogle.container.v1.NotificationConfig.Fi"
+ + "lter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.goo"
+ + "gle.container.v1.NotificationConfig.Even"
+ + "tType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPECI"
+ + "FIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n\rU"
+ + "PGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EVEN"
+ + "T\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.UpgradeResourceT"
+ + "ype\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_star"
+ + "t_time\030\003 \001(\0132\032.google.protobuf.Timestamp"
+ + "\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_vers"
+ + "ion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025UpgradeA"
+ + "vailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rresour"
+ + "ce_type\030\002 \001(\0162(.google.container.v1.Upgr"
+ + "adeResourceType\022<\n\017release_channel\030\003 \001(\013"
+ + "2#.google.container.v1.ReleaseChannel\022\020\n"
+ + "\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEven"
+ + "t\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013bul"
+ + "letin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sever"
+ + "ity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021brief"
+ + "_description\030\006 \001(\t\022!\n\031affected_supported"
+ + "_minors\030\007 \003(\t\022\030\n\020patched_versions\030\010 \003(\t\022"
+ + " \n\030suggested_upgrade_target\030\t \001(\t\022\035\n\025man"
+ + "ual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022\017\n"
+ + "\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020compo"
+ + "nent_config\030\001 \001(\0132+.google.container.v1."
+ + "LoggingComponentConfig\"\270\001\n\026LoggingCompon"
+ + "entConfig\022P\n\021enable_components\030\001 \003(\01625.g"
+ + "oogle.container.v1.LoggingComponentConfi"
+ + "g.Component\"L\n\tComponent\022\031\n\025COMPONENT_UN"
+ + "SPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWO"
+ + "RKLOADS\020\002\"\\\n\020MonitoringConfig\022H\n\020compone"
+ + "nt_config\030\001 \001(\0132..google.container.v1.Mo"
+ + "nitoringComponentConfig\"\257\001\n\031MonitoringCo"
+ + "mponentConfig\022S\n\021enable_components\030\001 \003(\016"
+ + "28.google.container.v1.MonitoringCompone"
+ + "ntConfig.Component\"=\n\tComponent\022\031\n\025COMPO"
+ + "NENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020"
+ + "\001*\306\001\n\027PrivateIPv6GoogleAccess\022*\n&PRIVATE"
+ + "_IPV6_GOOGLE_ACCESS_UNSPECIFIED\020\000\022\'\n#PRI"
+ + "VATE_IPV6_GOOGLE_ACCESS_DISABLED\020\001\022(\n$PR"
+ + "IVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE\020\002\022,\n("
+ + "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL"
+ + "\020\003*a\n\020DatapathProvider\022!\n\035DATAPATH_PROVI"
+ + "DER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025"
+ + "\n\021ADVANCED_DATAPATH\020\002*W\n\023UpgradeResource"
+ + "Type\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIE"
+ + "D\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\0022\205F\n\016Clust"
+ + "erManager\022\350\001\n\014ListClusters\022(.google.cont"
+ + "ainer.v1.ListClustersRequest\032).google.co"
+ + "ntainer.v1.ListClustersResponse\"\202\001\202\323\344\223\002a"
+ + "\022,/v1/{parent=projects/*/locations/*}/cl"
+ + "ustersZ1\022//v1/projects/{project_id}/zone"
+ + "s/{zone}/clusters\332A\017project_id,zone\332A\006pa"
+ + "rent\022\355\001\n\nGetCluster\022&.google.container.v"
+ + "1.GetClusterRequest\032\034.google.container.v"
+ + "1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{name=projects/*"
+ + "/locations/*/clusters/*}Z>\022*/v1/{name=projects/*/locat"
- + "ions/*/clusters/*}:setResourceLabels:\001*Z"
- + "P\"K/v1/projects/{project_id}/zones/{zone"
- + "}/clusters/{cluster_id}/resourceLabels:\001"
- + "*\022\245\002\n\rSetLegacyAbac\022).google.container.v"
- + "1.SetLegacyAbacRequest\032\036.google.containe"
- + "r.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1/{name=proj"
- + "ects/*/locations/*/clusters/*}:setLegacy"
- + "Abac:\001*ZL\"G/v1/projects/{project_id}/zon"
- + "es/{zone}/clusters/{cluster_id}/legacyAb"
- + "ac:\001*\332A\"project_id,zone,cluster_id,enabl"
- + "ed\332A\014name,enabled\022\240\002\n\017StartIPRotation\022+."
- + "google.container.v1.StartIPRotationReque"
- + "st\032\036.google.container.v1.Operation\"\277\001\202\323\344"
- + "\223\002\224\001\"*/v1/{name=projects"
+ + "/*/locations/*/clusters/*}:setResourceLa"
+ + "bels:\001*ZP\"K/v1/projects/{project_id}/zon"
+ + "es/{zone}/clusters/{cluster_id}/resource"
+ + "Labels:\001*\022\245\002\n\rSetLegacyAbac\022).google.con"
+ + "tainer.v1.SetLegacyAbacRequest\032\036.google."
+ + "container.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1/{n"
+ + "ame=projects/*/locations/*/clusters/*}:s"
+ + "etLegacyAbac:\001*ZL\"G/v1/projects/{project"
+ + "_id}/zones/{zone}/clusters/{cluster_id}/"
+ + "legacyAbac:\001*\332A\"project_id,zone,cluster_"
+ + "id,enabled\332A\014name,enabled\022\240\002\n\017StartIPRot"
+ + "ation\022+.google.container.v1.StartIPRotat"
+ + "ionRequest\032\036.google.container.v1.Operati"
+ + "on\"\277\001\202\323\344\223\002\224\001\"
+ * 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ @java.lang.Override
+ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder() {
+ return getDesiredMeshCertificates();
+ }
+
public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER = 48;
private com.google.container.v1.ShieldedNodes desiredShieldedNodes_;
/**
@@ -842,6 +1035,54 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB
return getDesiredShieldedNodes();
}
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * DNSConfig contains clusterDNS config for this cluster.
+ *
+ *
+ * .google.container.v1.DNSConfig desired_dns_config = 53;
+ */
+ @java.lang.Override
+ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() {
+ return getDesiredDnsConfig();
+ }
+
public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER = 9;
private com.google.container.v1.NodePoolAutoscaling desiredNodePoolAutoscaling_;
/**
@@ -1499,6 +1740,178 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO
return getDesiredReleaseChannel();
}
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * The desired L4 Internal Load Balancer Subsetting configuration.
+ *
+ *
+ * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;
+ */
+ @java.lang.Override
+ 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() {
+ 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() {
+ @SuppressWarnings("deprecation")
+ 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;
+ *
+ *
+ * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess.
+ */
+ @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;
+ *
+ *
+ * @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_);
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ @java.lang.Override
+ 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_;
/**
@@ -1551,37 +1964,188 @@ public com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticator
return getDesiredAuthenticatorGroupsConfig();
}
- public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER = 100;
- private volatile java.lang.Object desiredMasterVersion_;
+ public static final int DESIRED_LOGGING_CONFIG_FIELD_NUMBER = 64;
+ private com.google.container.v1.LoggingConfig desiredLoggingConfig_;
/**
*
*
*
- * The Kubernetes version to change the master to.
- * Users may specify either explicit versions offered by
- * Kubernetes Engine or version aliases, which have the following behavior:
- * - "latest": picks the highest valid Kubernetes version
- * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
- * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
- * - "1.X.Y-gke.N": picks an explicit Kubernetes version
- * - "-": picks the default Kubernetes version
+ * The desired logging configuration.
*
*
- * string desired_master_version = 100;
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
*
- * @return The desiredMasterVersion.
+ * @return Whether the desiredLoggingConfig field is set.
*/
@java.lang.Override
- public java.lang.String getDesiredMasterVersion() {
- java.lang.Object ref = desiredMasterVersion_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- desiredMasterVersion_ = s;
- return s;
- }
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ @java.lang.Override
+ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder() {
+ return getDesiredLoggingConfig();
+ }
+
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ @java.lang.Override
+ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder() {
+ return getDesiredMonitoringConfig();
+ }
+
+ 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;
+ *
+ *
+ * @return Whether the desiredServiceExternalIpsConfig field is set.
+ */
+ @java.lang.Override
+ 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;
+ *
+ *
+ * @return The desiredServiceExternalIpsConfig.
+ */
+ @java.lang.Override
+ public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() {
+ 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;
+ *
+ */
+ @java.lang.Override
+ public com.google.container.v1.ServiceExternalIPsConfigOrBuilder
+ getDesiredServiceExternalIpsConfigOrBuilder() {
+ return getDesiredServiceExternalIpsConfig();
+ }
+
+ 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
+ * Kubernetes Engine or version aliases, which have the following behavior:
+ * - "latest": picks the highest valid Kubernetes version
+ * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
+ * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
+ * - "1.X.Y-gke.N": picks an explicit Kubernetes version
+ * - "-": picks the default Kubernetes version
+ *
+ *
+ * string desired_master_version = 100;
+ *
+ * @return The desiredMasterVersion.
+ */
+ @java.lang.Override
+ public java.lang.String getDesiredMasterVersion() {
+ java.lang.Object ref = desiredMasterVersion_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ desiredMasterVersion_ = s;
+ return s;
+ }
}
/**
*
@@ -1614,6 +2178,54 @@ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ @java.lang.Override
+ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder() {
+ return getDesiredGcfsConfig();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1679,6 +2291,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (desiredReleaseChannel_ != null) {
output.writeMessage(31, getDesiredReleaseChannel());
}
+ if (desiredL4IlbSubsettingConfig_ != null) {
+ output.writeMessage(39, getDesiredL4IlbSubsettingConfig());
+ }
if (desiredDatabaseEncryption_ != null) {
output.writeMessage(46, getDesiredDatabaseEncryption());
}
@@ -1688,12 +2303,42 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (desiredShieldedNodes_ != null) {
output.writeMessage(48, getDesiredShieldedNodes());
}
+ 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()) {
+ output.writeEnum(51, desiredPrivateIpv6GoogleAccess_);
+ }
+ if (desiredDnsConfig_ != null) {
+ output.writeMessage(53, getDesiredDnsConfig());
+ }
+ if (desiredNotificationConfig_ != null) {
+ output.writeMessage(55, getDesiredNotificationConfig());
+ }
+ if (desiredServiceExternalIpsConfig_ != null) {
+ output.writeMessage(60, getDesiredServiceExternalIpsConfig());
+ }
if (desiredAuthenticatorGroupsConfig_ != null) {
output.writeMessage(63, getDesiredAuthenticatorGroupsConfig());
}
+ if (desiredLoggingConfig_ != null) {
+ output.writeMessage(64, getDesiredLoggingConfig());
+ }
+ if (desiredMonitoringConfig_ != null) {
+ output.writeMessage(65, getDesiredMonitoringConfig());
+ }
+ if (desiredMeshCertificates_ != null) {
+ output.writeMessage(67, getDesiredMeshCertificates());
+ }
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMasterVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 100, desiredMasterVersion_);
}
+ if (desiredGcfsConfig_ != null) {
+ output.writeMessage(109, getDesiredGcfsConfig());
+ }
unknownFields.writeTo(output);
}
@@ -1779,6 +2424,11 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(31, getDesiredReleaseChannel());
}
+ if (desiredL4IlbSubsettingConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 39, getDesiredL4IlbSubsettingConfig());
+ }
if (desiredDatabaseEncryption_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
@@ -1793,14 +2443,55 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(48, getDesiredShieldedNodes());
}
+ 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 (desiredDnsConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getDesiredDnsConfig());
+ }
+ if (desiredNotificationConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 55, getDesiredNotificationConfig());
+ }
+ if (desiredServiceExternalIpsConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 60, getDesiredServiceExternalIpsConfig());
+ }
if (desiredAuthenticatorGroupsConfig_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
63, getDesiredAuthenticatorGroupsConfig());
}
+ if (desiredLoggingConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(64, getDesiredLoggingConfig());
+ }
+ if (desiredMonitoringConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 65, getDesiredMonitoringConfig());
+ }
+ if (desiredMeshCertificates_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 67, getDesiredMeshCertificates());
+ }
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 += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1835,10 +2526,18 @@ public boolean equals(final java.lang.Object obj) {
if (!getDesiredWorkloadIdentityConfig().equals(other.getDesiredWorkloadIdentityConfig()))
return false;
}
+ if (hasDesiredMeshCertificates() != other.hasDesiredMeshCertificates()) return false;
+ if (hasDesiredMeshCertificates()) {
+ if (!getDesiredMeshCertificates().equals(other.getDesiredMeshCertificates())) return false;
+ }
if (hasDesiredShieldedNodes() != other.hasDesiredShieldedNodes()) return false;
if (hasDesiredShieldedNodes()) {
if (!getDesiredShieldedNodes().equals(other.getDesiredShieldedNodes())) return false;
}
+ if (hasDesiredDnsConfig() != other.hasDesiredDnsConfig()) return false;
+ if (hasDesiredDnsConfig()) {
+ if (!getDesiredDnsConfig().equals(other.getDesiredDnsConfig())) return false;
+ }
if (hasDesiredNodePoolAutoscaling() != other.hasDesiredNodePoolAutoscaling()) return false;
if (hasDesiredNodePoolAutoscaling()) {
if (!getDesiredNodePoolAutoscaling().equals(other.getDesiredNodePoolAutoscaling()))
@@ -1893,13 +2592,43 @@ public boolean equals(final java.lang.Object obj) {
if (hasDesiredReleaseChannel()) {
if (!getDesiredReleaseChannel().equals(other.getDesiredReleaseChannel())) return false;
}
+ if (hasDesiredL4IlbSubsettingConfig() != other.hasDesiredL4IlbSubsettingConfig()) return false;
+ if (hasDesiredL4IlbSubsettingConfig()) {
+ 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 (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 (hasDesiredMonitoringConfig() != other.hasDesiredMonitoringConfig()) return false;
+ if (hasDesiredMonitoringConfig()) {
+ if (!getDesiredMonitoringConfig().equals(other.getDesiredMonitoringConfig())) return false;
+ }
+ if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig())
+ return false;
+ if (hasDesiredServiceExternalIpsConfig()) {
+ if (!getDesiredServiceExternalIpsConfig().equals(other.getDesiredServiceExternalIpsConfig()))
+ 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 (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -1931,10 +2660,18 @@ public int hashCode() {
hash = (37 * hash) + DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getDesiredWorkloadIdentityConfig().hashCode();
}
+ if (hasDesiredMeshCertificates()) {
+ hash = (37 * hash) + DESIRED_MESH_CERTIFICATES_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredMeshCertificates().hashCode();
+ }
if (hasDesiredShieldedNodes()) {
hash = (37 * hash) + DESIRED_SHIELDED_NODES_FIELD_NUMBER;
hash = (53 * hash) + getDesiredShieldedNodes().hashCode();
}
+ if (hasDesiredDnsConfig()) {
+ hash = (37 * hash) + DESIRED_DNS_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredDnsConfig().hashCode();
+ }
if (hasDesiredNodePoolAutoscaling()) {
hash = (37 * hash) + DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER;
hash = (53 * hash) + getDesiredNodePoolAutoscaling().hashCode();
@@ -1981,12 +2718,40 @@ public int hashCode() {
hash = (37 * hash) + DESIRED_RELEASE_CHANNEL_FIELD_NUMBER;
hash = (53 * hash) + getDesiredReleaseChannel().hashCode();
}
+ if (hasDesiredL4IlbSubsettingConfig()) {
+ hash = (37 * hash) + DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredL4IlbSubsettingConfig().hashCode();
+ }
+ hash = (37 * hash) + DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER;
+ hash = (53 * hash) + desiredDatapathProvider_;
+ hash = (37 * hash) + DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER;
+ hash = (53 * hash) + desiredPrivateIpv6GoogleAccess_;
+ if (hasDesiredNotificationConfig()) {
+ hash = (37 * hash) + DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredNotificationConfig().hashCode();
+ }
if (hasDesiredAuthenticatorGroupsConfig()) {
hash = (37 * hash) + DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getDesiredAuthenticatorGroupsConfig().hashCode();
}
+ if (hasDesiredLoggingConfig()) {
+ hash = (37 * hash) + DESIRED_LOGGING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredLoggingConfig().hashCode();
+ }
+ if (hasDesiredMonitoringConfig()) {
+ hash = (37 * hash) + DESIRED_MONITORING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredMonitoringConfig().hashCode();
+ }
+ if (hasDesiredServiceExternalIpsConfig()) {
+ hash = (37 * hash) + DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredServiceExternalIpsConfig().hashCode();
+ }
hash = (37 * hash) + DESIRED_MASTER_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getDesiredMasterVersion().hashCode();
+ if (hasDesiredGcfsConfig()) {
+ hash = (37 * hash) + DESIRED_GCFS_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getDesiredGcfsConfig().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -2159,12 +2924,24 @@ public Builder clear() {
desiredWorkloadIdentityConfig_ = null;
desiredWorkloadIdentityConfigBuilder_ = null;
}
+ if (desiredMeshCertificatesBuilder_ == null) {
+ desiredMeshCertificates_ = null;
+ } else {
+ desiredMeshCertificates_ = null;
+ desiredMeshCertificatesBuilder_ = null;
+ }
if (desiredShieldedNodesBuilder_ == null) {
desiredShieldedNodes_ = null;
} else {
desiredShieldedNodes_ = null;
desiredShieldedNodesBuilder_ = null;
}
+ if (desiredDnsConfigBuilder_ == null) {
+ desiredDnsConfig_ = null;
+ } else {
+ desiredDnsConfig_ = null;
+ desiredDnsConfigBuilder_ = null;
+ }
if (desiredNodePoolAutoscalingBuilder_ == null) {
desiredNodePoolAutoscaling_ = null;
} else {
@@ -2229,14 +3006,54 @@ public Builder clear() {
desiredReleaseChannel_ = null;
desiredReleaseChannelBuilder_ = null;
}
+ if (desiredL4IlbSubsettingConfigBuilder_ == null) {
+ desiredL4IlbSubsettingConfig_ = null;
+ } else {
+ desiredL4IlbSubsettingConfig_ = null;
+ desiredL4IlbSubsettingConfigBuilder_ = null;
+ }
+ desiredDatapathProvider_ = 0;
+
+ desiredPrivateIpv6GoogleAccess_ = 0;
+
+ if (desiredNotificationConfigBuilder_ == null) {
+ desiredNotificationConfig_ = null;
+ } else {
+ desiredNotificationConfig_ = null;
+ desiredNotificationConfigBuilder_ = null;
+ }
if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
desiredAuthenticatorGroupsConfig_ = null;
} else {
desiredAuthenticatorGroupsConfig_ = null;
desiredAuthenticatorGroupsConfigBuilder_ = null;
}
+ if (desiredLoggingConfigBuilder_ == null) {
+ desiredLoggingConfig_ = null;
+ } else {
+ desiredLoggingConfig_ = null;
+ desiredLoggingConfigBuilder_ = null;
+ }
+ if (desiredMonitoringConfigBuilder_ == null) {
+ desiredMonitoringConfig_ = null;
+ } else {
+ desiredMonitoringConfig_ = null;
+ desiredMonitoringConfigBuilder_ = null;
+ }
+ if (desiredServiceExternalIpsConfigBuilder_ == null) {
+ desiredServiceExternalIpsConfig_ = null;
+ } else {
+ desiredServiceExternalIpsConfig_ = null;
+ desiredServiceExternalIpsConfigBuilder_ = null;
+ }
desiredMasterVersion_ = "";
+ if (desiredGcfsConfigBuilder_ == null) {
+ desiredGcfsConfig_ = null;
+ } else {
+ desiredGcfsConfig_ = null;
+ desiredGcfsConfigBuilder_ = null;
+ }
return this;
}
@@ -2284,11 +3101,21 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
} else {
result.desiredWorkloadIdentityConfig_ = desiredWorkloadIdentityConfigBuilder_.build();
}
+ if (desiredMeshCertificatesBuilder_ == null) {
+ result.desiredMeshCertificates_ = desiredMeshCertificates_;
+ } else {
+ result.desiredMeshCertificates_ = desiredMeshCertificatesBuilder_.build();
+ }
if (desiredShieldedNodesBuilder_ == null) {
result.desiredShieldedNodes_ = desiredShieldedNodes_;
} else {
result.desiredShieldedNodes_ = desiredShieldedNodesBuilder_.build();
}
+ if (desiredDnsConfigBuilder_ == null) {
+ result.desiredDnsConfig_ = desiredDnsConfig_;
+ } else {
+ result.desiredDnsConfig_ = desiredDnsConfigBuilder_.build();
+ }
if (desiredNodePoolAutoscalingBuilder_ == null) {
result.desiredNodePoolAutoscaling_ = desiredNodePoolAutoscaling_;
} else {
@@ -2346,12 +3173,44 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
} else {
result.desiredReleaseChannel_ = desiredReleaseChannelBuilder_.build();
}
+ if (desiredL4IlbSubsettingConfigBuilder_ == null) {
+ result.desiredL4IlbSubsettingConfig_ = desiredL4IlbSubsettingConfig_;
+ } else {
+ result.desiredL4IlbSubsettingConfig_ = desiredL4IlbSubsettingConfigBuilder_.build();
+ }
+ result.desiredDatapathProvider_ = desiredDatapathProvider_;
+ result.desiredPrivateIpv6GoogleAccess_ = desiredPrivateIpv6GoogleAccess_;
+ if (desiredNotificationConfigBuilder_ == null) {
+ result.desiredNotificationConfig_ = desiredNotificationConfig_;
+ } else {
+ result.desiredNotificationConfig_ = desiredNotificationConfigBuilder_.build();
+ }
if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
result.desiredAuthenticatorGroupsConfig_ = desiredAuthenticatorGroupsConfig_;
} else {
result.desiredAuthenticatorGroupsConfig_ = desiredAuthenticatorGroupsConfigBuilder_.build();
}
+ if (desiredLoggingConfigBuilder_ == null) {
+ result.desiredLoggingConfig_ = desiredLoggingConfig_;
+ } else {
+ result.desiredLoggingConfig_ = desiredLoggingConfigBuilder_.build();
+ }
+ if (desiredMonitoringConfigBuilder_ == null) {
+ result.desiredMonitoringConfig_ = desiredMonitoringConfig_;
+ } else {
+ result.desiredMonitoringConfig_ = desiredMonitoringConfigBuilder_.build();
+ }
+ if (desiredServiceExternalIpsConfigBuilder_ == null) {
+ result.desiredServiceExternalIpsConfig_ = desiredServiceExternalIpsConfig_;
+ } else {
+ result.desiredServiceExternalIpsConfig_ = desiredServiceExternalIpsConfigBuilder_.build();
+ }
result.desiredMasterVersion_ = desiredMasterVersion_;
+ if (desiredGcfsConfigBuilder_ == null) {
+ result.desiredGcfsConfig_ = desiredGcfsConfig_;
+ } else {
+ result.desiredGcfsConfig_ = desiredGcfsConfigBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -2426,9 +3285,15 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) {
if (other.hasDesiredWorkloadIdentityConfig()) {
mergeDesiredWorkloadIdentityConfig(other.getDesiredWorkloadIdentityConfig());
}
+ if (other.hasDesiredMeshCertificates()) {
+ mergeDesiredMeshCertificates(other.getDesiredMeshCertificates());
+ }
if (other.hasDesiredShieldedNodes()) {
mergeDesiredShieldedNodes(other.getDesiredShieldedNodes());
}
+ if (other.hasDesiredDnsConfig()) {
+ mergeDesiredDnsConfig(other.getDesiredDnsConfig());
+ }
if (other.hasDesiredNodePoolAutoscaling()) {
mergeDesiredNodePoolAutoscaling(other.getDesiredNodePoolAutoscaling());
}
@@ -2474,13 +3339,37 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) {
if (other.hasDesiredReleaseChannel()) {
mergeDesiredReleaseChannel(other.getDesiredReleaseChannel());
}
+ if (other.hasDesiredL4IlbSubsettingConfig()) {
+ mergeDesiredL4IlbSubsettingConfig(other.getDesiredL4IlbSubsettingConfig());
+ }
+ if (other.desiredDatapathProvider_ != 0) {
+ setDesiredDatapathProviderValue(other.getDesiredDatapathProviderValue());
+ }
+ if (other.desiredPrivateIpv6GoogleAccess_ != 0) {
+ setDesiredPrivateIpv6GoogleAccessValue(other.getDesiredPrivateIpv6GoogleAccessValue());
+ }
+ if (other.hasDesiredNotificationConfig()) {
+ mergeDesiredNotificationConfig(other.getDesiredNotificationConfig());
+ }
if (other.hasDesiredAuthenticatorGroupsConfig()) {
mergeDesiredAuthenticatorGroupsConfig(other.getDesiredAuthenticatorGroupsConfig());
}
+ if (other.hasDesiredLoggingConfig()) {
+ mergeDesiredLoggingConfig(other.getDesiredLoggingConfig());
+ }
+ if (other.hasDesiredMonitoringConfig()) {
+ mergeDesiredMonitoringConfig(other.getDesiredMonitoringConfig());
+ }
+ if (other.hasDesiredServiceExternalIpsConfig()) {
+ mergeDesiredServiceExternalIpsConfig(other.getDesiredServiceExternalIpsConfig());
+ }
if (!other.getDesiredMasterVersion().isEmpty()) {
desiredMasterVersion_ = other.desiredMasterVersion_;
onChanged();
}
+ if (other.hasDesiredGcfsConfig()) {
+ mergeDesiredGcfsConfig(other.getDesiredGcfsConfig());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -3612,39 +4501,234 @@ public Builder clearDesiredWorkloadIdentityConfig() {
return desiredWorkloadIdentityConfigBuilder_;
}
- private com.google.container.v1.ShieldedNodes desiredShieldedNodes_;
+ private com.google.container.v1.MeshCertificates desiredMeshCertificates_;
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.MeshCertificates,
+ com.google.container.v1.MeshCertificates.Builder,
+ com.google.container.v1.MeshCertificatesOrBuilder>
+ desiredMeshCertificatesBuilder_;
/**
*
*
*
- * Configuration for Shielded Nodes.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48;
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
*
- * @return Whether the desiredShieldedNodes field is set.
+ * @return Whether the desiredMeshCertificates field is set.
*/
- public boolean hasDesiredShieldedNodes() {
- return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null;
+ public boolean hasDesiredMeshCertificates() {
+ return desiredMeshCertificatesBuilder_ != null || desiredMeshCertificates_ != null;
}
/**
*
*
*
- * Configuration for Shielded Nodes.
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
*
*
- * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48;
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
*
- * @return The desiredShieldedNodes.
+ * @return The desiredMeshCertificates.
*/
- public com.google.container.v1.ShieldedNodes getDesiredShieldedNodes() {
- if (desiredShieldedNodesBuilder_ == null) {
+ public com.google.container.v1.MeshCertificates getDesiredMeshCertificates() {
+ if (desiredMeshCertificatesBuilder_ == null) {
+ 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.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ public Builder setDesiredMeshCertificates(com.google.container.v1.MeshCertificates value) {
+ if (desiredMeshCertificatesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredMeshCertificates_ = value;
+ onChanged();
+ } else {
+ desiredMeshCertificatesBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ public Builder setDesiredMeshCertificates(
+ com.google.container.v1.MeshCertificates.Builder builderForValue) {
+ if (desiredMeshCertificatesBuilder_ == null) {
+ desiredMeshCertificates_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredMeshCertificatesBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ public Builder mergeDesiredMeshCertificates(com.google.container.v1.MeshCertificates value) {
+ if (desiredMeshCertificatesBuilder_ == null) {
+ if (desiredMeshCertificates_ != null) {
+ desiredMeshCertificates_ =
+ com.google.container.v1.MeshCertificates.newBuilder(desiredMeshCertificates_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ desiredMeshCertificates_ = value;
+ }
+ onChanged();
+ } else {
+ desiredMeshCertificatesBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ public Builder clearDesiredMeshCertificates() {
+ if (desiredMeshCertificatesBuilder_ == null) {
+ desiredMeshCertificates_ = null;
+ onChanged();
+ } else {
+ desiredMeshCertificates_ = null;
+ desiredMeshCertificatesBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .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.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder() {
+ if (desiredMeshCertificatesBuilder_ != null) {
+ return desiredMeshCertificatesBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredMeshCertificates_ == null
+ ? com.google.container.v1.MeshCertificates.getDefaultInstance()
+ : desiredMeshCertificates_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Configuration for issuance of mTLS keys and certificates to Kubernetes
+ * pods.
+ *
+ *
+ * .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>
+ 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());
+ desiredMeshCertificates_ = null;
+ }
+ return desiredMeshCertificatesBuilder_;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * 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_;
@@ -3798,6 +4882,191 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB
return desiredShieldedNodesBuilder_;
}
+ 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_;
+ /**
+ *
+ *
+ *
+ * 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_;
+ } else {
+ return desiredDnsConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * DNSConfig contains clusterDNS config for this cluster.
+ *
+ *
+ * .google.container.v1.DNSConfig desired_dns_config = 53;
+ */
+ public Builder setDesiredDnsConfig(com.google.container.v1.DNSConfig value) {
+ if (desiredDnsConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredDnsConfig_ = value;
+ onChanged();
+ } else {
+ desiredDnsConfigBuilder_.setMessage(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) {
+ if (desiredDnsConfigBuilder_ == null) {
+ desiredDnsConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredDnsConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * DNSConfig contains clusterDNS config for this cluster.
+ *
+ *
+ * .google.container.v1.DNSConfig desired_dns_config = 53;
+ */
+ 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();
+ } else {
+ desiredDnsConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredDnsConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * DNSConfig contains clusterDNS config for this cluster.
+ *
+ *
+ * .google.container.v1.DNSConfig desired_dns_config = 53;
+ */
+ public Builder clearDesiredDnsConfig() {
+ if (desiredDnsConfigBuilder_ == null) {
+ desiredDnsConfig_ = null;
+ onChanged();
+ } else {
+ desiredDnsConfig_ = null;
+ desiredDnsConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * DNSConfig contains clusterDNS config for this cluster.
+ *
+ *
+ * .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.
+ *
+ *
+ * .google.container.v1.DNSConfig desired_dns_config = 53;
+ */
+ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() {
+ if (desiredDnsConfigBuilder_ != null) {
+ return desiredDnsConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredDnsConfig_ == null
+ ? com.google.container.v1.DNSConfig.getDefaultInstance()
+ : desiredDnsConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * DNSConfig contains clusterDNS config for this cluster.
+ *
+ *
+ * .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>
+ 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());
+ desiredDnsConfig_ = null;
+ }
+ return desiredDnsConfigBuilder_;
+ }
+
private com.google.container.v1.NodePoolAutoscaling desiredNodePoolAutoscaling_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.container.v1.NodePoolAutoscaling,
@@ -6149,72 +7418,1221 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO
return desiredReleaseChannelBuilder_;
}
- private com.google.container.v1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_;
+ private com.google.container.v1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_;
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.ILBSubsettingConfig,
+ com.google.container.v1.ILBSubsettingConfig.Builder,
+ com.google.container.v1.ILBSubsettingConfigOrBuilder>
+ desiredL4IlbSubsettingConfigBuilder_;
/**
*
*
*
- * The desired authenticator groups config for the cluster.
+ * The desired L4 Internal Load Balancer Subsetting configuration.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
- *
+ * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;
*
- * @return Whether the desiredAuthenticatorGroupsConfig field is set.
+ * @return Whether the desiredL4ilbSubsettingConfig field is set.
*/
- public boolean hasDesiredAuthenticatorGroupsConfig() {
- return desiredAuthenticatorGroupsConfigBuilder_ != null
- || desiredAuthenticatorGroupsConfig_ != null;
+ public boolean hasDesiredL4IlbSubsettingConfig() {
+ return desiredL4IlbSubsettingConfigBuilder_ != null || desiredL4IlbSubsettingConfig_ != null;
}
/**
*
*
*
- * The desired authenticator groups config for the cluster.
+ * The desired L4 Internal Load Balancer Subsetting configuration.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
- *
+ * .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_;
+ } 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) {
+ if (desiredL4IlbSubsettingConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredL4IlbSubsettingConfig_ = value;
+ onChanged();
+ } else {
+ desiredL4IlbSubsettingConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * 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.Builder builderForValue) {
+ if (desiredL4IlbSubsettingConfigBuilder_ == null) {
+ desiredL4IlbSubsettingConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredL4IlbSubsettingConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ 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) {
+ if (desiredL4IlbSubsettingConfigBuilder_ == null) {
+ if (desiredL4IlbSubsettingConfig_ != null) {
+ desiredL4IlbSubsettingConfig_ =
+ com.google.container.v1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ desiredL4IlbSubsettingConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredL4IlbSubsettingConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired L4 Internal Load Balancer Subsetting configuration.
+ *
+ *
+ * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;
+ */
+ public Builder clearDesiredL4IlbSubsettingConfig() {
+ if (desiredL4IlbSubsettingConfigBuilder_ == null) {
+ desiredL4IlbSubsettingConfig_ = null;
+ onChanged();
+ } else {
+ desiredL4IlbSubsettingConfig_ = null;
+ desiredL4IlbSubsettingConfigBuilder_ = null;
+ }
+
+ 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() {
+
+ 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() {
+ if (desiredL4IlbSubsettingConfigBuilder_ != null) {
+ return desiredL4IlbSubsettingConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredL4IlbSubsettingConfig_ == null
+ ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance()
+ : desiredL4IlbSubsettingConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired L4 Internal Load Balancer Subsetting configuration.
+ *
+ *
+ * .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>
+ 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());
+ desiredL4IlbSubsettingConfig_ = null;
+ }
+ return desiredL4IlbSubsettingConfigBuilder_;
+ }
+
+ 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() {
+ 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_);
+ 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.
+ */
+ public Builder setDesiredDatapathProvider(com.google.container.v1.DatapathProvider value) {
+ 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;
+ }
+
+ private int desiredPrivateIpv6GoogleAccess_ = 0;
+ /**
+ *
+ *
+ *
+ * The desired state of IPv6 connectivity to Google Services.
+ *
+ *
+ * .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() {
+ return desiredPrivateIpv6GoogleAccess_;
+ }
+ /**
+ *
+ *
+ *
+ * The desired state of IPv6 connectivity to Google Services.
+ *
+ *
+ * .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;
+ *
+ *
+ * @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_);
+ 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;
+ *
+ *
+ * @param value The desiredPrivateIpv6GoogleAccess to set.
+ * @return This builder for chaining.
+ */
+ 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;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDesiredPrivateIpv6GoogleAccess() {
+
+ desiredPrivateIpv6GoogleAccess_ = 0;
+ onChanged();
+ return this;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * 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_;
+ } else {
+ return desiredNotificationConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ public Builder setDesiredNotificationConfig(com.google.container.v1.NotificationConfig value) {
+ if (desiredNotificationConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredNotificationConfig_ = value;
+ onChanged();
+ } else {
+ desiredNotificationConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ public Builder setDesiredNotificationConfig(
+ com.google.container.v1.NotificationConfig.Builder builderForValue) {
+ if (desiredNotificationConfigBuilder_ == null) {
+ desiredNotificationConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredNotificationConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ 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();
+ } else {
+ desiredNotificationConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredNotificationConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ public Builder clearDesiredNotificationConfig() {
+ if (desiredNotificationConfigBuilder_ == null) {
+ desiredNotificationConfig_ = null;
+ onChanged();
+ } else {
+ desiredNotificationConfig_ = null;
+ desiredNotificationConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ 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() {
+ if (desiredNotificationConfigBuilder_ != null) {
+ return desiredNotificationConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredNotificationConfig_ == null
+ ? com.google.container.v1.NotificationConfig.getDefaultInstance()
+ : desiredNotificationConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired notification configuration.
+ *
+ *
+ * .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>
+ 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());
+ desiredNotificationConfig_ = null;
+ }
+ return desiredNotificationConfigBuilder_;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * The desired authenticator groups config for the cluster.
+ *
+ *
+ *
+ * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ *
+ *
+ * @return Whether the desiredAuthenticatorGroupsConfig field is set.
+ */
+ public boolean hasDesiredAuthenticatorGroupsConfig() {
+ return desiredAuthenticatorGroupsConfigBuilder_ != null
+ || desiredAuthenticatorGroupsConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The desired authenticator groups config for the cluster.
+ *
+ *
+ *
+ * .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_;
+ public com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() {
+ if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
+ 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;
+ *
+ */
+ public Builder setDesiredAuthenticatorGroupsConfig(
+ com.google.container.v1.AuthenticatorGroupsConfig value) {
+ if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredAuthenticatorGroupsConfig_ = value;
+ onChanged();
+ } else {
+ desiredAuthenticatorGroupsConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired authenticator groups config for the cluster.
+ *
+ *
+ *
+ * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ *
+ */
+ public Builder setDesiredAuthenticatorGroupsConfig(
+ com.google.container.v1.AuthenticatorGroupsConfig.Builder builderForValue) {
+ if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
+ desiredAuthenticatorGroupsConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredAuthenticatorGroupsConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired authenticator groups config for the cluster.
+ *
+ *
+ *
+ * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ *
+ */
+ 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();
+ } else {
+ desiredAuthenticatorGroupsConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredAuthenticatorGroupsConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired authenticator groups config for the cluster.
+ *
+ *
+ *
+ * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ *
+ */
+ public Builder clearDesiredAuthenticatorGroupsConfig() {
+ if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
+ desiredAuthenticatorGroupsConfig_ = null;
+ onChanged();
+ } else {
+ desiredAuthenticatorGroupsConfig_ = null;
+ desiredAuthenticatorGroupsConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired authenticator groups config for the cluster.
+ *
+ *
+ *
+ * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ *
+ */
+ 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;
+ *
+ */
+ public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder
+ getDesiredAuthenticatorGroupsConfigOrBuilder() {
+ if (desiredAuthenticatorGroupsConfigBuilder_ != null) {
+ return desiredAuthenticatorGroupsConfigBuilder_.getMessageOrBuilder();
+ } else {
+ 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;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ desiredAuthenticatorGroupsConfig_ = null;
+ }
+ return desiredAuthenticatorGroupsConfigBuilder_;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * 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_;
+ } else {
+ return desiredLoggingConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ public Builder setDesiredLoggingConfig(com.google.container.v1.LoggingConfig value) {
+ if (desiredLoggingConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredLoggingConfig_ = value;
+ onChanged();
+ } else {
+ desiredLoggingConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ public Builder setDesiredLoggingConfig(
+ com.google.container.v1.LoggingConfig.Builder builderForValue) {
+ if (desiredLoggingConfigBuilder_ == null) {
+ desiredLoggingConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredLoggingConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ public Builder mergeDesiredLoggingConfig(com.google.container.v1.LoggingConfig value) {
+ if (desiredLoggingConfigBuilder_ == null) {
+ if (desiredLoggingConfig_ != null) {
+ desiredLoggingConfig_ =
+ com.google.container.v1.LoggingConfig.newBuilder(desiredLoggingConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ desiredLoggingConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredLoggingConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ public Builder clearDesiredLoggingConfig() {
+ if (desiredLoggingConfigBuilder_ == null) {
+ desiredLoggingConfig_ = null;
+ onChanged();
+ } else {
+ desiredLoggingConfig_ = null;
+ desiredLoggingConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ public com.google.container.v1.LoggingConfig.Builder getDesiredLoggingConfigBuilder() {
+
+ onChanged();
+ return getDesiredLoggingConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder() {
+ if (desiredLoggingConfigBuilder_ != null) {
+ return desiredLoggingConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredLoggingConfig_ == null
+ ? com.google.container.v1.LoggingConfig.getDefaultInstance()
+ : desiredLoggingConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired logging configuration.
+ *
+ *
+ * .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>
+ 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());
+ desiredLoggingConfig_ = null;
+ }
+ return desiredLoggingConfigBuilder_;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * 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_;
+ } else {
+ return desiredMonitoringConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ public Builder setDesiredMonitoringConfig(com.google.container.v1.MonitoringConfig value) {
+ if (desiredMonitoringConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredMonitoringConfig_ = value;
+ onChanged();
+ } else {
+ desiredMonitoringConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ public Builder setDesiredMonitoringConfig(
+ com.google.container.v1.MonitoringConfig.Builder builderForValue) {
+ if (desiredMonitoringConfigBuilder_ == null) {
+ desiredMonitoringConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredMonitoringConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ public Builder mergeDesiredMonitoringConfig(com.google.container.v1.MonitoringConfig value) {
+ if (desiredMonitoringConfigBuilder_ == null) {
+ if (desiredMonitoringConfig_ != null) {
+ desiredMonitoringConfig_ =
+ com.google.container.v1.MonitoringConfig.newBuilder(desiredMonitoringConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ desiredMonitoringConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredMonitoringConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ public Builder clearDesiredMonitoringConfig() {
+ if (desiredMonitoringConfigBuilder_ == null) {
+ desiredMonitoringConfig_ = null;
+ onChanged();
} else {
- return desiredAuthenticatorGroupsConfigBuilder_.getMessage();
+ desiredMonitoringConfig_ = null;
+ desiredMonitoringConfigBuilder_ = null;
}
+
+ return this;
}
/**
*
*
*
- * The desired authenticator groups config for the cluster.
+ * The desired monitoring configuration.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ public com.google.container.v1.MonitoringConfig.Builder getDesiredMonitoringConfigBuilder() {
+
+ onChanged();
+ return getDesiredMonitoringConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder() {
+ if (desiredMonitoringConfigBuilder_ != null) {
+ return desiredMonitoringConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredMonitoringConfig_ == null
+ ? com.google.container.v1.MonitoringConfig.getDefaultInstance()
+ : desiredMonitoringConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired monitoring configuration.
+ *
+ *
+ * .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>
+ 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());
+ desiredMonitoringConfig_ = null;
+ }
+ return desiredMonitoringConfigBuilder_;
+ }
+
+ 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_;
+ /**
+ *
+ *
+ *
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
+ *
+ *
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
+ *
+ * @return Whether the desiredServiceExternalIpsConfig field is set.
*/
- public Builder setDesiredAuthenticatorGroupsConfig(
- com.google.container.v1.AuthenticatorGroupsConfig value) {
- if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
+ public boolean hasDesiredServiceExternalIpsConfig() {
+ 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;
+ *
+ *
+ * @return The desiredServiceExternalIpsConfig.
+ */
+ public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() {
+ if (desiredServiceExternalIpsConfigBuilder_ == null) {
+ 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;
+ *
+ */
+ public Builder setDesiredServiceExternalIpsConfig(
+ com.google.container.v1.ServiceExternalIPsConfig value) {
+ if (desiredServiceExternalIpsConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- desiredAuthenticatorGroupsConfig_ = value;
+ desiredServiceExternalIpsConfig_ = value;
onChanged();
} else {
- desiredAuthenticatorGroupsConfigBuilder_.setMessage(value);
+ desiredServiceExternalIpsConfigBuilder_.setMessage(value);
}
return this;
@@ -6223,20 +8641,20 @@ public Builder setDesiredAuthenticatorGroupsConfig(
*
*
*
- * The desired authenticator groups config for the cluster.
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
*/
- public Builder setDesiredAuthenticatorGroupsConfig(
- com.google.container.v1.AuthenticatorGroupsConfig.Builder builderForValue) {
- if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
- desiredAuthenticatorGroupsConfig_ = builderForValue.build();
+ public Builder setDesiredServiceExternalIpsConfig(
+ com.google.container.v1.ServiceExternalIPsConfig.Builder builderForValue) {
+ if (desiredServiceExternalIpsConfigBuilder_ == null) {
+ desiredServiceExternalIpsConfig_ = builderForValue.build();
onChanged();
} else {
- desiredAuthenticatorGroupsConfigBuilder_.setMessage(builderForValue.build());
+ desiredServiceExternalIpsConfigBuilder_.setMessage(builderForValue.build());
}
return this;
@@ -6245,28 +8663,28 @@ public Builder setDesiredAuthenticatorGroupsConfig(
*
*
*
- * The desired authenticator groups config for the cluster.
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
*/
- public Builder mergeDesiredAuthenticatorGroupsConfig(
- com.google.container.v1.AuthenticatorGroupsConfig value) {
- if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
- if (desiredAuthenticatorGroupsConfig_ != null) {
- desiredAuthenticatorGroupsConfig_ =
- com.google.container.v1.AuthenticatorGroupsConfig.newBuilder(
- desiredAuthenticatorGroupsConfig_)
+ 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();
} else {
- desiredAuthenticatorGroupsConfig_ = value;
+ desiredServiceExternalIpsConfig_ = value;
}
onChanged();
} else {
- desiredAuthenticatorGroupsConfigBuilder_.mergeFrom(value);
+ desiredServiceExternalIpsConfigBuilder_.mergeFrom(value);
}
return this;
@@ -6275,20 +8693,20 @@ public Builder mergeDesiredAuthenticatorGroupsConfig(
*
*
*
- * The desired authenticator groups config for the cluster.
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
*/
- public Builder clearDesiredAuthenticatorGroupsConfig() {
- if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
- desiredAuthenticatorGroupsConfig_ = null;
+ public Builder clearDesiredServiceExternalIpsConfig() {
+ if (desiredServiceExternalIpsConfigBuilder_ == null) {
+ desiredServiceExternalIpsConfig_ = null;
onChanged();
} else {
- desiredAuthenticatorGroupsConfig_ = null;
- desiredAuthenticatorGroupsConfigBuilder_ = null;
+ desiredServiceExternalIpsConfig_ = null;
+ desiredServiceExternalIpsConfigBuilder_ = null;
}
return this;
@@ -6297,66 +8715,66 @@ public Builder clearDesiredAuthenticatorGroupsConfig() {
*
*
*
- * The desired authenticator groups config for the cluster.
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
*/
- public com.google.container.v1.AuthenticatorGroupsConfig.Builder
- getDesiredAuthenticatorGroupsConfigBuilder() {
+ public com.google.container.v1.ServiceExternalIPsConfig.Builder
+ getDesiredServiceExternalIpsConfigBuilder() {
onChanged();
- return getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder();
+ return getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder();
}
/**
*
*
*
- * The desired authenticator groups config for the cluster.
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
*/
- public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder
- getDesiredAuthenticatorGroupsConfigOrBuilder() {
- if (desiredAuthenticatorGroupsConfigBuilder_ != null) {
- return desiredAuthenticatorGroupsConfigBuilder_.getMessageOrBuilder();
+ public com.google.container.v1.ServiceExternalIPsConfigOrBuilder
+ getDesiredServiceExternalIpsConfigOrBuilder() {
+ if (desiredServiceExternalIpsConfigBuilder_ != null) {
+ return desiredServiceExternalIpsConfigBuilder_.getMessageOrBuilder();
} else {
- return desiredAuthenticatorGroupsConfig_ == null
- ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance()
- : desiredAuthenticatorGroupsConfig_;
+ return desiredServiceExternalIpsConfig_ == null
+ ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()
+ : desiredServiceExternalIpsConfig_;
}
}
/**
*
*
*
- * The desired authenticator groups config for the cluster.
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
*
*
- *
- * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63;
+ * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.container.v1.AuthenticatorGroupsConfig,
- com.google.container.v1.AuthenticatorGroupsConfig.Builder,
- com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>
- getDesiredAuthenticatorGroupsConfigFieldBuilder() {
- if (desiredAuthenticatorGroupsConfigBuilder_ == null) {
- desiredAuthenticatorGroupsConfigBuilder_ =
+ 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.AuthenticatorGroupsConfig,
- com.google.container.v1.AuthenticatorGroupsConfig.Builder,
- com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>(
- getDesiredAuthenticatorGroupsConfig(), getParentForChildren(), isClean());
- desiredAuthenticatorGroupsConfig_ = null;
+ com.google.container.v1.ServiceExternalIPsConfig,
+ com.google.container.v1.ServiceExternalIPsConfig.Builder,
+ com.google.container.v1.ServiceExternalIPsConfigOrBuilder>(
+ getDesiredServiceExternalIpsConfig(), getParentForChildren(), isClean());
+ desiredServiceExternalIpsConfig_ = null;
}
- return desiredAuthenticatorGroupsConfigBuilder_;
+ return desiredServiceExternalIpsConfigBuilder_;
}
private java.lang.Object desiredMasterVersion_ = "";
@@ -6500,6 +8918,192 @@ public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value
return this;
}
+ 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_;
+ /**
+ *
+ *
+ *
+ * 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_;
+ } else {
+ return desiredGcfsConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ public Builder setDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) {
+ if (desiredGcfsConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ desiredGcfsConfig_ = value;
+ onChanged();
+ } else {
+ desiredGcfsConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ public Builder setDesiredGcfsConfig(
+ com.google.container.v1.GcfsConfig.Builder builderForValue) {
+ if (desiredGcfsConfigBuilder_ == null) {
+ desiredGcfsConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ desiredGcfsConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ 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();
+ } else {
+ desiredGcfsConfig_ = value;
+ }
+ onChanged();
+ } else {
+ desiredGcfsConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ public Builder clearDesiredGcfsConfig() {
+ if (desiredGcfsConfigBuilder_ == null) {
+ desiredGcfsConfig_ = null;
+ onChanged();
+ } else {
+ desiredGcfsConfig_ = null;
+ desiredGcfsConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .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
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder() {
+ if (desiredGcfsConfigBuilder_ != null) {
+ return desiredGcfsConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return desiredGcfsConfig_ == null
+ ? com.google.container.v1.GcfsConfig.getDefaultInstance()
+ : desiredGcfsConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The desired GCFS config for the cluster
+ *
+ *
+ * .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>
+ 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());
+ desiredGcfsConfig_ = null;
+ }
+ return desiredGcfsConfigBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java
index 6593ef7f..73cc5b46 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java
@@ -269,6 +269,44 @@ public interface ClusterUpdateOrBuilder
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.
+ *
+ *
+ * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
+ */
+ com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder();
+
/**
*
*
@@ -304,6 +342,41 @@ public interface ClusterUpdateOrBuilder
*/
com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder();
+ /**
+ *
+ *
+ *
+ * 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.
+ *
+ *
+ * .google.container.v1.DNSConfig desired_dns_config = 53;
+ */
+ com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder();
+
/**
*
*
@@ -791,6 +864,128 @@ 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.
+ *
+ *
+ * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39;
+ */
+ 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;
+ *
+ *
+ * @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;
+ *
+ *
+ * @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.
+ *
+ *
+ * .google.container.v1.NotificationConfig desired_notification_config = 55;
+ */
+ com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder();
+
/**
*
*
@@ -830,6 +1025,118 @@ public interface ClusterUpdateOrBuilder
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.
+ *
+ *
+ * .google.container.v1.LoggingConfig desired_logging_config = 64;
+ */
+ 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.
+ *
+ *
+ * .google.container.v1.MonitoringConfig desired_monitoring_config = 65;
+ */
+ com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * ServiceExternalIPsConfig specifies the config for the use of Services with
+ * ExternalIPs field.
+ *
+ *
+ * .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;
+ *
+ *
+ * @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;
+ *
+ */
+ com.google.container.v1.ServiceExternalIPsConfigOrBuilder
+ getDesiredServiceExternalIpsConfigOrBuilder();
+
/**
*
*
@@ -868,4 +1175,39 @@ public interface ClusterUpdateOrBuilder
* @return The bytes for desiredMasterVersion.
*/
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
+ *
+ *
+ * .google.container.v1.GcfsConfig desired_gcfs_config = 109;
+ */
+ com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder();
}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java
new file mode 100644
index 00000000..8408a31e
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java
@@ -0,0 +1,550 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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.
+ *
+ *
+ * Protobuf type {@code google.container.v1.ConfidentialNodes}
+ */
+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;
+ // Use ConfidentialNodes.newBuilder() to construct.
+ private ConfidentialNodes(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ConfidentialNodes() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ConfidentialNodes();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ConfidentialNodes(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ enabled_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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 for all nodes in this
+ * cluster.
+ *
+ *
+ * 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_);
+ }
+ unknownFields.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 += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.ConfidentialNodes)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.ConfidentialNodes other =
+ (com.google.container.v1.ConfidentialNodes) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.ConfidentialNodes 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.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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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.
+ *
+ *
+ * Protobuf type {@code google.container.v1.ConfidentialNodes}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Whether Confidential Nodes feature is enabled for all nodes in this
+ * cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ public boolean getEnabled() {
+ return enabled_;
+ }
+ /**
+ *
+ *
+ *
+ * Whether Confidential Nodes feature is enabled for 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 Confidential Nodes feature is enabled for 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.ConfidentialNodes getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Whether Confidential Nodes feature is enabled for all nodes in this
+ * cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java
new file mode 100644
index 00000000..dd60fd46
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java
@@ -0,0 +1,1227 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.DNSConfig)
+ DNSConfigOrBuilder {
+ 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;
+ clusterDnsDomain_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DNSConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private DNSConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ int rawValue = input.readEnum();
+
+ clusterDns_ = rawValue;
+ break;
+ }
+ case 16:
+ {
+ int rawValue = input.readEnum();
+
+ clusterDnsScope_ = rawValue;
+ break;
+ }
+ case 26:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ clusterDnsDomain_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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 {
+ /**
+ *
+ *
+ *
+ * Default value
+ *
+ *
+ * PROVIDER_UNSPECIFIED = 0;
+ */
+ PROVIDER_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Use GKE default DNS provider(kube-dns) for DNS resolution.
+ *
+ *
+ * PLATFORM_DEFAULT = 1;
+ */
+ PLATFORM_DEFAULT(1),
+ /**
+ *
+ *
+ *
+ * Use CloudDNS for DNS resolution.
+ *
+ *
+ * CLOUD_DNS = 2;
+ */
+ CLOUD_DNS(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Default value
+ *
+ *
+ * PROVIDER_UNSPECIFIED = 0;
+ */
+ public static final int PROVIDER_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * Use GKE default DNS provider(kube-dns) for DNS resolution.
+ *
+ *
+ * PLATFORM_DEFAULT = 1;
+ */
+ public static final int PLATFORM_DEFAULT_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Use CloudDNS for DNS resolution.
+ *
+ *
+ * CLOUD_DNS = 2;
+ */
+ public static final int CLOUD_DNS_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Provider valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Provider forNumber(int value) {
+ switch (value) {
+ 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
+ * 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 {
+ /**
+ *
+ *
+ *
+ * Default value, will be inferred as cluster scope.
+ *
+ *
+ * DNS_SCOPE_UNSPECIFIED = 0;
+ */
+ DNS_SCOPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * DNS records are accessible from within the VPC.
+ *
+ *
+ * VPC_SCOPE = 2;
+ */
+ VPC_SCOPE(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Default value, will be inferred as cluster scope.
+ *
+ *
+ * DNS_SCOPE_UNSPECIFIED = 0;
+ */
+ public static final int DNS_SCOPE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * DNS records are accessible from within the VPC.
+ *
+ *
+ * VPC_SCOPE = 2;
+ */
+ public static final int VPC_SCOPE_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static DNSScope valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static DNSScope forNumber(int value) {
+ switch (value) {
+ case 0:
+ return DNS_SCOPE_UNSPECIFIED;
+ case 2:
+ return VPC_SCOPE;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * 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() {
+ 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() {
+ @SuppressWarnings("deprecation")
+ 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() {
+ 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() {
+ @SuppressWarnings("deprecation")
+ 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
+ public java.lang.String getClusterDnsDomain() {
+ java.lang.Object ref = clusterDnsDomain_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ 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() {
+ 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);
+ clusterDnsDomain_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (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()) {
+ output.writeEnum(2, clusterDnsScope_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterDnsDomain_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ 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 (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_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.DNSConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.DNSConfig other = (com.google.container.v1.DNSConfig) obj;
+
+ if (clusterDns_ != other.clusterDns_) return false;
+ if (clusterDnsScope_ != other.clusterDnsScope_) return false;
+ if (!getClusterDnsDomain().equals(other.getClusterDnsDomain())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + CLUSTER_DNS_FIELD_NUMBER;
+ hash = (53 * hash) + clusterDns_;
+ hash = (37 * hash) + CLUSTER_DNS_SCOPE_FIELD_NUMBER;
+ hash = (53 * hash) + clusterDnsScope_;
+ hash = (37 * hash) + CLUSTER_DNS_DOMAIN_FIELD_NUMBER;
+ hash = (53 * hash) + getClusterDnsDomain().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.DNSConfig 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.DNSConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ 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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * 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() {
+ 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_);
+ 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.
+ */
+ 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;
+ }
+
+ 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() {
+ 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_);
+ 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.
+ */
+ public Builder setClusterDnsScope(com.google.container.v1.DNSConfig.DNSScope value) {
+ 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;
+ }
+
+ 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;
+ java.lang.String s = bs.toStringUtf8();
+ clusterDnsDomain_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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() {
+ java.lang.Object ref = clusterDnsDomain_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ clusterDnsDomain_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * 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) {
+ if (value == null) {
+ 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ clusterDnsDomain_ = value;
+ 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.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();
+ }
+
+ public static com.google.container.v1.DNSConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * 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();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java
new file mode 100644
index 00000000..9d5e4b98
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java
@@ -0,0 +1,183 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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.
+ *
+ *
+ * Protobuf enum {@code google.container.v1.DatapathProvider}
+ */
+public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Default value.
+ *
+ *
+ * DATAPATH_PROVIDER_UNSPECIFIED = 0;
+ */
+ DATAPATH_PROVIDER_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Use the IPTables implementation based on kube-proxy.
+ *
+ *
+ * LEGACY_DATAPATH = 1;
+ */
+ LEGACY_DATAPATH(1),
+ /**
+ *
+ *
+ *
+ * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
+ * Dataplane V2
+ * documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2)
+ * for more.
+ *
+ *
+ * ADVANCED_DATAPATH = 2;
+ */
+ ADVANCED_DATAPATH(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Default value.
+ *
+ *
+ * DATAPATH_PROVIDER_UNSPECIFIED = 0;
+ */
+ public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * Use the IPTables implementation based on kube-proxy.
+ *
+ *
+ * LEGACY_DATAPATH = 1;
+ */
+ public static final int LEGACY_DATAPATH_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
+ * Dataplane V2
+ * documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2)
+ * for more.
+ *
+ *
+ * ADVANCED_DATAPATH = 2;
+ */
+ public static final int ADVANCED_DATAPATH_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static DatapathProvider valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static 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;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.GcePersistentDiskCsiDriverConfig)
+ GcePersistentDiskCsiDriverConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GcePersistentDiskCsiDriverConfig.newBuilder() to construct.
+ private GcePersistentDiskCsiDriverConfig(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private GcePersistentDiskCsiDriverConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GcePersistentDiskCsiDriverConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private GcePersistentDiskCsiDriverConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ enabled_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ 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_);
+ }
+ unknownFields.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 += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.GcePersistentDiskCsiDriverConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.GcePersistentDiskCsiDriverConfig other =
+ (com.google.container.v1.GcePersistentDiskCsiDriverConfig) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom(
+ 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)
+ 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)
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * Whether the Compute Engine PD CSI driver is enabled for this cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.GcePersistentDiskCsiDriverConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Whether the Compute Engine PD CSI driver is enabled for this cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java
new file mode 100644
index 00000000..0a77bb99
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java
@@ -0,0 +1,543 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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).
+ *
+ *
+ * Protobuf type {@code google.container.v1.GcfsConfig}
+ */
+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;
+ // Use GcfsConfig.newBuilder() to construct.
+ private GcfsConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private GcfsConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GcfsConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private GcfsConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ enabled_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ 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_);
+ }
+ unknownFields.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 += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.GcfsConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.GcfsConfig other = (com.google.container.v1.GcfsConfig) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.GcfsConfig 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.GcfsConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ 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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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).
+ *
+ *
+ * Protobuf type {@code google.container.v1.GcfsConfig}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Whether to use GCFS.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.GcfsConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Whether to use GCFS.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java
new file mode 100644
index 00000000..742f5f6b
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java
@@ -0,0 +1,546 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.GcpFilestoreCsiDriverConfig)
+ GcpFilestoreCsiDriverConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GcpFilestoreCsiDriverConfig.newBuilder() to construct.
+ private GcpFilestoreCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private GcpFilestoreCsiDriverConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GcpFilestoreCsiDriverConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private GcpFilestoreCsiDriverConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ enabled_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ 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_);
+ }
+ unknownFields.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 += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.GcpFilestoreCsiDriverConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.GcpFilestoreCsiDriverConfig other =
+ (com.google.container.v1.GcpFilestoreCsiDriverConfig) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom(
+ 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)
+ 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)
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * Whether the GCP Filestore CSI driver is enabled for this cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.GcpFilestoreCsiDriverConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Whether the GCP Filestore CSI driver is enabled for this cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java
index f60a1ef1..6ac5a843 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java
@@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -142,7 +142,7 @@ public java.lang.String getParent() {
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -485,7 +485,7 @@ public Builder mergeFrom(
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -508,7 +508,7 @@ public java.lang.String getParent() {
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -531,7 +531,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -553,7 +553,7 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -571,7 +571,7 @@ public Builder clearParent() {
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java
index 8a930e15..b0e8910c 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface GetOpenIDConfigRequestOrBuilder
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
@@ -40,7 +40,7 @@ public interface GetOpenIDConfigRequestOrBuilder
*
*
*
- * The cluster (project, location, cluster id) to get the discovery document
+ * The cluster (project, location, cluster name) to get the discovery document
* for. Specified in the format `projects/*/locations/*/clusters/*`.
*
*
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java
new file mode 100644
index 00000000..39b8f483
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java
@@ -0,0 +1,546 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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.
+ *
+ *
+ * Protobuf type {@code google.container.v1.ILBSubsettingConfig}
+ */
+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;
+ // Use ILBSubsettingConfig.newBuilder() to construct.
+ private ILBSubsettingConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ILBSubsettingConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ILBSubsettingConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ILBSubsettingConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ enabled_ = input.readBool();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ 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_);
+ }
+ unknownFields.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 += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.ILBSubsettingConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.ILBSubsettingConfig other =
+ (com.google.container.v1.ILBSubsettingConfig) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.ILBSubsettingConfig 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.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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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.
+ *
+ *
+ * Protobuf type {@code google.container.v1.ILBSubsettingConfig}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Enables l4 ILB subsetting for this cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.ILBSubsettingConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Enables l4 ILB subsetting for this cluster.
+ *
+ *
+ * bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java
new file mode 100644
index 00000000..32180e69
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java
@@ -0,0 +1,899 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.LinuxNodeConfig)
+ LinuxNodeConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use LinuxNodeConfig.newBuilder() to construct.
+ private LinuxNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private LinuxNodeConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LinuxNodeConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private LinuxNodeConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ sysctls_ =
+ com.google.protobuf.MapField.newMapField(
+ SysctlsDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ @java.lang.Override
+ public boolean containsSysctls(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetSysctls().getMap().containsKey(key);
+ }
+ /** Use {@link #getSysctlsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ @java.lang.Override
+ public java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * 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 java.lang.NullPointerException();
+ }
+ java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ @java.lang.Override
+ public java.lang.String getSysctlsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map
+ * 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
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ @java.lang.Override
+ public boolean containsSysctls(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetSysctls().getMap().containsKey(key);
+ }
+ /** Use {@link #getSysctlsMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ @java.lang.Override
+ public java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * 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 java.lang.NullPointerException();
+ }
+ java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ @java.lang.Override
+ public java.lang.String getSysctlsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ public Builder removeSysctls(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableSysctls().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ public Builder putSysctls(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ if (value == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableSysctls().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ public Builder putAllSysctls(java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ int getSysctlsCount();
+ /**
+ *
+ *
+ *
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ boolean containsSysctls(java.lang.String key);
+ /** Use {@link #getSysctlsMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ java.util.Map
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.String defaultValue);
+ /**
+ *
+ *
+ *
+ * The Linux kernel parameters to be applied to the nodes and all pods running
+ * on the nodes.
+ * The following parameters are supported.
+ * net.core.netdev_max_backlog
+ * net.core.rmem_max
+ * net.core.wmem_default
+ * net.core.wmem_max
+ * net.core.optmem_max
+ * net.core.somaxconn
+ * net.ipv4.tcp_rmem
+ * net.ipv4.tcp_wmem
+ * net.ipv4.tcp_tw_reuse
+ *
+ *
+ * map<string, string> sysctls = 1;
+ */
+ java.lang.String getSysctlsOrThrow(java.lang.String key);
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java
new file mode 100644
index 00000000..05339097
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java
@@ -0,0 +1,1030 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.LoggingComponentConfig)
+ LoggingComponentConfigOrBuilder {
+ 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) {
+ return new LoggingComponentConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private LoggingComponentConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ int rawValue = input.readEnum();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ enableComponents_ = new java.util.ArrayList
+ * GKE components exposing logs
+ *
+ *
+ * Protobuf enum {@code google.container.v1.LoggingComponentConfig.Component}
+ */
+ public enum Component implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Default value. This shouldn't be used.
+ *
+ *
+ * COMPONENT_UNSPECIFIED = 0;
+ */
+ COMPONENT_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * system components
+ *
+ *
+ * SYSTEM_COMPONENTS = 1;
+ */
+ SYSTEM_COMPONENTS(1),
+ /**
+ *
+ *
+ *
+ * workloads
+ *
+ *
+ * WORKLOADS = 2;
+ */
+ WORKLOADS(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Default value. This shouldn't be used.
+ *
+ *
+ * COMPONENT_UNSPECIFIED = 0;
+ */
+ public static final int COMPONENT_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * system components
+ *
+ *
+ * SYSTEM_COMPONENTS = 1;
+ */
+ public static final int SYSTEM_COMPONENTS_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * workloads
+ *
+ *
+ * WORKLOADS = 2;
+ */
+ public static final int WORKLOADS_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Component valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Component forNumber(int value) {
+ switch (value) {
+ case 0:
+ return COMPONENT_UNSPECIFIED;
+ case 1:
+ return SYSTEM_COMPONENTS;
+ case 2:
+ return WORKLOADS;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return A list containing the enableComponents.
+ */
+ @java.lang.Override
+ public java.util.List
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return The count of enableComponents.
+ */
+ @java.lang.Override
+ 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;
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The enableComponents at the given index.
+ */
+ @java.lang.Override
+ public com.google.container.v1.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.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
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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.
+ */
+ @java.lang.Override
+ 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;
+ 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 {
+ getSerializedSize();
+ if (getEnableComponentsList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(enableComponentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < enableComponents_.size(); i++) {
+ output.writeEnumNoTag(enableComponents_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < enableComponents_.size(); 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;
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.LoggingComponentConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.LoggingComponentConfig other =
+ (com.google.container.v1.LoggingComponentConfig) obj;
+
+ if (!enableComponents_.equals(other.enableComponents_)) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getEnableComponentsCount() > 0) {
+ hash = (37 * hash) + ENABLE_COMPONENTS_FIELD_NUMBER;
+ hash = (53 * hash) + enableComponents_.hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.LoggingComponentConfig 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.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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return A list containing the enableComponents.
+ */
+ public java.util.List
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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;
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The enableComponents at the given index.
+ */
+ public com.google.container.v1.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.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.
+ */
+ public Builder setEnableComponents(
+ int index, com.google.container.v1.LoggingComponentConfig.Component value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEnableComponentsIsMutable();
+ enableComponents_.set(index, value.getNumber());
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEnableComponentsIsMutable();
+ enableComponents_.add(value.getNumber());
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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 extends com.google.container.v1.LoggingComponentConfig.Component>
+ values) {
+ ensureEnableComponentsIsMutable();
+ for (com.google.container.v1.LoggingComponentConfig.Component value : values) {
+ enableComponents_.add(value.getNumber());
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnableComponents() {
+ enableComponents_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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.
+ */
+ 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;
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of enableComponents at the given index.
+ * @return This builder for chaining.
+ */
+ public Builder setEnableComponentsValue(int index, int value) {
+ 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;
+ *
+ *
+ * @param value The enum numeric value on the wire for enableComponents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addEnableComponentsValue(int value) {
+ ensureEnableComponentsIsMutable();
+ enableComponents_.add(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;
+ *
+ *
+ * @param values The enum numeric values on the wire for enableComponents to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllEnableComponentsValue(java.lang.Iterable
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return A list containing the enableComponents.
+ */
+ java.util.List
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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;
+ *
+ *
+ * @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;
+ *
+ *
+ * @return A list containing the enum numeric values on the wire for enableComponents.
+ */
+ java.util.List
+ * Select components to collect logs. An empty set would disable all logging.
+ *
+ *
+ * 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.
+ */
+ int getEnableComponentsValue(int index);
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java
new file mode 100644
index 00000000..f123c84e
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java
@@ -0,0 +1,730 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.LoggingConfig)
+ LoggingConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use LoggingConfig.newBuilder() to construct.
+ private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private LoggingConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new LoggingConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private LoggingConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.container.v1.LoggingComponentConfig.Builder subBuilder = null;
+ if (componentConfig_ != null) {
+ subBuilder = componentConfig_.toBuilder();
+ }
+ componentConfig_ =
+ input.readMessage(
+ com.google.container.v1.LoggingComponentConfig.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(componentConfig_);
+ componentConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ 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_;
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ @java.lang.Override
+ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() {
+ return getComponentConfig();
+ }
+
+ 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 (componentConfig_ != null) {
+ output.writeMessage(1, getComponentConfig());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (componentConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.LoggingConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.LoggingConfig other = (com.google.container.v1.LoggingConfig) obj;
+
+ if (hasComponentConfig() != other.hasComponentConfig()) return false;
+ if (hasComponentConfig()) {
+ if (!getComponentConfig().equals(other.getComponentConfig())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasComponentConfig()) {
+ hash = (37 * hash) + COMPONENT_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getComponentConfig().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.LoggingConfig 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.LoggingConfig parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ 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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * 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_;
+ } else {
+ return componentConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ public Builder setComponentConfig(com.google.container.v1.LoggingComponentConfig value) {
+ if (componentConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ componentConfig_ = value;
+ onChanged();
+ } else {
+ componentConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ public Builder setComponentConfig(
+ com.google.container.v1.LoggingComponentConfig.Builder builderForValue) {
+ if (componentConfigBuilder_ == null) {
+ componentConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ componentConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ public Builder mergeComponentConfig(com.google.container.v1.LoggingComponentConfig value) {
+ if (componentConfigBuilder_ == null) {
+ if (componentConfig_ != null) {
+ componentConfig_ =
+ com.google.container.v1.LoggingComponentConfig.newBuilder(componentConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ componentConfig_ = value;
+ }
+ onChanged();
+ } else {
+ componentConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ public Builder clearComponentConfig() {
+ if (componentConfigBuilder_ == null) {
+ componentConfig_ = null;
+ onChanged();
+ } else {
+ componentConfig_ = null;
+ componentConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ public com.google.container.v1.LoggingComponentConfig.Builder getComponentConfigBuilder() {
+
+ onChanged();
+ return getComponentConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() {
+ if (componentConfigBuilder_ != null) {
+ return componentConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return componentConfig_ == null
+ ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance()
+ : componentConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Logging components configuration
+ *
+ *
+ * .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>
+ 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());
+ componentConfig_ = null;
+ }
+ return componentConfigBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.LoggingConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * 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
+ *
+ *
+ * .google.container.v1.LoggingComponentConfig component_config = 1;
+ */
+ com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java
new file mode 100644
index 00000000..b59e78dd
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java
@@ -0,0 +1,789 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.MaintenanceExclusionOptions)
+ MaintenanceExclusionOptionsOrBuilder {
+ 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) {
+ return new MaintenanceExclusionOptions();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private MaintenanceExclusionOptions(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ int rawValue = input.readEnum();
+
+ scope_ = rawValue;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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 {
+ /**
+ *
+ *
+ *
+ * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
+ * upgrades across control planes and nodes. This is the default exclusion
+ * behavior.
+ *
+ *
+ * NO_UPGRADES = 0;
+ */
+ NO_UPGRADES(0),
+ /**
+ *
+ *
+ *
+ * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
+ * patches are allowed.
+ *
+ *
+ * NO_MINOR_UPGRADES = 1;
+ */
+ 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
+ * plane patches are allowed.
+ *
+ *
+ * NO_MINOR_OR_NODE_UPGRADES = 2;
+ */
+ NO_MINOR_OR_NODE_UPGRADES(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
+ * upgrades across control planes and nodes. This is the default exclusion
+ * behavior.
+ *
+ *
+ * NO_UPGRADES = 0;
+ */
+ public static final int NO_UPGRADES_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
+ * patches are allowed.
+ *
+ *
+ * NO_MINOR_UPGRADES = 1;
+ */
+ 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
+ * plane patches are allowed.
+ *
+ *
+ * NO_MINOR_OR_NODE_UPGRADES = 2;
+ */
+ public static final int NO_MINOR_OR_NODE_UPGRADES_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Scope valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static 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;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * 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() {
+ 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() {
+ @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;
+ }
+
+ 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 (scope_
+ != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) {
+ output.writeEnum(1, scope_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ 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_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.MaintenanceExclusionOptions)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.MaintenanceExclusionOptions other =
+ (com.google.container.v1.MaintenanceExclusionOptions) obj;
+
+ if (scope_ != other.scope_) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + SCOPE_FIELD_NUMBER;
+ hash = (53 * hash) + scope_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.container.v1.MaintenanceExclusionOptions parseFrom(
+ 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)
+ 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)
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * 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() {
+ 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;
+ }
+ /**
+ *
+ *
+ *
+ * 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.
+ */
+ public Builder setScope(com.google.container.v1.MaintenanceExclusionOptions.Scope value) {
+ 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) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.MaintenanceExclusionOptions getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * 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/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java
new file mode 100644
index 00000000..b7264c92
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java
@@ -0,0 +1,801 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.MeshCertificates)
+ MeshCertificatesOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use MeshCertificates.newBuilder() to construct.
+ private MeshCertificates(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private MeshCertificates() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MeshCertificates();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private MeshCertificates(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.protobuf.BoolValue.Builder subBuilder = null;
+ if (enableCertificates_ != null) {
+ subBuilder = enableCertificates_.toBuilder();
+ }
+ enableCertificates_ =
+ input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(enableCertificates_);
+ enableCertificates_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.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
+ .ensureFieldAccessorsInitialized(
+ 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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ *
+ * @return Whether the enableCertificates field is set.
+ */
+ @java.lang.Override
+ 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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .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_;
+ }
+ /**
+ *
+ *
+ *
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ @java.lang.Override
+ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
+ return getEnableCertificates();
+ }
+
+ 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 (enableCertificates_ != null) {
+ output.writeMessage(1, getEnableCertificates());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (enableCertificates_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.MeshCertificates)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.MeshCertificates other = (com.google.container.v1.MeshCertificates) obj;
+
+ if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
+ if (hasEnableCertificates()) {
+ if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasEnableCertificates()) {
+ hash = (37 * hash) + ENABLE_CERTIFICATES_FIELD_NUMBER;
+ hash = (53 * hash) + getEnableCertificates().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ 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)
+ 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)
+ 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);
+ }
+
+ public static com.google.container.v1.MeshCertificates 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.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)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .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_;
+ } else {
+ return enableCertificatesBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
+ if (enableCertificatesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ enableCertificates_ = value;
+ onChanged();
+ } else {
+ enableCertificatesBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
+ if (enableCertificatesBuilder_ == null) {
+ enableCertificates_ = builderForValue.build();
+ onChanged();
+ } else {
+ enableCertificatesBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
+ if (enableCertificatesBuilder_ == null) {
+ if (enableCertificates_ != null) {
+ enableCertificates_ =
+ com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ enableCertificates_ = value;
+ }
+ onChanged();
+ } else {
+ enableCertificatesBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ public Builder clearEnableCertificates() {
+ if (enableCertificatesBuilder_ == null) {
+ enableCertificates_ = null;
+ onChanged();
+ } else {
+ enableCertificates_ = null;
+ enableCertificatesBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
+ if (enableCertificatesBuilder_ != null) {
+ return enableCertificatesBuilder_.getMessageOrBuilder();
+ } else {
+ 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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ 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());
+ enableCertificates_ = null;
+ }
+ return enableCertificatesBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.container.v1.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();
+ }
+
+ public static com.google.container.v1.MeshCertificates getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * enable_certificates controls issuance of workload mTLS certificates.
+ * If set, the GKE Workload Identity Certificates controller and node agent
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .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
+ * will be deployed in the cluster, which can then be configured by creating a
+ * WorkloadCertificateConfig Custom Resource.
+ * Requires Workload Identity
+ * ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
+ * must be non-empty).
+ *
+ *
+ * .google.protobuf.BoolValue enable_certificates = 1;
+ */
+ com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder();
+}
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
new file mode 100644
index 00000000..aeb20d6e
--- /dev/null
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
@@ -0,0 +1,1043 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations 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
+ // @@protoc_insertion_point(message_implements:google.container.v1.MonitoringComponentConfig)
+ MonitoringComponentConfigOrBuilder {
+ 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) {
+ return new MonitoringComponentConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private MonitoringComponentConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ int rawValue = input.readEnum();
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ enableComponents_ = new java.util.ArrayList
+ * GKE components exposing metrics
+ *
+ *
+ * Protobuf enum {@code google.container.v1.MonitoringComponentConfig.Component}
+ */
+ public enum Component implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Default value. This shouldn't be used.
+ *
+ *
+ * COMPONENT_UNSPECIFIED = 0;
+ */
+ COMPONENT_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * system components
+ *
+ *
+ * SYSTEM_COMPONENTS = 1;
+ */
+ SYSTEM_COMPONENTS(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Default value. This shouldn't be used.
+ *
+ *
+ * COMPONENT_UNSPECIFIED = 0;
+ */
+ public static final int COMPONENT_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * system components
+ *
+ *
+ * SYSTEM_COMPONENTS = 1;
+ */
+ public static final int SYSTEM_COMPONENTS_VALUE = 1;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Component valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Component forNumber(int value) {
+ switch (value) {
+ case 0:
+ return COMPONENT_UNSPECIFIED;
+ case 1:
+ return SYSTEM_COMPONENTS;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Select components to collect metrics. An empty set would disable all
+ * monitoring.
+ *
+ *
+ * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return A list containing the enableComponents.
+ */
+ @java.lang.Override
+ public java.util.List
+ * Select components to collect metrics. An empty set would disable all
+ * monitoring.
+ *
+ *
+ * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;
+ *
+ *
+ * @return The count of enableComponents.
+ */
+ @java.lang.Override
+ 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;
+ *
+ *
+ * @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) {
+ 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;
+ *
+ *
+ * @return A list containing the enum numeric values on the wire for enableComponents.
+ */
+ @java.lang.Override
+ public java.util.List
+ * Select components to collect metrics. An empty set would disable all
+ * monitoring.
+ *
+ *
+ * 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.
+ */
+ @java.lang.Override
+ 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;
+ 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 {
+ getSerializedSize();
+ if (getEnableComponentsList().size() > 0) {
+ output.writeUInt32NoTag(10);
+ output.writeUInt32NoTag(enableComponentsMemoizedSerializedSize);
+ }
+ for (int i = 0; i < enableComponents_.size(); i++) {
+ output.writeEnumNoTag(enableComponents_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < enableComponents_.size(); 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;
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.container.v1.MonitoringComponentConfig)) {
+ return super.equals(obj);
+ }
+ com.google.container.v1.MonitoringComponentConfig other =
+ (com.google.container.v1.MonitoringComponentConfig) obj;
+
+ if (!enableComponents_.equals(other.enableComponents_)) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getEnableComponentsCount() > 0) {
+ hash = (37 * hash) + ENABLE_COMPONENTS_FIELD_NUMBER;
+ hash = (53 * hash) + enableComponents_.hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.container.v1.MonitoringComponentConfig parseFrom(
+ 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)
+ 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)
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ 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);
+ }
+
+ 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);
+ }
+
+ @java.lang.Override
+ 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);
+ }
+
+ @java.lang.Override
+ 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