Package com.google.container.v1
Class ClusterAutoscaling
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.ClusterAutoscaling
- All Implemented Interfaces:
ClusterAutoscalingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ClusterAutoscaling
extends com.google.protobuf.GeneratedMessage
implements ClusterAutoscalingOrBuilder
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.Protobuf type
google.container.v1.ClusterAutoscaling- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines possible options for Autopilot general profile.static enumDefines possible options for autoscaling_profile field.static final classClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAutopilot 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.com.google.protobuf.ProtocolStringListThe 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.static ClusterAutoscalingstatic final com.google.protobuf.Descriptors.DescriptorbooleanEnables automatic node pool creation and deletion.com.google.protobuf.Parser<ClusterAutoscaling>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.intbooleanAutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.booleanDefault compute class is a configuration for default compute class.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ClusterAutoscaling.Builderstatic ClusterAutoscaling.BuildernewBuilder(ClusterAutoscaling prototype) protected ClusterAutoscaling.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ClusterAutoscalingparseDelimitedFrom(InputStream input) static ClusterAutoscalingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterAutoscalingparseFrom(byte[] data) static ClusterAutoscalingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterAutoscalingparseFrom(com.google.protobuf.ByteString data) static ClusterAutoscalingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterAutoscalingparseFrom(com.google.protobuf.CodedInputStream input) static ClusterAutoscalingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterAutoscalingparseFrom(InputStream input) static ClusterAutoscalingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClusterAutoscalingparseFrom(ByteBuffer data) static ClusterAutoscalingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClusterAutoscaling>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER
public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER- See Also:
-
RESOURCE_LIMITS_FIELD_NUMBER
public static final int RESOURCE_LIMITS_FIELD_NUMBER- See Also:
-
AUTOSCALING_PROFILE_FIELD_NUMBER
public static final int AUTOSCALING_PROFILE_FIELD_NUMBER- See Also:
-
AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER
public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER- See Also:
-
AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER
public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER- See Also:
-
DEFAULT_COMPUTE_CLASS_CONFIG_FIELD_NUMBER
public static final int DEFAULT_COMPUTE_CLASS_CONFIG_FIELD_NUMBER- See Also:
-
AUTOPILOT_GENERAL_PROFILE_FIELD_NUMBER
public static final int AUTOPILOT_GENERAL_PROFILE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEnableNodeAutoprovisioning
public boolean getEnableNodeAutoprovisioning()Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;- Specified by:
getEnableNodeAutoprovisioningin interfaceClusterAutoscalingOrBuilder- Returns:
- The enableNodeAutoprovisioning.
-
getResourceLimitsList
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;- Specified by:
getResourceLimitsListin interfaceClusterAutoscalingOrBuilder
-
getResourceLimitsOrBuilderList
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;- Specified by:
getResourceLimitsOrBuilderListin interfaceClusterAutoscalingOrBuilder
-
getResourceLimitsCount
public int getResourceLimitsCount()Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;- Specified by:
getResourceLimitsCountin interfaceClusterAutoscalingOrBuilder
-
getResourceLimits
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;- Specified by:
getResourceLimitsin interfaceClusterAutoscalingOrBuilder
-
getResourceLimitsOrBuilder
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1.ResourceLimit resource_limits = 2;- Specified by:
getResourceLimitsOrBuilderin interfaceClusterAutoscalingOrBuilder
-
getAutoscalingProfileValue
public int getAutoscalingProfileValue()Defines autoscaling behaviour.
.google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;- Specified by:
getAutoscalingProfileValuein interfaceClusterAutoscalingOrBuilder- Returns:
- The enum numeric value on the wire for autoscalingProfile.
-
getAutoscalingProfile
Defines autoscaling behaviour.
.google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;- Specified by:
getAutoscalingProfilein interfaceClusterAutoscalingOrBuilder- Returns:
- The autoscalingProfile.
-
hasAutoprovisioningNodePoolDefaults
public boolean hasAutoprovisioningNodePoolDefaults()AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;- Specified by:
hasAutoprovisioningNodePoolDefaultsin interfaceClusterAutoscalingOrBuilder- Returns:
- Whether the autoprovisioningNodePoolDefaults field is set.
-
getAutoprovisioningNodePoolDefaults
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;- Specified by:
getAutoprovisioningNodePoolDefaultsin interfaceClusterAutoscalingOrBuilder- Returns:
- The autoprovisioningNodePoolDefaults.
-
getAutoprovisioningNodePoolDefaultsOrBuilder
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;- Specified by:
getAutoprovisioningNodePoolDefaultsOrBuilderin interfaceClusterAutoscalingOrBuilder
-
getAutoprovisioningLocationsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getAutoprovisioningLocationsListin interfaceClusterAutoscalingOrBuilder- Returns:
- A list containing the autoprovisioningLocations.
-
getAutoprovisioningLocationsCount
public 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;- Specified by:
getAutoprovisioningLocationsCountin interfaceClusterAutoscalingOrBuilder- 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;- Specified by:
getAutoprovisioningLocationsin interfaceClusterAutoscalingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The autoprovisioningLocations at the given index.
-
getAutoprovisioningLocationsBytes
public 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;- Specified by:
getAutoprovisioningLocationsBytesin interfaceClusterAutoscalingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the autoprovisioningLocations at the given index.
-
hasDefaultComputeClassConfig
public boolean hasDefaultComputeClassConfig()Default compute class is a configuration for default compute class.
.google.container.v1.DefaultComputeClassConfig default_compute_class_config = 9;- Specified by:
hasDefaultComputeClassConfigin interfaceClusterAutoscalingOrBuilder- Returns:
- Whether the defaultComputeClassConfig field is set.
-
getDefaultComputeClassConfig
Default compute class is a configuration for default compute class.
.google.container.v1.DefaultComputeClassConfig default_compute_class_config = 9;- Specified by:
getDefaultComputeClassConfigin interfaceClusterAutoscalingOrBuilder- Returns:
- The defaultComputeClassConfig.
-
getDefaultComputeClassConfigOrBuilder
Default compute class is a configuration for default compute class.
.google.container.v1.DefaultComputeClassConfig default_compute_class_config = 9;- Specified by:
getDefaultComputeClassConfigOrBuilderin interfaceClusterAutoscalingOrBuilder
-
getAutopilotGeneralProfileValue
public int getAutopilotGeneralProfileValue()Autopilot general profile for the cluster, which defines the configuration for the cluster.
.google.container.v1.ClusterAutoscaling.AutopilotGeneralProfile autopilot_general_profile = 14;- Specified by:
getAutopilotGeneralProfileValuein interfaceClusterAutoscalingOrBuilder- Returns:
- The enum numeric value on the wire for autopilotGeneralProfile.
-
getAutopilotGeneralProfile
Autopilot general profile for the cluster, which defines the configuration for the cluster.
.google.container.v1.ClusterAutoscaling.AutopilotGeneralProfile autopilot_general_profile = 14;- Specified by:
getAutopilotGeneralProfilein interfaceClusterAutoscalingOrBuilder- Returns:
- The autopilotGeneralProfile.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ClusterAutoscaling parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterAutoscaling parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterAutoscaling parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterAutoscaling parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClusterAutoscaling parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClusterAutoscaling parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterAutoscaling parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterAutoscaling parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClusterAutoscaling parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClusterAutoscaling.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-