Class AddonsConfig (2.5.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
TypeDescription
int

CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER

public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

DNS_CACHE_CONFIG_FIELD_NUMBER

public static final int DNS_CACHE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER

public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER

public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER

public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_LOAD_BALANCING_FIELD_NUMBER

public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER
Field Value
TypeDescription
int

KUBERNETES_DASHBOARD_FIELD_NUMBER

public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_POLICY_CONFIG_FIELD_NUMBER

public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AddonsConfig getDefaultInstance()
Returns
TypeDescription
AddonsConfig

getDescriptor()

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

newBuilder()

public static AddonsConfig.Builder newBuilder()
Returns
TypeDescription
AddonsConfig.Builder

newBuilder(AddonsConfig prototype)

public static AddonsConfig.Builder newBuilder(AddonsConfig prototype)
Parameter
NameDescription
prototypeAddonsConfig
Returns
TypeDescription
AddonsConfig.Builder

parseDelimitedFrom(InputStream input)

public static AddonsConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AddonsConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AddonsConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AddonsConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AddonsConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AddonsConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AddonsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddonsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AddonsConfig> parser()
Returns
TypeDescription
Parser<AddonsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
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.

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

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.

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.

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.

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.

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.

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() (deprecated)

public KubernetesDashboard getKubernetesDashboard()

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

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.

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.

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

getParserForType()

public Parser<AddonsConfig> getParserForType()
Returns
TypeDescription
Parser<AddonsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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() (deprecated)

public boolean hasKubernetesDashboard()

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

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AddonsConfig.Builder newBuilderForType()
Returns
TypeDescription
AddonsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AddonsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AddonsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AddonsConfig.Builder toBuilder()
Returns
TypeDescription
AddonsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException