Package com.google.container.v1
Interface ClusterAutoscalingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterAutoscaling,ClusterAutoscaling.Builder
@Generated
public interface ClusterAutoscalingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAutopilot general profile for the cluster, which defines the configuration for the cluster.intAutopilot general profile for the cluster, which defines the configuration for the cluster.getAutoprovisioningLocations(int index) The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.com.google.protobuf.ByteStringgetAutoprovisioningLocationsBytes(int index) The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.intThe list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.Defines autoscaling behaviour.intDefines autoscaling behaviour.Default compute class is a configuration for default compute class.Default compute class is a configuration for default compute class.booleanEnables automatic node pool creation and deletion.getResourceLimits(int index) Contains global constraints regarding minimum and maximum amount of resources in the cluster.intContains global constraints regarding minimum and maximum amount of resources in the cluster.Contains global constraints regarding minimum and maximum amount of resources in the cluster.getResourceLimitsOrBuilder(int index) Contains global constraints regarding minimum and maximum amount of resources in the cluster.List<? extends ResourceLimitOrBuilder>Contains global constraints regarding minimum and maximum amount of resources in the cluster.booleanAutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.booleanDefault compute class is a configuration for default compute class.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnableNodeAutoprovisioning
boolean getEnableNodeAutoprovisioning()Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;- Returns:
- The enableNodeAutoprovisioning.
-
getResourceLimitsList
List<ResourceLimit> getResourceLimitsList()Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2; -
getResourceLimits
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2; -
getResourceLimitsCount
int getResourceLimitsCount()Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2; -
getResourceLimitsOrBuilderList
List<? extends ResourceLimitOrBuilder> getResourceLimitsOrBuilderList()Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2; -
getResourceLimitsOrBuilder
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2; -
getAutoscalingProfileValue
int getAutoscalingProfileValue()Defines autoscaling behaviour.
.google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;- Returns:
- The enum numeric value on the wire for autoscalingProfile.
-
getAutoscalingProfile
ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile()Defines autoscaling behaviour.
.google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;- Returns:
- The autoscalingProfile.
-
hasAutoprovisioningNodePoolDefaults
boolean hasAutoprovisioningNodePoolDefaults()AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;- Returns:
- Whether the autoprovisioningNodePoolDefaults field is set.
-
getAutoprovisioningNodePoolDefaults
AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults()AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;- Returns:
- The autoprovisioningNodePoolDefaults.
-
getAutoprovisioningNodePoolDefaultsOrBuilder
AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder()AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; -
getAutoprovisioningLocationsList
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;- Returns:
- A list containing the autoprovisioningLocations.
-
getAutoprovisioningLocationsCount
int getAutoprovisioningLocationsCount()The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;- Returns:
- The count of autoprovisioningLocations.
-
getAutoprovisioningLocations
The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;- Parameters:
index- The index of the element to return.- Returns:
- The autoprovisioningLocations at the given index.
-
getAutoprovisioningLocationsBytes
com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.
repeated string autoprovisioning_locations = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the autoprovisioningLocations at the given index.
-
hasDefaultComputeClassConfig
boolean hasDefaultComputeClassConfig()Default compute class is a configuration for default compute class.
.google.container.v1.DefaultComputeClassConfig default_compute_class_config = 9;- Returns:
- Whether the defaultComputeClassConfig field is set.
-
getDefaultComputeClassConfig
DefaultComputeClassConfig getDefaultComputeClassConfig()Default compute class is a configuration for default compute class.
.google.container.v1.DefaultComputeClassConfig default_compute_class_config = 9;- Returns:
- The defaultComputeClassConfig.
-
getDefaultComputeClassConfigOrBuilder
DefaultComputeClassConfigOrBuilder getDefaultComputeClassConfigOrBuilder()Default compute class is a configuration for default compute class.
.google.container.v1.DefaultComputeClassConfig default_compute_class_config = 9; -
getAutopilotGeneralProfileValue
int getAutopilotGeneralProfileValue()Autopilot general profile for the cluster, which defines the configuration for the cluster.
.google.container.v1.ClusterAutoscaling.AutopilotGeneralProfile autopilot_general_profile = 14;- Returns:
- The enum numeric value on the wire for autopilotGeneralProfile.
-
getAutopilotGeneralProfile
ClusterAutoscaling.AutopilotGeneralProfile getAutopilotGeneralProfile()Autopilot general profile for the cluster, which defines the configuration for the cluster.
.google.container.v1.ClusterAutoscaling.AutopilotGeneralProfile autopilot_general_profile = 14;- Returns:
- The autopilotGeneralProfile.
-