Class AwsNodePool.Builder (0.32.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllErrors(Iterable<? extends AwsNodePoolError> values)

public AwsNodePool.Builder addAllErrors(Iterable<? extends AwsNodePoolError> values)

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];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AwsNodePoolError>
Returns
TypeDescription
AwsNodePool.Builder

addErrors(AwsNodePoolError value)

public AwsNodePool.Builder addErrors(AwsNodePoolError value)

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];

Parameter
NameDescription
valueAwsNodePoolError
Returns
TypeDescription
AwsNodePool.Builder

addErrors(AwsNodePoolError.Builder builderForValue)

public AwsNodePool.Builder addErrors(AwsNodePoolError.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueAwsNodePoolError.Builder
Returns
TypeDescription
AwsNodePool.Builder

addErrors(int index, AwsNodePoolError value)

public AwsNodePool.Builder addErrors(int index, AwsNodePoolError value)

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];

Parameters
NameDescription
indexint
valueAwsNodePoolError
Returns
TypeDescription
AwsNodePool.Builder

addErrors(int index, AwsNodePoolError.Builder builderForValue)

public AwsNodePool.Builder addErrors(int index, AwsNodePoolError.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueAwsNodePoolError.Builder
Returns
TypeDescription
AwsNodePool.Builder

addErrorsBuilder()

public AwsNodePoolError.Builder addErrorsBuilder()

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];

Returns
TypeDescription
AwsNodePoolError.Builder

addErrorsBuilder(int index)

public AwsNodePoolError.Builder addErrorsBuilder(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];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePoolError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsNodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsNodePool.Builder
Overrides

build()

public AwsNodePool build()
Returns
TypeDescription
AwsNodePool

buildPartial()

public AwsNodePool buildPartial()
Returns
TypeDescription
AwsNodePool

clear()

public AwsNodePool.Builder clear()
Returns
TypeDescription
AwsNodePool.Builder
Overrides

clearAnnotations()

public AwsNodePool.Builder clearAnnotations()
Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
AwsNodePool.Builder

clearErrors()

public AwsNodePool.Builder clearErrors()

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];

Returns
TypeDescription
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;

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsNodePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsNodePool.Builder
Overrides

clearManagement()

public AwsNodePool.Builder clearManagement()

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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];

Returns
TypeDescription
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;

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsNodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsNodePool.Builder
Overrides

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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.

clearUpdateSettings()

public AwsNodePool.Builder clearUpdateSettings()

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsNodePool.Builder

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];

Returns
TypeDescription
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];

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.

clone()

public AwsNodePool.Builder clone()
Returns
TypeDescription
AwsNodePool.Builder
Overrides

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];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getAutoscaling()

public AwsNodePoolAutoscaling getAutoscaling()

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
AwsNodePoolAutoscalingOrBuilder

getConfig()

public AwsNodeConfig getConfig()

Required. The configuration of the node pool.

.google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public AwsNodePool getDefaultInstanceForType()
Returns
TypeDescription
AwsNodePool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrors(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePoolError

getErrorsBuilder(int index)

public AwsNodePoolError.Builder getErrorsBuilder(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];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePoolError.Builder

getErrorsBuilderList()

public List<AwsNodePoolError.Builder> getErrorsBuilderList()

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];

Returns
TypeDescription
List<Builder>

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];

Returns
TypeDescription
int

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];

Returns
TypeDescription
List<AwsNodePoolError>

getErrorsOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePoolErrorOrBuilder

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];

Returns
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder>

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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for etag.

getManagement()

public AwsNodeManagement getManagement()

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsNodeManagement

The management.

getManagementBuilder()

public AwsNodeManagement.Builder getManagementBuilder()

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsNodeManagement.Builder

getManagementOrBuilder()

public AwsNodeManagementOrBuilder getManagementOrBuilder()

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AwsNodeManagementOrBuilder

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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
MaxPodsConstraintOrBuilder

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateSettings()

public UpdateSettings getUpdateSettings()

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateSettings

The updateSettings.

getUpdateSettingsBuilder()

public UpdateSettings.Builder getUpdateSettingsBuilder()

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateSettings.Builder

getUpdateSettingsOrBuilder()

public UpdateSettingsOrBuilder getUpdateSettingsOrBuilder()

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateSettingsOrBuilder

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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasManagement()

public boolean hasManagement()

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the management 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];

Returns
TypeDescription
boolean

Whether the maxPodsConstraint field is set.

hasUpdateSettings()

public boolean hasUpdateSettings()

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the updateSettings 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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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];

Parameter
NameDescription
valueAwsNodePoolAutoscaling
Returns
TypeDescription
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];

Parameter
NameDescription
valueAwsNodeConfig
Returns
TypeDescription
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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AwsNodePool.Builder

mergeFrom(AwsNodePool other)

public AwsNodePool.Builder mergeFrom(AwsNodePool other)
Parameter
NameDescription
otherAwsNodePool
Returns
TypeDescription
AwsNodePool.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsNodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsNodePool.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsNodePool.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsNodePool.Builder
Overrides

mergeManagement(AwsNodeManagement value)

public AwsNodePool.Builder mergeManagement(AwsNodeManagement value)

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAwsNodeManagement
Returns
TypeDescription
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];

Parameter
NameDescription
valueMaxPodsConstraint
Returns
TypeDescription
AwsNodePool.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsNodePool.Builder
Overrides

mergeUpdateSettings(UpdateSettings value)

public AwsNodePool.Builder mergeUpdateSettings(UpdateSettings value)

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueUpdateSettings
Returns
TypeDescription
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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
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];

Parameter
NameDescription
keyString
Returns
TypeDescription
AwsNodePool.Builder

removeErrors(int index)

public AwsNodePool.Builder removeErrors(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];

Parameter
NameDescription
indexint
Returns
TypeDescription
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];

Parameter
NameDescription
valueAwsNodePoolAutoscaling
Returns
TypeDescription
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];

Parameter
NameDescription
builderForValueAwsNodePoolAutoscaling.Builder
Returns
TypeDescription
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];

Parameter
NameDescription
valueAwsNodeConfig
Returns
TypeDescription
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];

Parameter
NameDescription
builderForValueAwsNodeConfig.Builder
Returns
TypeDescription
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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AwsNodePool.Builder

setErrors(int index, AwsNodePoolError value)

public AwsNodePool.Builder setErrors(int index, AwsNodePoolError value)

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];

Parameters
NameDescription
indexint
valueAwsNodePoolError
Returns
TypeDescription
AwsNodePool.Builder

setErrors(int index, AwsNodePoolError.Builder builderForValue)

public AwsNodePool.Builder setErrors(int index, AwsNodePoolError.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueAwsNodePoolError.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsNodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsNodePool.Builder
Overrides

setManagement(AwsNodeManagement value)

public AwsNodePool.Builder setManagement(AwsNodeManagement value)

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueAwsNodeManagement
Returns
TypeDescription
AwsNodePool.Builder

setManagement(AwsNodeManagement.Builder builderForValue)

public AwsNodePool.Builder setManagement(AwsNodeManagement.Builder builderForValue)

Optional. The Management configuration for this node pool.

.google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueAwsNodeManagement.Builder
Returns
TypeDescription
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];

Parameter
NameDescription
valueMaxPodsConstraint
Returns
TypeDescription
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];

Parameter
NameDescription
builderForValueMaxPodsConstraint.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueboolean

The reconciling to set.

Returns
TypeDescription
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)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsNodePool.Builder
Overrides

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];

Parameter
NameDescription
valueAwsNodePool.State

The state to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueString

The subnetId to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for subnetId to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsNodePool.Builder
Overrides

setUpdateSettings(UpdateSettings value)

public AwsNodePool.Builder setUpdateSettings(UpdateSettings value)

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueUpdateSettings
Returns
TypeDescription
AwsNodePool.Builder

setUpdateSettings(UpdateSettings.Builder builderForValue)

public AwsNodePool.Builder setUpdateSettings(UpdateSettings.Builder builderForValue)

Optional. Update settings control the speed and disruption of the update.

.google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueUpdateSettings.Builder
Returns
TypeDescription
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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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];

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
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];

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AwsNodePool.Builder

This builder for chaining.