Class AzureNodeConfig.Builder (0.46.0)

public static final class AzureNodeConfig.Builder extends GeneratedMessageV3.Builder<AzureNodeConfig.Builder> implements AzureNodeConfigOrBuilder

Parameters that describe the configuration of all node machines on a given node pool.

Protobuf type google.cloud.gkemulticloud.v1.AzureNodeConfig

Static Methods

getDescriptor()

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

Methods

addAllTaints(Iterable<? extends NodeTaint> values)

public AzureNodeConfig.Builder addAllTaints(Iterable<? extends NodeTaint> values)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTaints(NodeTaint value)

public AzureNodeConfig.Builder addTaints(NodeTaint value)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NodeTaint
Returns
Type Description
AzureNodeConfig.Builder

addTaints(NodeTaint.Builder builderForValue)

public AzureNodeConfig.Builder addTaints(NodeTaint.Builder builderForValue)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

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

addTaints(int index, NodeTaint value)

public AzureNodeConfig.Builder addTaints(int index, NodeTaint value)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value NodeTaint
Returns
Type Description
AzureNodeConfig.Builder

addTaints(int index, NodeTaint.Builder builderForValue)

public AzureNodeConfig.Builder addTaints(int index, NodeTaint.Builder builderForValue)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NodeTaint.Builder
Returns
Type Description
AzureNodeConfig.Builder

addTaintsBuilder()

public NodeTaint.Builder addTaintsBuilder()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NodeTaint.Builder

addTaintsBuilder(int index)

public NodeTaint.Builder addTaintsBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaint.Builder

build()

public AzureNodeConfig build()
Returns
Type Description
AzureNodeConfig

buildPartial()

public AzureNodeConfig buildPartial()
Returns
Type Description
AzureNodeConfig

clear()

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

clearConfigEncryption()

public AzureNodeConfig.Builder clearConfigEncryption()

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearImageType()

public AzureNodeConfig.Builder clearImageType()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeConfig.Builder

This builder for chaining.

clearLabels()

public AzureNodeConfig.Builder clearLabels()
Returns
Type Description
AzureNodeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProxyConfig()

public AzureNodeConfig.Builder clearProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeConfig.Builder

clearRootVolume()

public AzureNodeConfig.Builder clearRootVolume()

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeConfig.Builder

clearSshConfig()

public AzureNodeConfig.Builder clearSshConfig()

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureNodeConfig.Builder

clearTags()

public AzureNodeConfig.Builder clearTags()
Returns
Type Description
AzureNodeConfig.Builder

clearTaints()

public AzureNodeConfig.Builder clearTaints()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeConfig.Builder

clearVmSize()

public AzureNodeConfig.Builder clearVmSize()

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureNodeConfig.Builder

This builder for chaining.

clone()

public AzureNodeConfig.Builder clone()
Returns
Type Description
AzureNodeConfig.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsTags(String key)

public boolean containsTags(String key)

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getConfigEncryption()

public AzureConfigEncryption getConfigEncryption()

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureConfigEncryption

The configEncryption.

getConfigEncryptionBuilder()

public AzureConfigEncryption.Builder getConfigEncryptionBuilder()

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureConfigEncryption.Builder

getConfigEncryptionOrBuilder()

public AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder()

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureConfigEncryptionOrBuilder

getDefaultInstanceForType()

public AzureNodeConfig getDefaultInstanceForType()
Returns
Type Description
AzureNodeConfig

getDescriptorForType()

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

getImageType()

public String getImageType()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The imageType.

getImageTypeBytes()

public ByteString getImageTypeBytes()

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for imageType.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableTags() (deprecated)

public Map<String,String> getMutableTags()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getProxyConfig()

public AzureProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureProxyConfig

The proxyConfig.

getProxyConfigBuilder()

public AzureProxyConfig.Builder getProxyConfigBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureProxyConfig.Builder

getProxyConfigOrBuilder()

public AzureProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureProxyConfigOrBuilder

getRootVolume()

public AzureDiskTemplate getRootVolume()

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplate

The rootVolume.

getRootVolumeBuilder()

public AzureDiskTemplate.Builder getRootVolumeBuilder()

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplate.Builder

getRootVolumeOrBuilder()

public AzureDiskTemplateOrBuilder getRootVolumeOrBuilder()

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplateOrBuilder

getSshConfig()

public AzureSshConfig getSshConfig()

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureSshConfig

The sshConfig.

getSshConfigBuilder()

public AzureSshConfig.Builder getSshConfigBuilder()

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureSshConfig.Builder

getSshConfigOrBuilder()

public AzureSshConfigOrBuilder getSshConfigOrBuilder()

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureSshConfigOrBuilder

getTags() (deprecated)

public Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
Type Description
Map<String,String>

getTagsCount()

public int getTagsCount()

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTagsMap()

public Map<String,String> getTagsMap()

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public String getTagsOrDefault(String key, String defaultValue)

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTagsOrThrow(String key)

public String getTagsOrThrow(String key)

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getTaints(int index)

public NodeTaint getTaints(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaint

getTaintsBuilder(int index)

public NodeTaint.Builder getTaintsBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaint.Builder

getTaintsBuilderList()

public List<NodeTaint.Builder> getTaintsBuilderList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getTaintsCount()

public int getTaintsCount()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTaintsList()

public List<NodeTaint> getTaintsList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NodeTaint>

getTaintsOrBuilder(int index)

public NodeTaintOrBuilder getTaintsOrBuilder(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NodeTaintOrBuilder

getTaintsOrBuilderList()

public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

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

getVmSize()

public String getVmSize()

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The vmSize.

getVmSizeBytes()

public ByteString getVmSizeBytes()

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for vmSize.

hasConfigEncryption()

public boolean hasConfigEncryption()

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the configEncryption field is set.

hasProxyConfig()

public boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the proxyConfig field is set.

hasRootVolume()

public boolean hasRootVolume()

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rootVolume field is set.

hasSshConfig()

public boolean hasSshConfig()

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the sshConfig 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

mergeConfigEncryption(AzureConfigEncryption value)

public AzureNodeConfig.Builder mergeConfigEncryption(AzureConfigEncryption value)

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureConfigEncryption
Returns
Type Description
AzureNodeConfig.Builder

mergeFrom(AzureNodeConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProxyConfig(AzureProxyConfig value)

public AzureNodeConfig.Builder mergeProxyConfig(AzureProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureProxyConfig
Returns
Type Description
AzureNodeConfig.Builder

mergeRootVolume(AzureDiskTemplate value)

public AzureNodeConfig.Builder mergeRootVolume(AzureDiskTemplate value)

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureDiskTemplate
Returns
Type Description
AzureNodeConfig.Builder

mergeSshConfig(AzureSshConfig value)

public AzureNodeConfig.Builder mergeSshConfig(AzureSshConfig value)

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureSshConfig
Returns
Type Description
AzureNodeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllLabels(Map<String,String> values)

public AzureNodeConfig.Builder putAllLabels(Map<String,String> values)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

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

putAllTags(Map<String,String> values)

public AzureNodeConfig.Builder putAllTags(Map<String,String> values)

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

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

putLabels(String key, String value)

public AzureNodeConfig.Builder putLabels(String key, String value)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

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

putTags(String key, String value)

public AzureNodeConfig.Builder putTags(String key, String value)

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

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

removeLabels(String key)

public AzureNodeConfig.Builder removeLabels(String key)

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AzureNodeConfig.Builder

removeTags(String key)

public AzureNodeConfig.Builder removeTags(String key)

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AzureNodeConfig.Builder

removeTaints(int index)

public AzureNodeConfig.Builder removeTaints(int index)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AzureNodeConfig.Builder

setConfigEncryption(AzureConfigEncryption value)

public AzureNodeConfig.Builder setConfigEncryption(AzureConfigEncryption value)

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureConfigEncryption
Returns
Type Description
AzureNodeConfig.Builder

setConfigEncryption(AzureConfigEncryption.Builder builderForValue)

public AzureNodeConfig.Builder setConfigEncryption(AzureConfigEncryption.Builder builderForValue)

Optional. Configuration related to vm config encryption.

.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageType(String value)

public AzureNodeConfig.Builder setImageType(String value)

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The imageType to set.

Returns
Type Description
AzureNodeConfig.Builder

This builder for chaining.

setImageTypeBytes(ByteString value)

public AzureNodeConfig.Builder setImageTypeBytes(ByteString value)

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu.

When unspecified, it defaults to ubuntu.

string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for imageType to set.

Returns
Type Description
AzureNodeConfig.Builder

This builder for chaining.

setProxyConfig(AzureProxyConfig value)

public AzureNodeConfig.Builder setProxyConfig(AzureProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureProxyConfig
Returns
Type Description
AzureNodeConfig.Builder

setProxyConfig(AzureProxyConfig.Builder builderForValue)

public AzureNodeConfig.Builder setProxyConfig(AzureProxyConfig.Builder builderForValue)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

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

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

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

setRootVolume(AzureDiskTemplate value)

public AzureNodeConfig.Builder setRootVolume(AzureDiskTemplate value)

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureDiskTemplate
Returns
Type Description
AzureNodeConfig.Builder

setRootVolume(AzureDiskTemplate.Builder builderForValue)

public AzureNodeConfig.Builder setRootVolume(AzureDiskTemplate.Builder builderForValue)

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

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

setSshConfig(AzureSshConfig value)

public AzureNodeConfig.Builder setSshConfig(AzureSshConfig value)

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureSshConfig
Returns
Type Description
AzureNodeConfig.Builder

setSshConfig(AzureSshConfig.Builder builderForValue)

public AzureNodeConfig.Builder setSshConfig(AzureSshConfig.Builder builderForValue)

Required. SSH configuration for how to access the node pool machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

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

setTaints(int index, NodeTaint value)

public AzureNodeConfig.Builder setTaints(int index, NodeTaint value)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value NodeTaint
Returns
Type Description
AzureNodeConfig.Builder

setTaints(int index, NodeTaint.Builder builderForValue)

public AzureNodeConfig.Builder setTaints(int index, NodeTaint.Builder builderForValue)

Optional. The initial taints assigned to nodes of this node pool.

repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NodeTaint.Builder
Returns
Type Description
AzureNodeConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmSize(String value)

public AzureNodeConfig.Builder setVmSize(String value)

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The vmSize to set.

Returns
Type Description
AzureNodeConfig.Builder

This builder for chaining.

setVmSizeBytes(ByteString value)

public AzureNodeConfig.Builder setVmSizeBytes(ByteString value)

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for vmSize to set.

Returns
Type Description
AzureNodeConfig.Builder

This builder for chaining.