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
CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER
public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER
Field Value
DNS_CACHE_CONFIG_FIELD_NUMBER
public static final int DNS_CACHE_CONFIG_FIELD_NUMBER
Field Value
GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER
public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER
public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER
Field Value
GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER
public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER
Field Value
HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER
public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER
Field Value
HTTP_LOAD_BALANCING_FIELD_NUMBER
public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER
Field Value
KUBERNETES_DASHBOARD_FIELD_NUMBER
public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER
Field Value
NETWORK_POLICY_CONFIG_FIELD_NUMBER
public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AddonsConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AddonsConfig.Builder newBuilder()
Returns
newBuilder(AddonsConfig prototype)
public static AddonsConfig.Builder newBuilder(AddonsConfig prototype)
Parameter
Returns
public static AddonsConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AddonsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AddonsConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AddonsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AddonsConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AddonsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddonsConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AddonsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddonsConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AddonsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AddonsConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AddonsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AddonsConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
getDefaultInstanceForType()
public AddonsConfig getDefaultInstanceForType()
Returns
getDnsCacheConfig()
public DnsCacheConfig getDnsCacheConfig()
Configuration for NodeLocalDNS, a dns cache running on cluster nodes
.google.container.v1.DnsCacheConfig dns_cache_config = 8;
Returns
getDnsCacheConfigOrBuilder()
public DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder()
Configuration for NodeLocalDNS, a dns cache running on cluster nodes
.google.container.v1.DnsCacheConfig dns_cache_config = 8;
Returns
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
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
getGcpFilestoreCsiDriverConfig()
public GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig()
Configuration for the GCP Filestore CSI driver.
.google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
Returns
getGcpFilestoreCsiDriverConfigOrBuilder()
public GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder()
Configuration for the GCP Filestore CSI driver.
.google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
Returns
getGkeBackupAgentConfig()
public GkeBackupAgentConfig getGkeBackupAgentConfig()
Configuration for the Backup for GKE agent addon.
.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;
Returns
getGkeBackupAgentConfigOrBuilder()
public GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder()
Configuration for the Backup for GKE agent addon.
.google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16;
Returns
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
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
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
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
getKubernetesDashboard() (deprecated)
public KubernetesDashboard getKubernetesDashboard()
Deprecated. google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
google/container/v1/cluster_service.proto;l=1076
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
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
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
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
getParserForType()
public Parser<AddonsConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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.
|
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=1076
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AddonsConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AddonsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AddonsConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions