Class AddonsConfig.Builder (2.17.0)

public static final class AddonsConfig.Builder extends GeneratedMessageV3.Builder<AddonsConfig.Builder> implements AddonsConfigOrBuilder

Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.

Protobuf type google.container.v1.AddonsConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AddonsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AddonsConfig.Builder
Overrides

build()

public AddonsConfig build()
Returns
TypeDescription
AddonsConfig

buildPartial()

public AddonsConfig buildPartial()
Returns
TypeDescription
AddonsConfig

clear()

public AddonsConfig.Builder clear()
Returns
TypeDescription
AddonsConfig.Builder
Overrides

clearCloudRunConfig()

public AddonsConfig.Builder clearCloudRunConfig()

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

.google.container.v1.CloudRunConfig cloud_run_config = 7;

Returns
TypeDescription
AddonsConfig.Builder

clearConfigConnectorConfig()

public AddonsConfig.Builder clearConfigConnectorConfig()

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

.google.container.v1.ConfigConnectorConfig config_connector_config = 10;

Returns
TypeDescription
AddonsConfig.Builder

clearDnsCacheConfig()

public AddonsConfig.Builder clearDnsCacheConfig()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

.google.container.v1.DnsCacheConfig dns_cache_config = 8;

Returns
TypeDescription
AddonsConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public AddonsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AddonsConfig.Builder
Overrides

clearGcePersistentDiskCsiDriverConfig()

public AddonsConfig.Builder clearGcePersistentDiskCsiDriverConfig()

Configuration for the Compute Engine Persistent Disk CSI driver.

.google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;

Returns
TypeDescription
AddonsConfig.Builder

clearGcpFilestoreCsiDriverConfig()

public AddonsConfig.Builder clearGcpFilestoreCsiDriverConfig()

Configuration for the GCP Filestore CSI driver.

.google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;

Returns
TypeDescription
AddonsConfig.Builder

clearGkeBackupAgentConfig()

public AddonsConfig.Builder clearGkeBackupAgentConfig()

Configuration for the Backup for GKE agent addon.

.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;

Returns
TypeDescription
AddonsConfig.Builder

clearHorizontalPodAutoscaling()

public AddonsConfig.Builder clearHorizontalPodAutoscaling()

Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

.google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;

Returns
TypeDescription
AddonsConfig.Builder

clearHttpLoadBalancing()

public AddonsConfig.Builder clearHttpLoadBalancing()

Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

.google.container.v1.HttpLoadBalancing http_load_balancing = 1;

Returns
TypeDescription
AddonsConfig.Builder

clearKubernetesDashboard()

public AddonsConfig.Builder clearKubernetesDashboard()

Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards

.google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true];

Returns
TypeDescription
AddonsConfig.Builder

clearNetworkPolicyConfig()

public AddonsConfig.Builder clearNetworkPolicyConfig()

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

.google.container.v1.NetworkPolicyConfig network_policy_config = 4;

Returns
TypeDescription
AddonsConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AddonsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AddonsConfig.Builder
Overrides

clone()

public AddonsConfig.Builder clone()
Returns
TypeDescription
AddonsConfig.Builder
Overrides

getCloudRunConfig()

public CloudRunConfig getCloudRunConfig()

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

.google.container.v1.CloudRunConfig cloud_run_config = 7;

Returns
TypeDescription
CloudRunConfig

The cloudRunConfig.

getCloudRunConfigBuilder()

public CloudRunConfig.Builder getCloudRunConfigBuilder()

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

.google.container.v1.CloudRunConfig cloud_run_config = 7;

Returns
TypeDescription
CloudRunConfig.Builder

getCloudRunConfigOrBuilder()

public CloudRunConfigOrBuilder getCloudRunConfigOrBuilder()

Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.

.google.container.v1.CloudRunConfig cloud_run_config = 7;

Returns
TypeDescription
CloudRunConfigOrBuilder

getConfigConnectorConfig()

public ConfigConnectorConfig getConfigConnectorConfig()

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

.google.container.v1.ConfigConnectorConfig config_connector_config = 10;

Returns
TypeDescription
ConfigConnectorConfig

The configConnectorConfig.

getConfigConnectorConfigBuilder()

public ConfigConnectorConfig.Builder getConfigConnectorConfigBuilder()

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

.google.container.v1.ConfigConnectorConfig config_connector_config = 10;

Returns
TypeDescription
ConfigConnectorConfig.Builder

getConfigConnectorConfigOrBuilder()

public ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder()

Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

.google.container.v1.ConfigConnectorConfig config_connector_config = 10;

Returns
TypeDescription
ConfigConnectorConfigOrBuilder

getDefaultInstanceForType()

public AddonsConfig getDefaultInstanceForType()
Returns
TypeDescription
AddonsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDnsCacheConfig()

public DnsCacheConfig getDnsCacheConfig()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

.google.container.v1.DnsCacheConfig dns_cache_config = 8;

Returns
TypeDescription
DnsCacheConfig

The dnsCacheConfig.

getDnsCacheConfigBuilder()

public DnsCacheConfig.Builder getDnsCacheConfigBuilder()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

.google.container.v1.DnsCacheConfig dns_cache_config = 8;

Returns
TypeDescription
DnsCacheConfig.Builder

getDnsCacheConfigOrBuilder()

public DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

.google.container.v1.DnsCacheConfig dns_cache_config = 8;

Returns
TypeDescription
DnsCacheConfigOrBuilder

getGcePersistentDiskCsiDriverConfig()

public GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig()

Configuration for the Compute Engine Persistent Disk CSI driver.

.google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;

Returns
TypeDescription
GcePersistentDiskCsiDriverConfig

The gcePersistentDiskCsiDriverConfig.

getGcePersistentDiskCsiDriverConfigBuilder()

public GcePersistentDiskCsiDriverConfig.Builder getGcePersistentDiskCsiDriverConfigBuilder()

Configuration for the Compute Engine Persistent Disk CSI driver.

.google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;

Returns
TypeDescription
GcePersistentDiskCsiDriverConfig.Builder

getGcePersistentDiskCsiDriverConfigOrBuilder()

public GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder()

Configuration for the Compute Engine Persistent Disk CSI driver.

.google.container.v1.GcePersistentDiskCsiDri