Class AzureNodePool.Builder (0.46.0)

public static final class AzureNodePool.Builder extends GeneratedMessageV3.Builder<AzureNodePool.Builder> implements AzureNodePoolOrBuilder

An Anthos node pool running on Azure.

Protobuf type google.cloud.gkemulticloud.v1.AzureNodePool

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllErrors(Iterable<? extends AzureNodePoolError> values)

public AzureNodePool.Builder addAllErrors(Iterable<? extends AzureNodePoolError> values)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AzureNodePoolError>
Returns
Type Description
AzureNodePool.Builder

addErrors(AzureNodePoolError value)

public AzureNodePool.Builder addErrors(AzureNodePoolError value)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AzureNodePoolError
Returns
Type Description
AzureNodePool.Builder

addErrors(AzureNodePoolError.Builder builderForValue)

public AzureNodePool.Builder addErrors(AzureNodePoolError.Builder builderForValue)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AzureNodePoolError.Builder
Returns
Type Description
AzureNodePool.Builder

addErrors(int index, AzureNodePoolError value)

public AzureNodePool.Builder addErrors(int index, AzureNodePoolError value)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AzureNodePoolError
Returns
Type Description
AzureNodePool.Builder

addErrors(int index, AzureNodePoolError.Builder builderForValue)

public AzureNodePool.Builder addErrors(int index, AzureNodePoolError.Builder builderForValue)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AzureNodePoolError.Builder
Returns
Type Description
AzureNodePool.Builder

addErrorsBuilder()

public AzureNodePoolError.Builder addErrorsBuilder()

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePoolError.Builder

addErrorsBuilder(int index)

public AzureNodePoolError.Builder addErrorsBuilder(int index)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureNodePoolError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureNodePool build()
Returns
Type Description
AzureNodePool

buildPartial()

public AzureNodePool buildPartial()
Returns
Type Description
AzureNodePool

clear()

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

clearAnnotations()

public AzureNodePool.Builder clearAnnotations()
Returns
Type Description
AzureNodePool.Builder

clearAutoscaling()

public AzureNodePool.Builder clearAutoscaling()

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool.Builder

clearAzureAvailabilityZone()

public AzureNodePool.Builder clearAzureAvailabilityZone()

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearConfig()

public AzureNodePool.Builder clearConfig()

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool.Builder

clearCreateTime()

public AzureNodePool.Builder clearCreateTime()

Output only. The time at which this node pool was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.Builder

clearErrors()

public AzureNodePool.Builder clearErrors()

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.Builder

clearEtag()

public AzureNodePool.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 = 12;

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AzureNodePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AzureNodePool.Builder
Overrides

clearManagement()

public AzureNodePool.Builder clearManagement()

Optional. The Management configuration for this node pool.

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

Returns
Type Description
AzureNodePool.Builder

clearMaxPodsConstraint()

public AzureNodePool.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 = 21 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool.Builder

clearName()

public AzureNodePool.Builder clearName()

The name of this resource.

Node pool names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

For more details on Google Cloud resource names, see Resource Names

string name = 1;

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureNodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AzureNodePool.Builder
Overrides

clearReconciling()

public AzureNodePool.Builder clearReconciling()

Output only. If set, there are currently pending changes to the node pool.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearState()

public AzureNodePool.Builder clearState()

Output only. The current state of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearSubnetId()

public AzureNodePool.Builder clearSubnetId()

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearUid()

public AzureNodePool.Builder clearUid()

Output only. A globally unique identifier for the node pool.

string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clearUpdateTime()

public AzureNodePool.Builder clearUpdateTime()

Output only. The time at which this node pool was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.Builder

clearVersion()

public AzureNodePool.Builder clearVersion()

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

clone()

public AzureNodePool.Builder clone()
Returns
Type Description
AzureNodePool.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. Keys 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 = 13 [(.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. Keys 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 = 13 [(.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. Keys 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 = 13 [(.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. Keys 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 = 13 [(.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. Keys 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 = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getAutoscaling()

public AzureNodePoolAutoscaling getAutoscaling()

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePoolAutoscaling

The autoscaling.

getAutoscalingBuilder()

public AzureNodePoolAutoscaling.Builder getAutoscalingBuilder()

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePoolAutoscaling.Builder

getAutoscalingOrBuilder()

public AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder()

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodePoolAutoscalingOrBuilder

getAzureAvailabilityZone()

public String getAzureAvailabilityZone()

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The azureAvailabilityZone.

getAzureAvailabilityZoneBytes()

public ByteString getAzureAvailabilityZoneBytes()

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for azureAvailabilityZone.

getConfig()

public AzureNodeConfig getConfig()

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodeConfig

The config.

getConfigBuilder()

public AzureNodeConfig.Builder getConfigBuilder()

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodeConfig.Builder

getConfigOrBuilder()

public AzureNodeConfigOrBuilder getConfigOrBuilder()

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodeConfigOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this node pool was created.

.google.protobuf.Timestamp create_time = 10 [(.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 = 10 [(.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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AzureNodePool getDefaultInstanceForType()
Returns
Type Description
AzureNodePool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrors(int index)

public AzureNodePoolError getErrors(int index)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureNodePoolError

getErrorsBuilder(int index)

public AzureNodePoolError.Builder getErrorsBuilder(int index)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureNodePoolError.Builder

getErrorsBuilderList()

public List<AzureNodePoolError.Builder> getErrorsBuilderList()

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError 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.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorsList()

public List<AzureNodePoolError> getErrorsList()

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AzureNodePoolError>

getErrorsOrBuilder(int index)

public AzureNodePoolErrorOrBuilder getErrorsOrBuilder(int index)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureNodePoolErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends AzureNodePoolErrorOrBuilder> getErrorsOrBuilderList()

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder>

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 = 12;

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 = 12;

Returns
Type Description
ByteString

The bytes for etag.

getManagement()

public AzureNodeManagement getManagement()

Optional. The Management configuration for this node pool.

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

Returns
Type Description
AzureNodeManagement

The management.

getManagementBuilder()

public AzureNodeManagement.Builder getManagementBuilder()

Optional. The Management configuration for this node pool.

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

Returns
Type Description
AzureNodeManagement.Builder

getManagementOrBuilder()

public AzureNodeManagementOrBuilder getManagementOrBuilder()

Optional. The Management configuration for this node pool.

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

Returns
Type Description
AzureNodeManagementOrBuilder

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 = 21 [(.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 = 21 [(.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 = 21 [(.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>/azureClusters/<cluster-id>/azureNodePools/<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>/azureClusters/<cluster-id>/azureNodePools/<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 pending changes to the node pool.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The reconciling.

getState()

public AzureNodePool.State getState()

Output only. The current state of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AzureNodePool.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.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 ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The subnetId.

getSubnetIdBytes()

public ByteString getSubnetIdBytes()

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

string subnet_id = 3 [(.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which this node pool was last updated.

.google.protobuf.Timestamp update_time = 11 [(.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 = 11 [(.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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVersion()

public String getVersion()

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

string version = 2 [(.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.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the autoscaling field is set.

hasConfig()

public boolean hasConfig()

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.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 = 10 [(.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.AzureNodeManagement 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 = 21 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the maxPodsConstraint field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which this node pool was last updated.

.google.protobuf.Timestamp update_time = 11 [(.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(AzureNodePoolAutoscaling value)

public AzureNodePool.Builder mergeAutoscaling(AzureNodePoolAutoscaling value)

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureNodePoolAutoscaling
Returns
Type Description
AzureNodePool.Builder

mergeConfig(AzureNodeConfig value)

public AzureNodePool.Builder mergeConfig(AzureNodeConfig value)

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureNodeConfig
Returns
Type Description
AzureNodePool.Builder

mergeCreateTime(Timestamp value)

public AzureNodePool.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this node pool was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureNodePool.Builder

mergeFrom(AzureNodePool other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AzureNodePool.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureNodePool.Builder
Overrides

mergeManagement(AzureNodeManagement value)

public AzureNodePool.Builder mergeManagement(AzureNodeManagement value)

Optional. The Management configuration for this node pool.

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

Parameter
Name Description
value AzureNodeManagement
Returns
Type Description
AzureNodePool.Builder

mergeMaxPodsConstraint(MaxPodsConstraint value)

public AzureNodePool.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 = 21 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MaxPodsConstraint
Returns
Type Description
AzureNodePool.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureNodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureNodePool.Builder
Overrides

mergeUpdateTime(Timestamp value)

public AzureNodePool.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which this node pool was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureNodePool.Builder

putAllAnnotations(Map<String,String> values)

public AzureNodePool.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. Keys 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 = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AzureNodePool.Builder

putAnnotations(String key, String value)

public AzureNodePool.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. Keys 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 = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
AzureNodePool.Builder

removeAnnotations(String key)

public AzureNodePool.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. Keys 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 = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AzureNodePool.Builder

removeErrors(int index)

public AzureNodePool.Builder removeErrors(int index)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AzureNodePool.Builder

setAutoscaling(AzureNodePoolAutoscaling value)

public AzureNodePool.Builder setAutoscaling(AzureNodePoolAutoscaling value)

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureNodePoolAutoscaling
Returns
Type Description
AzureNodePool.Builder

setAutoscaling(AzureNodePoolAutoscaling.Builder builderForValue)

public AzureNodePool.Builder setAutoscaling(AzureNodePoolAutoscaling.Builder builderForValue)

Required. Autoscaler configuration for this node pool.

.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AzureNodePoolAutoscaling.Builder
Returns
Type Description
AzureNodePool.Builder

setAzureAvailabilityZone(String value)

public AzureNodePool.Builder setAzureAvailabilityZone(String value)

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The azureAvailabilityZone to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setAzureAvailabilityZoneBytes(ByteString value)

public AzureNodePool.Builder setAzureAvailabilityZoneBytes(ByteString value)

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for azureAvailabilityZone to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setConfig(AzureNodeConfig value)

public AzureNodePool.Builder setConfig(AzureNodeConfig value)

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureNodeConfig
Returns
Type Description
AzureNodePool.Builder

setConfig(AzureNodeConfig.Builder builderForValue)

public AzureNodePool.Builder setConfig(AzureNodeConfig.Builder builderForValue)

Required. The node configuration of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AzureNodeConfig.Builder
Returns
Type Description
AzureNodePool.Builder

setCreateTime(Timestamp value)

public AzureNodePool.Builder setCreateTime(Timestamp value)

Output only. The time at which this node pool was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureNodePool.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AzureNodePool.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this node pool was created.

.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AzureNodePool.Builder

setErrors(int index, AzureNodePoolError value)

public AzureNodePool.Builder setErrors(int index, AzureNodePoolError value)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AzureNodePoolError
Returns
Type Description
AzureNodePool.Builder

setErrors(int index, AzureNodePoolError.Builder builderForValue)

public AzureNodePool.Builder setErrors(int index, AzureNodePoolError.Builder builderForValue)

Output only. A set of errors found in the node pool.

repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AzureNodePoolError.Builder
Returns
Type Description
AzureNodePool.Builder

setEtag(String value)

public AzureNodePool.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 = 12;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public AzureNodePool.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 = 12;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setManagement(AzureNodeManagement value)

public AzureNodePool.Builder setManagement(AzureNodeManagement value)

Optional. The Management configuration for this node pool.

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

Parameter
Name Description
value AzureNodeManagement
Returns
Type Description
AzureNodePool.Builder

setManagement(AzureNodeManagement.Builder builderForValue)

public AzureNodePool.Builder setManagement(AzureNodeManagement.Builder builderForValue)

Optional. The Management configuration for this node pool.

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

Parameter
Name Description
builderForValue AzureNodeManagement.Builder
Returns
Type Description
AzureNodePool.Builder

setMaxPodsConstraint(MaxPodsConstraint value)

public AzureNodePool.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 = 21 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MaxPodsConstraint
Returns
Type Description
AzureNodePool.Builder

setMaxPodsConstraint(MaxPodsConstraint.Builder builderForValue)

public AzureNodePool.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 = 21 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MaxPodsConstraint.Builder
Returns
Type Description
AzureNodePool.Builder

setName(String value)

public AzureNodePool.Builder setName(String value)

The name of this resource.

Node pool names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<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
AzureNodePool.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AzureNodePool.Builder setNameBytes(ByteString value)

The name of this resource.

Node pool names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<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
AzureNodePool.Builder

This builder for chaining.

setReconciling(boolean value)

public AzureNodePool.Builder setReconciling(boolean value)

Output only. If set, there are currently pending changes to the node pool.

bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AzureNodePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AzureNodePool.Builder
Overrides

setState(AzureNodePool.State value)

public AzureNodePool.Builder setState(AzureNodePool.State value)

Output only. The current state of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AzureNodePool.State

The state to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setStateValue(int value)

public AzureNodePool.Builder setStateValue(int value)

Output only. The current state of the node pool.

.google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.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
AzureNodePool.Builder

This builder for chaining.

setSubnetId(String value)

public AzureNodePool.Builder setSubnetId(String value)

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The subnetId to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setSubnetIdBytes(ByteString value)

public AzureNodePool.Builder setSubnetIdBytes(ByteString value)

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for subnetId to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setUid(String value)

public AzureNodePool.Builder setUid(String value)

Output only. A globally unique identifier for the node pool.

string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AzureNodePool.Builder setUidBytes(ByteString value)

Output only. A globally unique identifier for the node pool.

string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureNodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureNodePool.Builder
Overrides

setUpdateTime(Timestamp value)

public AzureNodePool.Builder setUpdateTime(Timestamp value)

Output only. The time at which this node pool was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AzureNodePool.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AzureNodePool.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which this node pool was last updated.

.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AzureNodePool.Builder

setVersion(String value)

public AzureNodePool.Builder setVersion(String value)

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The version to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AzureNodePool.Builder setVersionBytes(ByteString value)

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AzureNodePool.Builder

This builder for chaining.