Class AddonsConfig (2.48.0)

public final class AddonsConfig extends GeneratedMessageV3 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 Fields

CLOUD_RUN_CONFIG_FIELD_NUMBER

public static final int CLOUD_RUN_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER

public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DNS_CACHE_CONFIG_FIELD_NUMBER

public static final int DNS_CACHE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER

public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER

public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCS_FUSE_CSI_DRIVER_CONFIG_FIELD_NUMBER

public static final int GCS_FUSE_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER

public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER

public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER
Field Value
Type Description
int

HTTP_LOAD_BALANCING_FIELD_NUMBER

public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER
Field Value
Type Description
int

KUBERNETES_DASHBOARD_FIELD_NUMBER

public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_POLICY_CONFIG_FIELD_NUMBER

public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

STATEFUL_HA_CONFIG_FIELD_NUMBER

public static final int STATEFUL_HA_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AddonsConfig getDefaultInstance()
Returns
Type Description
AddonsConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AddonsConfig.Builder newBuilder()
Returns
Type Description
AddonsConfig.Builder

newBuilder(AddonsConfig prototype)

public static AddonsConfig.Builder newBuilder(AddonsConfig prototype)
Parameter
Name Description
prototype AddonsConfig
Returns
Type Description
AddonsConfig.Builder

parseDelimitedFrom(InputStream input)

public static AddonsConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AddonsConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddonsConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AddonsConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AddonsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddonsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AddonsConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AddonsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddonsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AddonsConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AddonsConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddonsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AddonsConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AddonsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddonsConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AddonsConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AddonsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddonsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AddonsConfig> parser()
Returns
Type Description
Parser<AddonsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
CloudRunConfig

The cloudRunConfig.

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
Type Description
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
Type Description
ConfigConnectorConfig

The configConnectorConfig.

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
Type Description
ConfigConnectorConfigOrBuilder

getDefaultInstanceForType()

public AddonsConfig getDefaultInstanceForType()
Returns
Type Description
AddonsConfig

getDnsCacheConfig()

public DnsCacheConfig getDnsCacheConfig()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

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

Returns
Type Description
DnsCacheConfig

The dnsCacheConfig.

getDnsCacheConfigOrBuilder()

public DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder()

Configuration for NodeLocalDNS, a dns cache running on cluster nodes

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

Returns
Type Description
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
Type Description
GcePersistentDiskCsiDriverConfig

The gcePersistentDiskCsiDriverConfig.

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
Type Description
GcePersistentDiskCsiDriverConfigOrBuilder

getGcpFilestoreCsiDriverConfig()

public GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig()

Configuration for the GCP Filestore CSI driver.

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

Returns
Type Description
GcpFilestoreCsiDriverConfig

The gcpFilestoreCsiDriverConfig.

getGcpFilestoreCsiDriverConfigOrBuilder()

public GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder()

Configuration for the GCP Filestore CSI driver.

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

Returns
Type Description
GcpFilestoreCsiDriverConfigOrBuilder

getGcsFuseCsiDriverConfig()

public GcsFuseCsiDriverConfig getGcsFuseCsiDriverConfig()

Configuration for the Cloud Storage Fuse CSI driver.

.google.container.v1.GcsFuseCsiDriverConfig gcs_fuse_csi_driver_config = 17;

Returns
Type Description
GcsFuseCsiDriverConfig

The gcsFuseCsiDriverConfig.

getGcsFuseCsiDriverConfigOrBuilder()

public GcsFuseCsiDriverConfigOrBuilder getGcsFuseCsiDriverConfigOrBuilder()

Configuration for the Cloud Storage Fuse CSI driver.

.google.container.v1.GcsFuseCsiDriverConfig gcs_fuse_csi_driver_config = 17;

Returns
Type Description
GcsFuseCsiDriverConfigOrBuilder

getGkeBackupAgentConfig()

public GkeBackupAgentConfig getGkeBackupAgentConfig()

Configuration for the Backup for GKE agent addon.

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

Returns
Type Description
GkeBackupAgentConfig

The gkeBackupAgentConfig.

getGkeBackupAgentConfigOrBuilder()

public GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder()

Configuration for the Backup for GKE agent addon.

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

Returns
Type Description
GkeBackupAgentConfigOrBuilder

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
Type Description
HorizontalPodAutoscaling

The horizontalPodAutoscaling.

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
Type Description
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
Type Description
HttpLoadBalancing

The httpLoadBalancing.

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
Type Description
HttpLoadBalancingOrBuilder

getKubernetesDashboard() (deprecated)

public KubernetesDashboard getKubernetesDashboard()

Deprecated. google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See google/container/v1/cluster_service.proto;l=1207

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
Type Description
KubernetesDashboard

The kubernetesDashboard.

getKubernetesDashboardOrBuilder() (deprecated)

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
Type Description
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
Type Description
NetworkPolicyConfig

The networkPolicyConfig.

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
Type Description
NetworkPolicyConfigOrBuilder

getParserForType()

public Parser<AddonsConfig> getParserForType()
Returns
Type Description
Parser<AddonsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatefulHaConfig()

public StatefulHAConfig getStatefulHaConfig()

Optional. Configuration for the StatefulHA add-on.

.google.container.v1.StatefulHAConfig stateful_ha_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StatefulHAConfig

The statefulHaConfig.

getStatefulHaConfigOrBuilder()

public StatefulHAConfigOrBuilder getStatefulHaConfigOrBuilder()

Optional. Configuration for the StatefulHA add-on.

.google.container.v1.StatefulHAConfig stateful_ha_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StatefulHAConfigOrBuilder

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the gcpFilestoreCsiDriverConfig field is set.

hasGcsFuseCsiDriverConfig()

public boolean hasGcsFuseCsiDriverConfig()

Configuration for the Cloud Storage Fuse CSI driver.

.google.container.v1.GcsFuseCsiDriverConfig gcs_fuse_csi_driver_config = 17;

Returns
Type Description
boolean

Whether the gcsFuseCsiDriverConfig field is set.

hasGkeBackupAgentConfig()

public boolean hasGkeBackupAgentConfig()

Configuration for the Backup for GKE agent addon.

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

Returns
Type Description
boolean

Whether the gkeBackupAgentConfig 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
Type Description
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
Type Description
boolean

Whether the httpLoadBalancing field is set.

hasKubernetesDashboard() (deprecated)

public boolean hasKubernetesDashboard()

Deprecated. google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See google/container/v1/cluster_service.proto;l=1207

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
Type Description
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
Type Description
boolean

Whether the networkPolicyConfig field is set.

hasStatefulHaConfig()

public boolean hasStatefulHaConfig()

Optional. Configuration for the StatefulHA add-on.

.google.container.v1.StatefulHAConfig stateful_ha_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the statefulHaConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AddonsConfig.Builder newBuilderForType()
Returns
Type Description
AddonsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AddonsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AddonsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AddonsConfig.Builder toBuilder()
Returns
Type Description
AddonsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException