Class AzureNodePool.Builder (0.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AzureNodePoolError>
Returns
TypeDescription
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
NameDescription
valueAzureNodePoolError
Returns
TypeDescription
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
NameDescription
builderForValueAzureNodePoolError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAzureNodePoolError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAzureNodePoolError.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AzureNodePoolError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureNodePool build()
Returns
TypeDescription
AzureNodePool

buildPartial()

public AzureNodePool buildPartial()
Returns
TypeDescription
AzureNodePool

clear()

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

clearAnnotations()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AzureNodePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AzureNodePool.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureNodePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AzureNodePool.Builder

This builder for chaining.

clone()

public AzureNodePool.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Optional. Annotations on the node pool.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. 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
TypeDescription
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Optional. Annotations on the node pool.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. 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
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. Annotations on the node pool.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Optional. Annotations on the node pool.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. 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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

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

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

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

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

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public AzureNodePool getDefaultInstanceForType()
Returns
TypeDescription
AzureNodePool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Allows clients to perform consistent read-modify-writes through optimistic concurrency control.

Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 12;

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

The maxPodsConstraint.

getMaxPodsConstraintBuilder()

public MaxPodsConstraint.Builder getMaxPodsConstraintBuilder()

Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MaxPodsConstraint.Builder

getMaxPodsConstraintOrBuilder()

public MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder()

Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MaxPodsConstraintOrBuilder

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

The name of this resource.

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

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of this resource.

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

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getReconciling()

public boolean getReconciling()

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

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

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

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

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

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

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

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

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

Whether the config field is set.

hasCreateTime()

public boolean hasCreateTime()

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

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasManagement()

public boolean hasManagement()

Optional. The Management configuration for this node pool.

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

Returns
TypeDescription
boolean

Whether the management field is set.

hasMaxPodsConstraint()

public boolean hasMaxPodsConstraint()

Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

.google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED];

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAzureNodePoolAutoscaling
Returns
TypeDescription
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
NameDescription
valueAzureNodeConfig
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
AzureNodePool.Builder

mergeFrom(AzureNodePool other)

public AzureNodePool.Builder mergeFrom(AzureNodePool other)
Parameter
NameDescription
otherAzureNodePool
Returns
TypeDescription
AzureNodePool.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AzureNodePool.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAzureNodeManagement
Returns
TypeDescription
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
NameDescription
valueMaxPodsConstraint
Returns
TypeDescription
AzureNodePool.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureNodePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueAzureNodePoolAutoscaling
Returns
TypeDescription
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
NameDescription
builderForValueAzureNodePoolAutoscaling.Builder
Returns
TypeDescription
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
NameDescription
valueString

The azureAvailabilityZone to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for azureAvailabilityZone to set.

Returns
TypeDescription
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
NameDescription
valueAzureNodeConfig
Returns
TypeDescription
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
NameDescription
builderForValueAzureNodeConfig.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueAzureNodePoolError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAzureNodePoolError.Builder
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
AzureNodePool.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AzureNodePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAzureNodeManagement
Returns
TypeDescription
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
NameDescription
builderForValueAzureNodeManagement.Builder
Returns
TypeDescription
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
NameDescription
valueMaxPodsConstraint
Returns
TypeDescription
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
NameDescription
builderForValueMaxPodsConstraint.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The reconciling to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAzureNodePool.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The subnetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for subnetId to set.

Returns
TypeDescription
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
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
AzureNodePool.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureNodePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
AzureNodePool.Builder

This builder for chaining.