Class AwsNodePool
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkemulticloud.v1.AwsNodePool
-
- All Implemented Interfaces:
AwsNodePoolOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class AwsNodePool extends com.google.protobuf.GeneratedMessageV3 implements AwsNodePoolOrBuilder
An Anthos node pool running on AWS.
Protobuf typegoogle.cloud.gkemulticloud.v1.AwsNodePool
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwsNodePool.Builder
An Anthos node pool running on AWS.static class
AwsNodePool.State
The lifecycle state of the node pool.-
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
ANNOTATIONS_FIELD_NUMBER
static int
AUTOSCALING_FIELD_NUMBER
static int
CONFIG_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
ERRORS_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
MAX_PODS_CONSTRAINT_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
RECONCILING_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
SUBNET_ID_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Optional.boolean
equals(Object obj)
Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Optional.Map<String,String>
getAnnotationsMap()
Optional.String
getAnnotationsOrDefault(String key, String defaultValue)
Optional.String
getAnnotationsOrThrow(String key)
Optional.AwsNodePoolAutoscaling
getAutoscaling()
Required.AwsNodePoolAutoscalingOrBuilder
getAutoscalingOrBuilder()
Required.AwsNodeConfig
getConfig()
Required.AwsNodeConfigOrBuilder
getConfigOrBuilder()
Required.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static AwsNodePool
getDefaultInstance()
AwsNodePool
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
AwsNodePoolError
getErrors(int index)
Output only.int
getErrorsCount()
Output only.List<AwsNodePoolError>
getErrorsList()
Output only.AwsNodePoolErrorOrBuilder
getErrorsOrBuilder(int index)
Output only.List<? extends AwsNodePoolErrorOrBuilder>
getErrorsOrBuilderList()
Output only.String
getEtag()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.com.google.protobuf.ByteString
getEtagBytes()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.MaxPodsConstraint
getMaxPodsConstraint()
Required.MaxPodsConstraintOrBuilder
getMaxPodsConstraintOrBuilder()
Required.String
getName()
The name of this resource.com.google.protobuf.ByteString
getNameBytes()
The name of this resource.com.google.protobuf.Parser<AwsNodePool>
getParserForType()
boolean
getReconciling()
Output only.int
getSerializedSize()
AwsNodePool.State
getState()
Output only.int
getStateValue()
Output only.String
getSubnetId()
Required.com.google.protobuf.ByteString
getSubnetIdBytes()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getVersion()
Required.com.google.protobuf.ByteString
getVersionBytes()
Required.boolean
hasAutoscaling()
Required.boolean
hasConfig()
Required.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasMaxPodsConstraint()
Required.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static AwsNodePool.Builder
newBuilder()
static AwsNodePool.Builder
newBuilder(AwsNodePool prototype)
AwsNodePool.Builder
newBuilderForType()
protected AwsNodePool.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AwsNodePool
parseDelimitedFrom(InputStream input)
static AwsNodePool
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodePool
parseFrom(byte[] data)
static AwsNodePool
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodePool
parseFrom(com.google.protobuf.ByteString data)
static AwsNodePool
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodePool
parseFrom(com.google.protobuf.CodedInputStream input)
static AwsNodePool
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodePool
parseFrom(InputStream input)
static AwsNodePool
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AwsNodePool
parseFrom(ByteBuffer data)
static AwsNodePool
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AwsNodePool>
parser()
AwsNodePool.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, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOSCALING_FIELD_NUMBER
public static final int AUTOSCALING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNET_ID_FIELD_NUMBER
public static final int SUBNET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_PODS_CONSTRAINT_FIELD_NUMBER
public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
The name of this resource. Node pool names are formatted as `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. For more details on Google Cloud resource names, see [Resource Names](https://cloud.google.com/apis/design/resource_names)
string name = 1;
- Specified by:
getName
in interfaceAwsNodePoolOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of this resource. Node pool names are formatted as `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. For more details on Google Cloud resource names, see [Resource Names](https://cloud.google.com/apis/design/resource_names)
string name = 1;
- Specified by:
getNameBytes
in interfaceAwsNodePoolOrBuilder
- Returns:
- The bytes for name.
-
getVersion
public String getVersion()
Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`). You can list all supported versions on a given Google Cloud region by calling [GetAwsServerConfig][google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig].
string version = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getVersion
in interfaceAwsNodePoolOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Required. The Kubernetes version to run on this node pool (e.g. `1.19.10-gke.1000`). You can list all supported versions on a given Google Cloud region by calling [GetAwsServerConfig][google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig].
string version = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getVersionBytes
in interfaceAwsNodePoolOrBuilder
- Returns:
- The bytes for version.
-
hasConfig
public boolean hasConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasConfig
in interfaceAwsNodePoolOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
public AwsNodeConfig getConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConfig
in interfaceAwsNodePoolOrBuilder
- Returns:
- The config.
-
getConfigOrBuilder
public AwsNodeConfigOrBuilder getConfigOrBuilder()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConfigOrBuilder
in interfaceAwsNodePoolOrBuilder
-
hasAutoscaling
public boolean hasAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasAutoscaling
in interfaceAwsNodePoolOrBuilder
- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
public AwsNodePoolAutoscaling getAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAutoscaling
in interfaceAwsNodePoolOrBuilder
- Returns:
- The autoscaling.
-
getAutoscalingOrBuilder
public AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAutoscalingOrBuilder
in interfaceAwsNodePoolOrBuilder
-
getSubnetId
public String getSubnetId()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSubnetId
in interfaceAwsNodePoolOrBuilder
- Returns:
- The subnetId.
-
getSubnetIdBytes
public com.google.protobuf.ByteString getSubnetIdBytes()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSubnetIdBytes
in interfaceAwsNodePoolOrBuilder
- Returns:
- The bytes for subnetId.
-
getStateValue
public int getStateValue()
Output only. The lifecycle state of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceAwsNodePoolOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public AwsNodePool.State getState()
Output only. The lifecycle state of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceAwsNodePoolOrBuilder
- Returns:
- The state.
-
getUid
public String getUid()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceAwsNodePoolOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceAwsNodePoolOrBuilder
- Returns:
- The bytes for uid.
-
getReconciling
public boolean getReconciling()
Output only. If set, there are currently changes in flight to the node pool.
bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReconciling
in interfaceAwsNodePoolOrBuilder
- Returns:
- The reconciling.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceAwsNodePoolOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceAwsNodePoolOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceAwsNodePoolOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceAwsNodePoolOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceAwsNodePoolOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceAwsNodePoolOrBuilder
-
getEtag
public String getEtag()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 21;
- Specified by:
getEtag
in interfaceAwsNodePoolOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 21;
- Specified by:
getEtagBytes
in interfaceAwsNodePoolOrBuilder
- Returns:
- The bytes for etag.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:AwsNodePoolOrBuilder
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsCount
in interfaceAwsNodePoolOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsAnnotations
in interfaceAwsNodePoolOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceAwsNodePoolOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsMap
in interfaceAwsNodePoolOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsOrDefault
in interfaceAwsNodePoolOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAnnotationsOrThrow
in interfaceAwsNodePoolOrBuilder
-
hasMaxPodsConstraint
public boolean hasMaxPodsConstraint()
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasMaxPodsConstraint
in interfaceAwsNodePoolOrBuilder
- Returns:
- Whether the maxPodsConstraint field is set.
-
getMaxPodsConstraint
public MaxPodsConstraint getMaxPodsConstraint()
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMaxPodsConstraint
in interfaceAwsNodePoolOrBuilder
- Returns:
- The maxPodsConstraint.
-
getMaxPodsConstraintOrBuilder
public MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()
Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMaxPodsConstraintOrBuilder
in interfaceAwsNodePoolOrBuilder
-
getErrorsList
public List<AwsNodePoolError> getErrorsList()
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorsList
in interfaceAwsNodePoolOrBuilder
-
getErrorsOrBuilderList
public List<? extends AwsNodePoolErrorOrBuilder> getErrorsOrBuilderList()
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorsOrBuilderList
in interfaceAwsNodePoolOrBuilder
-
getErrorsCount
public int getErrorsCount()
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorsCount
in interfaceAwsNodePoolOrBuilder
-
getErrors
public AwsNodePoolError getErrors(int index)
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrors
in interfaceAwsNodePoolOrBuilder
-
getErrorsOrBuilder
public AwsNodePoolErrorOrBuilder getErrorsOrBuilder(int index)
Output only. A set of errors found in the node pool.
repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getErrorsOrBuilder
in interfaceAwsNodePoolOrBuilder
-
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 AwsNodePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsNodePool parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AwsNodePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AwsNodePool parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AwsNodePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AwsNodePool parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AwsNodePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AwsNodePool.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AwsNodePool.Builder newBuilder()
-
newBuilder
public static AwsNodePool.Builder newBuilder(AwsNodePool prototype)
-
toBuilder
public AwsNodePool.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AwsNodePool.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AwsNodePool getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AwsNodePool> parser()
-
getParserForType
public com.google.protobuf.Parser<AwsNodePool> 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 AwsNodePool getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-