Class AwsNodePool.Builder (0.48.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AwsNodePoolError>
Returns
Type Description
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
Name Description
value AwsNodePoolError
Returns
Type Description
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
Name Description
builderForValue AwsNodePoolError.Builder
Returns
Type Description
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
Name Description
index int
value AwsNodePoolError
Returns
Type Description
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
Name Description
index int
builderForValue AwsNodePoolError.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
AwsNodePoolError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsNodePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsNodePool.Builder
Overrides

build()

public AwsNodePool build()
Returns
Type Description
AwsNodePool

buildPartial()

public AwsNodePool buildPartial()
Returns
Type Description
AwsNodePool

clear()

public AwsNodePool.Builder clear()
Returns
Type Description
AwsNodePool.Builder
Overrides

clearAnnotations()

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

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

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

Returns
Type Description
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
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;

Returns
Type Description
AwsNodePool.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsNodePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
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];

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

Returns
Type Description
AwsNodePool.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsNodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
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];

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

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

Returns
Type Description
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
Type Description
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
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];

Returns
Type Description
AwsNodePool.Builder

This builder for chaining.

clone()

public AwsNodePool.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

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

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

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

Parameters
Name Description
key String
defaultValue String
Returns
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];

Parameter
Name Description
key String
Returns
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];

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

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

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

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

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

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

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

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AwsNodePool getDefaultInstanceForType()
Returns
Type Description
AwsNodePool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
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;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
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];

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

Returns
Type Description
MaxPodsConstraintOrBuilder

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

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

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

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

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

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

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

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

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
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];

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

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

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

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

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value AwsNodePoolAutoscaling
Returns
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];

Parameter
Name Description
value AwsNodeConfig
Returns
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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AwsNodePool.Builder

mergeFrom(AwsNodePool other)

public AwsNodePool.Builder mergeFrom(AwsNodePool other)
Parameter
Name Description
other AwsNodePool
Returns
Type Description
AwsNodePool.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsNodePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsNodePool.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsNodePool.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value AwsNodeManagement
Returns
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];

Parameter
Name Description
value MaxPodsConstraint
Returns
Type Description
AwsNodePool.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value UpdateSettings
Returns
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];

Parameter
Name Description
value Timestamp
Returns
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];

Parameter
Name Description
values Map<String,String>
Returns
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];

Parameters
Name Description
key String
value String
Returns
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];

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
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];

Parameter
Name Description
value AwsNodePoolAutoscaling
Returns
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];

Parameter
Name Description
builderForValue AwsNodePoolAutoscaling.Builder
Returns
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];

Parameter
Name Description
value AwsNodeConfig
Returns
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];

Parameter
Name Description
builderForValue AwsNodeConfig.Builder
Returns
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];

Parameter
Name Description
value Timestamp
Returns
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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
index int
value AwsNodePoolError
Returns
Type Description
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
Name Description
index int
builderForValue AwsNodePoolError.Builder
Returns
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;

Parameter
Name Description
value String

The etag to set.

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

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
AwsNodePool.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsNodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value AwsNodeManagement
Returns
Type Description
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
Name Description
builderForValue AwsNodeManagement.Builder
Returns
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];

Parameter
Name Description
value MaxPodsConstraint
Returns
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];

Parameter
Name Description
builderForValue MaxPodsConstraint.Builder
Returns
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;

Parameter
Name Description
value String

The name to set.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

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

Parameter
Name Description
value boolean

The reconciling to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value AwsNodePool.State

The state to set.

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

Parameter
Name Description
value int

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

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

Parameter
Name Description
value String

The subnetId to set.

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

Parameter
Name Description
value ByteString

The bytes for subnetId to set.

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

Parameter
Name Description
value String

The uid to set.

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

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
AwsNodePool.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsNodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value UpdateSettings
Returns
Type Description
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
Name Description
builderForValue UpdateSettings.Builder
Returns
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];

Parameter
Name Description
value Timestamp
Returns
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];

Parameter
Name Description
builderForValue Builder
Returns
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];

Parameter
Name Description
value String

The version to set.

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

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AwsNodePool.Builder

This builder for chaining.