Class AddonsConfig.Builder (2.3.6)

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

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.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11;

Returns
TypeDescription
GcePersistentDiskCsiDriverConfigOrBuilder

getGcpFilestoreCsiDriverConfig()

public GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig()

Configuration for the GCP Filestore CSI driver.

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

Returns
TypeDescription
GcpFilestoreCsiDriverConfig

The gcpFilestoreCsiDriverConfig.

getGcpFilestoreCsiDriverConfigBuilder()

public GcpFilestoreCsiDriverConfig.Builder getGcpFilestoreCsiDriverConfigBuilder()

Configuration for the GCP Filestore CSI driver.

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

Returns
TypeDescription
GcpFilestoreCsiDriverConfig.Builder

getGcpFilestoreCsiDriverConfigOrBuilder()

public GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder()

Configuration for the GCP Filestore CSI driver.

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

Returns
TypeDescription
GcpFilestoreCsiDriverConfigOrBuilder

getHorizontalPodAutoscaling()

public HorizontalPodAutoscaling getHorizontalPodAutoscaling()

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
HorizontalPodAutoscaling

The horizontalPodAutoscaling.

getHorizontalPodAutoscalingBuilder()

public HorizontalPodAutoscaling.Builder getHorizontalPodAutoscalingBuilder()

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
HorizontalPodAutoscaling.Builder

getHorizontalPodAutoscalingOrBuilder()

public HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder()

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
HorizontalPodAutoscalingOrBuilder

getHttpLoadBalancing()

public HttpLoadBalancing getHttpLoadBalancing()

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

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

Returns
TypeDescription
HttpLoadBalancing

The httpLoadBalancing.

getHttpLoadBalancingBuilder()

public HttpLoadBalancing.Builder getHttpLoadBalancingBuilder()

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
HttpLoadBalancing.Builder

getHttpLoadBalancingOrBuilder()

public HttpLoadBalancingOrBuilder getHttpLoadBalancingOrBuilder()

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
HttpLoadBalancingOrBuilder

getKubernetesDashboard()

public KubernetesDashboard getKubernetesDashboard()

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
KubernetesDashboard

The kubernetesDashboard.

getKubernetesDashboardBuilder()

public KubernetesDashboard.Builder getKubernetesDashboardBuilder()

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
KubernetesDashboard.Builder

getKubernetesDashboardOrBuilder()

public KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder()

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
KubernetesDashboardOrBuilder

getNetworkPolicyConfig()

public NetworkPolicyConfig getNetworkPolicyConfig()

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

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

Returns
TypeDescription
NetworkPolicyConfig

The networkPolicyConfig.

getNetworkPolicyConfigBuilder()

public NetworkPolicyConfig.Builder getNetworkPolicyConfigBuilder()

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
NetworkPolicyConfig.Builder

getNetworkPolicyConfigOrBuilder()

public NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder()

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
NetworkPolicyConfigOrBuilder

hasCloudRunConfig()

public boolean hasCloudRunConfig()

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

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

Returns
TypeDescription
boolean

Whether the cloudRunConfig field is set.

hasConfigConnectorConfig()

public boolean hasConfigConnectorConfig()

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

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

Returns
TypeDescription
boolean

Whether the configConnectorConfig field is set.

hasDnsCacheConfig()

public boolean hasDnsCacheConfig()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

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

Returns
TypeDescription
boolean

Whether the dnsCacheConfig field is set.

hasGcePersistentDiskCsiDriverConfig()

public boolean hasGcePersistentDiskCsiDriverConfig()

Configuration for the Compute Engine Persistent Disk CSI driver.

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

Returns
TypeDescription
boolean

Whether the gcePersistentDiskCsiDriverConfig field is set.

hasGcpFilestoreCsiDriverConfig()

public boolean hasGcpFilestoreCsiDriverConfig()

Configuration for the GCP Filestore CSI driver.

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

Returns
TypeDescription
boolean

Whether the gcpFilestoreCsiDriverConfig field is set.

hasHorizontalPodAutoscaling()

public boolean hasHorizontalPodAutoscaling()

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
boolean

Whether the horizontalPodAutoscaling field is set.

hasHttpLoadBalancing()

public boolean hasHttpLoadBalancing()

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

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

Returns
TypeDescription
boolean

Whether the httpLoadBalancing field is set.

hasKubernetesDashboard()

public boolean hasKubernetesDashboard()

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
boolean

Whether the kubernetesDashboard field is set.

hasNetworkPolicyConfig()

public boolean hasNetworkPolicyConfig()

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

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

Returns
TypeDescription
boolean

Whether the networkPolicyConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCloudRunConfig(CloudRunConfig value)

public AddonsConfig.Builder mergeCloudRunConfig(CloudRunConfig value)

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

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

Parameter
NameDescription
valueCloudRunConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeConfigConnectorConfig(ConfigConnectorConfig value)

public AddonsConfig.Builder mergeConfigConnectorConfig(ConfigConnectorConfig value)

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;

Parameter
NameDescription
valueConfigConnectorConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeDnsCacheConfig(DnsCacheConfig value)

public AddonsConfig.Builder mergeDnsCacheConfig(DnsCacheConfig value)

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

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

Parameter
NameDescription
valueDnsCacheConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeFrom(AddonsConfig other)

public AddonsConfig.Builder mergeFrom(AddonsConfig other)
Parameter
NameDescription
otherAddonsConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AddonsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AddonsConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AddonsConfig.Builder
Overrides

mergeGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig value)

public AddonsConfig.Builder mergeGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig value)

Configuration for the Compute Engine Persistent Disk CSI driver.

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

Parameter
NameDescription
valueGcePersistentDiskCsiDriverConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig value)

public AddonsConfig.Builder mergeGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig value)

Configuration for the GCP Filestore CSI driver.

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

Parameter
NameDescription
valueGcpFilestoreCsiDriverConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeHorizontalPodAutoscaling(HorizontalPodAutoscaling value)

public AddonsConfig.Builder mergeHorizontalPodAutoscaling(HorizontalPodAutoscaling value)

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;

Parameter
NameDescription
valueHorizontalPodAutoscaling
Returns
TypeDescription
AddonsConfig.Builder

mergeHttpLoadBalancing(HttpLoadBalancing value)

public AddonsConfig.Builder mergeHttpLoadBalancing(HttpLoadBalancing value)

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;

Parameter
NameDescription
valueHttpLoadBalancing
Returns
TypeDescription
AddonsConfig.Builder

mergeKubernetesDashboard(KubernetesDashboard value)

public AddonsConfig.Builder mergeKubernetesDashboard(KubernetesDashboard value)

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];

Parameter
NameDescription
valueKubernetesDashboard
Returns
TypeDescription
AddonsConfig.Builder

mergeNetworkPolicyConfig(NetworkPolicyConfig value)

public AddonsConfig.Builder mergeNetworkPolicyConfig(NetworkPolicyConfig value)

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;

Parameter
NameDescription
valueNetworkPolicyConfig
Returns
TypeDescription
AddonsConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddonsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddonsConfig.Builder
Overrides

setCloudRunConfig(CloudRunConfig value)

public AddonsConfig.Builder setCloudRunConfig(CloudRunConfig value)

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

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

Parameter
NameDescription
valueCloudRunConfig
Returns
TypeDescription
AddonsConfig.Builder

setCloudRunConfig(CloudRunConfig.Builder builderForValue)

public AddonsConfig.Builder setCloudRunConfig(CloudRunConfig.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueCloudRunConfig.Builder
Returns
TypeDescription
AddonsConfig.Builder

setConfigConnectorConfig(ConfigConnectorConfig value)

public AddonsConfig.Builder setConfigConnectorConfig(ConfigConnectorConfig value)

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;

Parameter
NameDescription
valueConfigConnectorConfig
Returns
TypeDescription
AddonsConfig.Builder

setConfigConnectorConfig(ConfigConnectorConfig.Builder builderForValue)

public AddonsConfig.Builder setConfigConnectorConfig(ConfigConnectorConfig.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueConfigConnectorConfig.Builder
Returns
TypeDescription
AddonsConfig.Builder

setDnsCacheConfig(DnsCacheConfig value)

public AddonsConfig.Builder setDnsCacheConfig(DnsCacheConfig value)

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

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

Parameter
NameDescription
valueDnsCacheConfig
Returns
TypeDescription
AddonsConfig.Builder

setDnsCacheConfig(DnsCacheConfig.Builder builderForValue)

public AddonsConfig.Builder setDnsCacheConfig(DnsCacheConfig.Builder builderForValue)

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

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

Parameter
NameDescription
builderForValueDnsCacheConfig.Builder
Returns
TypeDescription
AddonsConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig value)

public AddonsConfig.Builder setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig value)

Configuration for the Compute Engine Persistent Disk CSI driver.

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

Parameter
NameDescription
valueGcePersistentDiskCsiDriverConfig
Returns
TypeDescription
AddonsConfig.Builder

setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig.Builder builderForValue)

public AddonsConfig.Builder setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig.Builder builderForValue)

Configuration for the Compute Engine Persistent Disk CSI driver.

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

Parameter
NameDescription
builderForValueGcePersistentDiskCsiDriverConfig.Builder
Returns
TypeDescription
AddonsConfig.Builder

setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig value)

public AddonsConfig.Builder setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig value)

Configuration for the GCP Filestore CSI driver.

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

Parameter
NameDescription
valueGcpFilestoreCsiDriverConfig
Returns
TypeDescription
AddonsConfig.Builder

setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig.Builder builderForValue)

public AddonsConfig.Builder setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig.Builder builderForValue)

Configuration for the GCP Filestore CSI driver.

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

Parameter
NameDescription
builderForValueGcpFilestoreCsiDriverConfig.Builder
Returns
TypeDescription
AddonsConfig.Builder

setHorizontalPodAutoscaling(HorizontalPodAutoscaling value)

public AddonsConfig.Builder setHorizontalPodAutoscaling(HorizontalPodAutoscaling value)

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;

Parameter
NameDescription
valueHorizontalPodAutoscaling
Returns
TypeDescription
AddonsConfig.Builder

setHorizontalPodAutoscaling(HorizontalPodAutoscaling.Builder builderForValue)

public AddonsConfig.Builder setHorizontalPodAutoscaling(HorizontalPodAutoscaling.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueHorizontalPodAutoscaling.Builder
Returns
TypeDescription
AddonsConfig.Builder

setHttpLoadBalancing(HttpLoadBalancing value)

public AddonsConfig.Builder setHttpLoadBalancing(HttpLoadBalancing value)

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;

Parameter
NameDescription
valueHttpLoadBalancing
Returns
TypeDescription
AddonsConfig.Builder

setHttpLoadBalancing(HttpLoadBalancing.Builder builderForValue)

public AddonsConfig.Builder setHttpLoadBalancing(HttpLoadBalancing.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueHttpLoadBalancing.Builder
Returns
TypeDescription
AddonsConfig.Builder

setKubernetesDashboard(KubernetesDashboard value)

public AddonsConfig.Builder setKubernetesDashboard(KubernetesDashboard value)

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];

Parameter
NameDescription
valueKubernetesDashboard
Returns
TypeDescription
AddonsConfig.Builder

setKubernetesDashboard(KubernetesDashboard.Builder builderForValue)

public AddonsConfig.Builder setKubernetesDashboard(KubernetesDashboard.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueKubernetesDashboard.Builder
Returns
TypeDescription
AddonsConfig.Builder

setNetworkPolicyConfig(NetworkPolicyConfig value)

public AddonsConfig.Builder setNetworkPolicyConfig(NetworkPolicyConfig value)

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;

Parameter
NameDescription
valueNetworkPolicyConfig
Returns
TypeDescription
AddonsConfig.Builder

setNetworkPolicyConfig(NetworkPolicyConfig.Builder builderForValue)

public AddonsConfig.Builder setNetworkPolicyConfig(NetworkPolicyConfig.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueNetworkPolicyConfig.Builder
Returns
TypeDescription
AddonsConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AddonsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AddonsConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AddonsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddonsConfig.Builder
Overrides