- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class AwsNodePool.Builder extends GeneratedMessageV3.Builder<AwsNodePool.Builder> implements AwsNodePoolOrBuilder
An Anthos node pool running on AWS.
Protobuf type google.cloud.gkemulticloud.v1.AwsNodePool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsNodePool.BuilderImplements
AwsNodePoolOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsNodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AwsNodePool.Builder |
build()
public AwsNodePool build()
Type | Description |
AwsNodePool |
buildPartial()
public AwsNodePool buildPartial()
Type | Description |
AwsNodePool |
clear()
public AwsNodePool.Builder clear()
Type | Description |
AwsNodePool.Builder |
clearAnnotations()
public AwsNodePool.Builder clearAnnotations()
Type | Description |
AwsNodePool.Builder |
clearAutoscaling()
public AwsNodePool.Builder clearAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePool.Builder |
clearConfig()
public AwsNodePool.Builder clearConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePool.Builder |
clearCreateTime()
public AwsNodePool.Builder clearCreateTime()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AwsNodePool.Builder |
clearEtag()
public AwsNodePool.Builder clearEtag()
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;
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AwsNodePool.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AwsNodePool.Builder |
clearMaxPodsConstraint()
public AwsNodePool.Builder clearMaxPodsConstraint()
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];
Type | Description |
AwsNodePool.Builder |
clearName()
public AwsNodePool.Builder clearName()
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
string name = 1;
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsNodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AwsNodePool.Builder |
clearReconciling()
public AwsNodePool.Builder clearReconciling()
Output only. If set, there are currently changes in flight to the node pool.
bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clearState()
public AwsNodePool.Builder clearState()
Output only. The lifecycle state of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clearSubnetId()
public AwsNodePool.Builder clearSubnetId()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clearUid()
public AwsNodePool.Builder clearUid()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clearUpdateTime()
public AwsNodePool.Builder clearUpdateTime()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AwsNodePool.Builder |
clearVersion()
public AwsNodePool.Builder clearVersion()
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.
string version = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
clone()
public AwsNodePool.Builder clone()
Type | Description |
AwsNodePool.Builder |
containsAnnotations(String key)
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];
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public 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];
Type | Description |
int |
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];
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
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];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getAnnotationsOrThrow(String key)
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];
Name | Description |
key | String |
Type | Description |
String |
getAutoscaling()
public AwsNodePoolAutoscaling getAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePoolAutoscaling | The autoscaling. |
getAutoscalingBuilder()
public AwsNodePoolAutoscaling.Builder getAutoscalingBuilder()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePoolAutoscaling.Builder |
getAutoscalingOrBuilder()
public AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodePoolAutoscalingOrBuilder |
getConfig()
public AwsNodeConfig getConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodeConfig | The config. |
getConfigBuilder()
public AwsNodeConfig.Builder getConfigBuilder()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodeConfig.Builder |
getConfigOrBuilder()
public AwsNodeConfigOrBuilder getConfigOrBuilder()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AwsNodeConfigOrBuilder |
getCreateTime()
public 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];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public AwsNodePool getDefaultInstanceForType()
Type | Description |
AwsNodePool |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
String | The etag. |
getEtagBytes()
public 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;
Type | Description |
ByteString | The bytes for etag. |
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];
Type | Description |
MaxPodsConstraint | The maxPodsConstraint. |
getMaxPodsConstraintBuilder()
public MaxPodsConstraint.Builder getMaxPodsConstraintBuilder()
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];
Type | Description |
MaxPodsConstraint.Builder |
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];
Type | Description |
MaxPodsConstraintOrBuilder |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public 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
string name = 1;
Type | Description |
ByteString | The bytes for name. |
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];
Type | Description |
boolean | The reconciling. |
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];
Type | Description |
AwsNodePool.State | The state. |
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];
Type | Description |
int | The enum numeric value on the wire for state. |
getSubnetId()
public String getSubnetId()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The subnetId. |
getSubnetIdBytes()
public ByteString getSubnetIdBytes()
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for subnetId. |
getUid()
public String getUid()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
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.
string version = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The version. |
getVersionBytes()
public 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.
string version = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for version. |
hasAutoscaling()
public boolean hasAutoscaling()
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the autoscaling field is set. |
hasConfig()
public boolean hasConfig()
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the config field is set. |
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];
Type | Description |
boolean | Whether the createTime field is set. |
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];
Type | Description |
boolean | Whether the maxPodsConstraint field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAutoscaling(AwsNodePoolAutoscaling value)
public AwsNodePool.Builder mergeAutoscaling(AwsNodePoolAutoscaling value)
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AwsNodePoolAutoscaling |
Type | Description |
AwsNodePool.Builder |
mergeConfig(AwsNodeConfig value)
public AwsNodePool.Builder mergeConfig(AwsNodeConfig value)
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AwsNodeConfig |
Type | Description |
AwsNodePool.Builder |
mergeCreateTime(Timestamp value)
public AwsNodePool.Builder mergeCreateTime(Timestamp value)
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
AwsNodePool.Builder |
mergeFrom(AwsNodePool other)
public AwsNodePool.Builder mergeFrom(AwsNodePool other)
Name | Description |
other | AwsNodePool |
Type | Description |
AwsNodePool.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsNodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AwsNodePool.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AwsNodePool.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AwsNodePool.Builder |
mergeMaxPodsConstraint(MaxPodsConstraint value)
public AwsNodePool.Builder mergeMaxPodsConstraint(MaxPodsConstraint value)
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];
Name | Description |
value | MaxPodsConstraint |
Type | Description |
AwsNodePool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsNodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AwsNodePool.Builder |
mergeUpdateTime(Timestamp value)
public AwsNodePool.Builder mergeUpdateTime(Timestamp value)
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
AwsNodePool.Builder |
putAllAnnotations(Map<String,String> values)
public AwsNodePool.Builder putAllAnnotations(Map<String,String> values)
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];
Name | Description |
values | Map<String,String> |
Type | Description |
AwsNodePool.Builder |
putAnnotations(String key, String value)
public AwsNodePool.Builder putAnnotations(String key, String value)
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];
Name | Description |
key | String |
value | String |
Type | Description |
AwsNodePool.Builder |
removeAnnotations(String key)
public AwsNodePool.Builder removeAnnotations(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];
Name | Description |
key | String |
Type | Description |
AwsNodePool.Builder |
setAutoscaling(AwsNodePoolAutoscaling value)
public AwsNodePool.Builder setAutoscaling(AwsNodePoolAutoscaling value)
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AwsNodePoolAutoscaling |
Type | Description |
AwsNodePool.Builder |
setAutoscaling(AwsNodePoolAutoscaling.Builder builderForValue)
public AwsNodePool.Builder setAutoscaling(AwsNodePoolAutoscaling.Builder builderForValue)
Required. Autoscaler configuration for this node pool.
.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | AwsNodePoolAutoscaling.Builder |
Type | Description |
AwsNodePool.Builder |
setConfig(AwsNodeConfig value)
public AwsNodePool.Builder setConfig(AwsNodeConfig value)
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | AwsNodeConfig |
Type | Description |
AwsNodePool.Builder |
setConfig(AwsNodeConfig.Builder builderForValue)
public AwsNodePool.Builder setConfig(AwsNodeConfig.Builder builderForValue)
Required. The configuration of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | AwsNodeConfig.Builder |
Type | Description |
AwsNodePool.Builder |
setCreateTime(Timestamp value)
public AwsNodePool.Builder setCreateTime(Timestamp value)
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
AwsNodePool.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public AwsNodePool.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time at which this node pool was created.
.google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
AwsNodePool.Builder |
setEtag(String value)
public AwsNodePool.Builder setEtag(String value)
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;
Name | Description |
value | String The etag to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public AwsNodePool.Builder setEtagBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AwsNodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AwsNodePool.Builder |
setMaxPodsConstraint(MaxPodsConstraint value)
public AwsNodePool.Builder setMaxPodsConstraint(MaxPodsConstraint value)
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];
Name | Description |
value | MaxPodsConstraint |
Type | Description |
AwsNodePool.Builder |
setMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)
public AwsNodePool.Builder setMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)
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];
Name | Description |
builderForValue | MaxPodsConstraint.Builder |
Type | Description |
AwsNodePool.Builder |
setName(String value)
public AwsNodePool.Builder setName(String value)
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
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AwsNodePool.Builder setNameBytes(ByteString value)
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
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setReconciling(boolean value)
public AwsNodePool.Builder setReconciling(boolean value)
Output only. If set, there are currently changes in flight to the node pool.
bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | boolean The reconciling to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsNodePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AwsNodePool.Builder |
setState(AwsNodePool.State value)
public AwsNodePool.Builder setState(AwsNodePool.State value)
Output only. The lifecycle state of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | AwsNodePool.State The state to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setStateValue(int value)
public AwsNodePool.Builder setStateValue(int value)
Output only. The lifecycle state of the node pool.
.google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setSubnetId(String value)
public AwsNodePool.Builder setSubnetId(String value)
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The subnetId to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setSubnetIdBytes(ByteString value)
public AwsNodePool.Builder setSubnetIdBytes(ByteString value)
Required. The subnet where the node pool node run.
string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for subnetId to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setUid(String value)
public AwsNodePool.Builder setUid(String value)
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The uid to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public AwsNodePool.Builder setUidBytes(ByteString value)
Output only. A globally unique identifier for the node pool.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsNodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AwsNodePool.Builder |
setUpdateTime(Timestamp value)
public AwsNodePool.Builder setUpdateTime(Timestamp value)
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
AwsNodePool.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public AwsNodePool.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time at which this node pool was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
AwsNodePool.Builder |
setVersion(String value)
public AwsNodePool.Builder setVersion(String value)
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.
string version = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The version to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public AwsNodePool.Builder setVersionBytes(ByteString value)
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.
string version = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for version to set. |
Type | Description |
AwsNodePool.Builder | This builder for chaining. |