Package com.google.container.v1beta1
Class ClusterAutoscaling
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.container.v1beta1.ClusterAutoscaling
-
- All Implemented Interfaces:
ClusterAutoscalingOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ClusterAutoscaling extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.container.v1beta1.ClusterAutoscaling
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterAutoscaling.AutoscalingProfile
Defines possible options for autoscaling_profile field.static class
ClusterAutoscaling.Builder
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.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER
static int
AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER
static int
AUTOSCALING_PROFILE_FIELD_NUMBER
static int
ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER
static int
RESOURCE_LIMITS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
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.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.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.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.AutoprovisioningNodePoolDefaults
getAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.AutoprovisioningNodePoolDefaultsOrBuilder
getAutoprovisioningNodePoolDefaultsOrBuilder()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.ClusterAutoscaling.AutoscalingProfile
getAutoscalingProfile()
Defines autoscaling behaviour.int
getAutoscalingProfileValue()
Defines autoscaling behaviour.static ClusterAutoscaling
getDefaultInstance()
ClusterAutoscaling
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getEnableNodeAutoprovisioning()
Enables automatic node pool creation and deletion.com.google.protobuf.Parser<ClusterAutoscaling>
getParserForType()
ResourceLimit
getResourceLimits(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.int
getResourceLimitsCount()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.List<ResourceLimit>
getResourceLimitsList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.ResourceLimitOrBuilder
getResourceLimitsOrBuilder(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.List<? extends ResourceLimitOrBuilder>
getResourceLimitsOrBuilderList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.int
getSerializedSize()
boolean
hasAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ClusterAutoscaling.Builder
newBuilder()
static ClusterAutoscaling.Builder
newBuilder(ClusterAutoscaling prototype)
ClusterAutoscaling.Builder
newBuilderForType()
protected ClusterAutoscaling.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ClusterAutoscaling
parseDelimitedFrom(InputStream input)
static ClusterAutoscaling
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterAutoscaling
parseFrom(byte[] data)
static ClusterAutoscaling
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterAutoscaling
parseFrom(com.google.protobuf.ByteString data)
static ClusterAutoscaling
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterAutoscaling
parseFrom(com.google.protobuf.CodedInputStream input)
static ClusterAutoscaling
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterAutoscaling
parseFrom(InputStream input)
static ClusterAutoscaling
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ClusterAutoscaling
parseFrom(ByteBuffer data)
static ClusterAutoscaling
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ClusterAutoscaling>
parser()
ClusterAutoscaling.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER
public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_LIMITS_FIELD_NUMBER
public static final int RESOURCE_LIMITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOSCALING_PROFILE_FIELD_NUMBER
public static final int AUTOSCALING_PROFILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER
public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER
public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getEnableNodeAutoprovisioning
public boolean getEnableNodeAutoprovisioning()
Enables automatic node pool creation and deletion.
bool enable_node_autoprovisioning = 1;
- Specified by:
getEnableNodeAutoprovisioning
in interfaceClusterAutoscalingOrBuilder
- Returns:
- The enableNodeAutoprovisioning.
-
getResourceLimitsList
public List<ResourceLimit> getResourceLimitsList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
- Specified by:
getResourceLimitsList
in interfaceClusterAutoscalingOrBuilder
-
getResourceLimitsOrBuilderList
public List<? extends ResourceLimitOrBuilder> getResourceLimitsOrBuilderList()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
- Specified by:
getResourceLimitsOrBuilderList
in interfaceClusterAutoscalingOrBuilder
-
getResourceLimitsCount
public int getResourceLimitsCount()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
- Specified by:
getResourceLimitsCount
in interfaceClusterAutoscalingOrBuilder
-
getResourceLimits
public ResourceLimit getResourceLimits(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
- Specified by:
getResourceLimits
in interfaceClusterAutoscalingOrBuilder
-
getResourceLimitsOrBuilder
public ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
- Specified by:
getResourceLimitsOrBuilder
in interfaceClusterAutoscalingOrBuilder
-
getAutoscalingProfileValue
public int getAutoscalingProfileValue()
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
- Specified by:
getAutoscalingProfileValue
in interfaceClusterAutoscalingOrBuilder
- Returns:
- The enum numeric value on the wire for autoscalingProfile.
-
getAutoscalingProfile
public ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile()
Defines autoscaling behaviour.
.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3;
- Specified by:
getAutoscalingProfile
in interfaceClusterAutoscalingOrBuilder
- Returns:
- The autoscalingProfile.
-
hasAutoprovisioningNodePoolDefaults
public boolean hasAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
- Specified by:
hasAutoprovisioningNodePoolDefaults
in interfaceClusterAutoscalingOrBuilder
- Returns:
- Whether the autoprovisioningNodePoolDefaults field is set.
-
getAutoprovisioningNodePoolDefaults
public AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
- Specified by:
getAutoprovisioningNodePoolDefaults
in interfaceClusterAutoscalingOrBuilder
- Returns:
- The autoprovisioningNodePoolDefaults.
-
getAutoprovisioningNodePoolDefaultsOrBuilder
public AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder()
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4;
- Specified by:
getAutoprovisioningNodePoolDefaultsOrBuilder
in 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:
getAutoprovisioningLocationsList
in 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:
getAutoprovisioningLocationsCount
in interfaceClusterAutoscalingOrBuilder
- Returns:
- The count of autoprovisioningLocations.
-
getAutoprovisioningLocations
public String 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.
repeated string autoprovisioning_locations = 5;
- Specified by:
getAutoprovisioningLocations
in 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:
getAutoprovisioningLocationsBytes
in interfaceClusterAutoscalingOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the autoprovisioningLocations at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static ClusterAutoscaling parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClusterAutoscaling parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClusterAutoscaling parseDelimitedFrom(InputStream input) throws IOException
- 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
public ClusterAutoscaling.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClusterAutoscaling.Builder newBuilder()
-
newBuilder
public static ClusterAutoscaling.Builder newBuilder(ClusterAutoscaling prototype)
-
toBuilder
public ClusterAutoscaling.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClusterAutoscaling.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClusterAutoscaling getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClusterAutoscaling> parser()
-
getParserForType
public com.google.protobuf.Parser<ClusterAutoscaling> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClusterAutoscaling getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-