Interface AwsNodePoolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AwsNodePool
,AwsNodePool.Builder
public interface AwsNodePoolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Optional.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.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.boolean
getReconciling()
Output only.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.boolean
hasMaxPodsConstraint()
Required.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;
- Returns:
- The name.
-
getNameBytes
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;
- Returns:
- The bytes for name.
-
getVersion
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];
- Returns:
- The version.
-
getVersionBytes
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];
- Returns:
- The bytes for version.
-
hasConfig
boolean hasConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the config field is set.
-
getConfig
AwsNodeConfig getConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The config.
-
getConfigOrBuilder
AwsNodeConfigOrBuilder getConfigOrBuilder()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
-
hasAutoscaling
boolean hasAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the autoscaling field is set.
-
getAutoscaling
AwsNodePoolAutoscaling getAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The autoscaling.
-
getAutoscalingOrBuilder
AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
-
getSubnetId
String getSubnetId()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The subnetId.
-
getSubnetIdBytes
com.google.protobuf.ByteString getSubnetIdBytes()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for subnetId.
-
getStateValue
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];
- Returns:
- The enum numeric value on the wire for state.
-
getState
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];
- Returns:
- The state.
-
getUid
String getUid()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for uid.
-
getReconciling
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];
- Returns:
- The reconciling.
-
hasCreateTime
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];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
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];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
getEtag
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;
- Returns:
- The etag.
-
getEtagBytes
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;
- Returns:
- The bytes for etag.
-
getAnnotationsCount
int getAnnotationsCount()
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];
-
containsAnnotations
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];
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.
-
getAnnotationsMap
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];
-
getAnnotationsOrDefault
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];
-
getAnnotationsOrThrow
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];
-
hasMaxPodsConstraint
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];
- Returns:
- Whether the maxPodsConstraint field is set.
-
getMaxPodsConstraint
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];
- Returns:
- The maxPodsConstraint.
-
getMaxPodsConstraintOrBuilder
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];
-
getErrorsList
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];
-
getErrors
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];
-
getErrorsCount
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];
-
getErrorsOrBuilderList
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];
-
getErrorsOrBuilder
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];
-
-