Class AzureControlPlane.Builder (0.54.0)

public static final class AzureControlPlane.Builder extends GeneratedMessageV3.Builder<AzureControlPlane.Builder> implements AzureControlPlaneOrBuilder

AzureControlPlane represents the control plane configurations.

Protobuf type google.cloud.gkemulticloud.v1.AzureControlPlane

Static Methods

getDescriptor()

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

Methods

addAllReplicaPlacements(Iterable<? extends ReplicaPlacement> values)

public AzureControlPlane.Builder addAllReplicaPlacements(Iterable<? extends ReplicaPlacement> values)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReplicaPlacements(ReplicaPlacement value)

public AzureControlPlane.Builder addReplicaPlacements(ReplicaPlacement value)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReplicaPlacement
Returns
Type Description
AzureControlPlane.Builder

addReplicaPlacements(ReplicaPlacement.Builder builderForValue)

public AzureControlPlane.Builder addReplicaPlacements(ReplicaPlacement.Builder builderForValue)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ReplicaPlacement.Builder
Returns
Type Description
AzureControlPlane.Builder

addReplicaPlacements(int index, ReplicaPlacement value)

public AzureControlPlane.Builder addReplicaPlacements(int index, ReplicaPlacement value)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ReplicaPlacement
Returns
Type Description
AzureControlPlane.Builder

addReplicaPlacements(int index, ReplicaPlacement.Builder builderForValue)

public AzureControlPlane.Builder addReplicaPlacements(int index, ReplicaPlacement.Builder builderForValue)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ReplicaPlacement.Builder
Returns
Type Description
AzureControlPlane.Builder

addReplicaPlacementsBuilder()

public ReplicaPlacement.Builder addReplicaPlacementsBuilder()

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReplicaPlacement.Builder

addReplicaPlacementsBuilder(int index)

public ReplicaPlacement.Builder addReplicaPlacementsBuilder(int index)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReplicaPlacement.Builder

build()

public AzureControlPlane build()
Returns
Type Description
AzureControlPlane

buildPartial()

public AzureControlPlane buildPartial()
Returns
Type Description
AzureControlPlane

clear()

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

clearConfigEncryption()

public AzureControlPlane.Builder clearConfigEncryption()

Optional. Configuration related to vm config encryption.

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

Returns
Type Description
AzureControlPlane.Builder

clearDatabaseEncryption()

public AzureControlPlane.Builder clearDatabaseEncryption()

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureControlPlane.Builder

clearEndpointSubnetId()

public AzureControlPlane.Builder clearEndpointSubnetId()

Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.

Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"

string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMainVolume()

public AzureControlPlane.Builder clearMainVolume()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureControlPlane.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProxyConfig()

public AzureControlPlane.Builder clearProxyConfig()

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

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

Returns
Type Description
AzureControlPlane.Builder

clearReplicaPlacements()

public AzureControlPlane.Builder clearReplicaPlacements()

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureControlPlane.Builder

clearRootVolume()

public AzureControlPlane.Builder clearRootVolume()

Optional. Configuration related to the root volume provisioned for each control plane replica.

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

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

Returns
Type Description
AzureControlPlane.Builder

clearSshConfig()

public AzureControlPlane.Builder clearSshConfig()

Required. SSH configuration for how to access the underlying control plane machines.

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

Returns
Type Description
AzureControlPlane.Builder

clearSubnetId()

public AzureControlPlane.Builder clearSubnetId()

Optional. The ARM ID of the default subnet for the control plane. The control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements is specified. This subnet will also be used as default for AzureControlPlane.endpoint_subnet_id if AzureControlPlane.endpoint_subnet_id is not specified. Similarly it will be used as default for AzureClusterNetworking.service_load_balancer_subnet_id.

Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default.

string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

clearTags()

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

clearVersion()

public AzureControlPlane.Builder clearVersion()

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.

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

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

clearVmSize()

public AzureControlPlane.Builder clearVmSize()

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

For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.

When unspecified, it defaults to Standard_DS2_v2.

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

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

clone()

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

containsTags(String key)

public boolean containsTags(String key)

Optional. A set of tags to apply to all underlying control plane Azure resources.

map<string, string> tags = 7 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureConfigEncryptionOrBuilder

getDatabaseEncryption()

public AzureDatabaseEncryption getDatabaseEncryption()

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDatabaseEncryption

The databaseEncryption.

getDatabaseEncryptionBuilder()

public AzureDatabaseEncryption.Builder getDatabaseEncryptionBuilder()

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDatabaseEncryption.Builder

getDatabaseEncryptionOrBuilder()

public AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder()

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDatabaseEncryptionOrBuilder

getDefaultInstanceForType()

public AzureControlPlane getDefaultInstanceForType()
Returns
Type Description
AzureControlPlane

getDescriptorForType()

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

getEndpointSubnetId()

public String getEndpointSubnetId()

Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.

Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"

string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The endpointSubnetId.

getEndpointSubnetIdBytes()

public ByteString getEndpointSubnetIdBytes()

Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.

Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"

string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for endpointSubnetId.

getMainVolume()

public AzureDiskTemplate getMainVolume()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplate

The mainVolume.

getMainVolumeBuilder()

public AzureDiskTemplate.Builder getMainVolumeBuilder()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplate.Builder

getMainVolumeOrBuilder()

public AzureDiskTemplateOrBuilder getMainVolumeOrBuilder()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplateOrBuilder

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 = 12 [(.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 = 12 [(.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 = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureProxyConfigOrBuilder

getReplicaPlacements(int index)

public ReplicaPlacement getReplicaPlacements(int index)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReplicaPlacement

getReplicaPlacementsBuilder(int index)

public ReplicaPlacement.Builder getReplicaPlacementsBuilder(int index)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReplicaPlacement.Builder

getReplicaPlacementsBuilderList()

public List<ReplicaPlacement.Builder> getReplicaPlacementsBuilderList()

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getReplicaPlacementsCount()

public int getReplicaPlacementsCount()

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getReplicaPlacementsList()

public List<ReplicaPlacement> getReplicaPlacementsList()

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ReplicaPlacement>

getReplicaPlacementsOrBuilder(int index)

public ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder(int index)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReplicaPlacementOrBuilder

getReplicaPlacementsOrBuilderList()

public List<? extends ReplicaPlacementOrBuilder> getReplicaPlacementsOrBuilderList()

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

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

getRootVolume()

public AzureDiskTemplate getRootVolume()

Optional. Configuration related to the root volume provisioned for each control plane replica.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.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 control plane replica.

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

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

Returns
Type Description
AzureDiskTemplate.Builder

getRootVolumeOrBuilder()

public AzureDiskTemplateOrBuilder getRootVolumeOrBuilder()

Optional. Configuration related to the root volume provisioned for each control plane replica.

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

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

Returns
Type Description
AzureDiskTemplateOrBuilder

getSshConfig()

public AzureSshConfig getSshConfig()

Required. SSH configuration for how to access the underlying control plane machines.

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

Returns
Type Description
AzureSshConfig

The sshConfig.

getSshConfigBuilder()

public AzureSshConfig.Builder getSshConfigBuilder()

Required. SSH configuration for how to access the underlying control plane machines.

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

Returns
Type Description
AzureSshConfig.Builder

getSshConfigOrBuilder()

public AzureSshConfigOrBuilder getSshConfigOrBuilder()

Required. SSH configuration for how to access the underlying control plane machines.

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

Returns
Type Description
AzureSshConfigOrBuilder

getSubnetId()

public String getSubnetId()

Optional. The ARM ID of the default subnet for the control plane. The control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements is specified. This subnet will also be used as default for AzureControlPlane.endpoint_subnet_id if AzureControlPlane.endpoint_subnet_id is not specified. Similarly it will be used as default for AzureClusterNetworking.service_load_balancer_subnet_id.

Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default.

string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subnetId.

getSubnetIdBytes()

public ByteString getSubnetIdBytes()

Optional. The ARM ID of the default subnet for the control plane. The control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements is specified. This subnet will also be used as default for AzureControlPlane.endpoint_subnet_id if AzureControlPlane.endpoint_subnet_id is not specified. Similarly it will be used as default for AzureClusterNetworking.service_load_balancer_subnet_id.

Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default.

string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subnetId.

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 control plane Azure resources.

map<string, string> tags = 7 [(.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 control plane Azure resources.

map<string, string> tags = 7 [(.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 control plane Azure resources.

map<string, string> tags = 7 [(.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 control plane Azure resources.

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

Parameter
Name Description
key String
Returns
Type Description
String

getVersion()

public String getVersion()

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.

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

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.

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

Returns
Type Description
ByteString

The bytes for version.

getVmSize()

public String getVmSize()

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

For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 3 [(.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.

For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.

When unspecified, it defaults to Standard_DS2_v2.

string vm_size = 3 [(.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 = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the configEncryption field is set.

hasDatabaseEncryption()

public boolean hasDatabaseEncryption()

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the databaseEncryption field is set.

hasMainVolume()

public boolean hasMainVolume()

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mainVolume field is set.

hasProxyConfig()

public boolean hasProxyConfig()

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

.google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.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 control plane replica.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.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 underlying control plane machines.

.google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.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 AzureControlPlane.Builder mergeConfigEncryption(AzureConfigEncryption value)

Optional. Configuration related to vm config encryption.

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

Parameter
Name Description
value AzureConfigEncryption
Returns
Type Description
AzureControlPlane.Builder

mergeDatabaseEncryption(AzureDatabaseEncryption value)

public AzureControlPlane.Builder mergeDatabaseEncryption(AzureDatabaseEncryption value)

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureDatabaseEncryption
Returns
Type Description
AzureControlPlane.Builder

mergeFrom(AzureControlPlane other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMainVolume(AzureDiskTemplate value)

public AzureControlPlane.Builder mergeMainVolume(AzureDiskTemplate value)

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureDiskTemplate
Returns
Type Description
AzureControlPlane.Builder

mergeProxyConfig(AzureProxyConfig value)

public AzureControlPlane.Builder mergeProxyConfig(AzureProxyConfig value)

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

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

Parameter
Name Description
value AzureProxyConfig
Returns
Type Description
AzureControlPlane.Builder

mergeRootVolume(AzureDiskTemplate value)

public AzureControlPlane.Builder mergeRootVolume(AzureDiskTemplate value)

Optional. Configuration related to the root volume provisioned for each control plane replica.

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

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

Parameter
Name Description
value AzureDiskTemplate
Returns
Type Description
AzureControlPlane.Builder

mergeSshConfig(AzureSshConfig value)

public AzureControlPlane.Builder mergeSshConfig(AzureSshConfig value)

Required. SSH configuration for how to access the underlying control plane machines.

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

Parameter
Name Description
value AzureSshConfig
Returns
Type Description
AzureControlPlane.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllTags(Map<String,String> values)

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

Optional. A set of tags to apply to all underlying control plane Azure resources.

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

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

putTags(String key, String value)

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

Optional. A set of tags to apply to all underlying control plane Azure resources.

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

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

removeReplicaPlacements(int index)

public AzureControlPlane.Builder removeReplicaPlacements(int index)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AzureControlPlane.Builder

removeTags(String key)

public AzureControlPlane.Builder removeTags(String key)

Optional. A set of tags to apply to all underlying control plane Azure resources.

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

Parameter
Name Description
key String
Returns
Type Description
AzureControlPlane.Builder

setConfigEncryption(AzureConfigEncryption value)

public AzureControlPlane.Builder setConfigEncryption(AzureConfigEncryption value)

Optional. Configuration related to vm config encryption.

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

Parameter
Name Description
value AzureConfigEncryption
Returns
Type Description
AzureControlPlane.Builder

setConfigEncryption(AzureConfigEncryption.Builder builderForValue)

public AzureControlPlane.Builder setConfigEncryption(AzureConfigEncryption.Builder builderForValue)

Optional. Configuration related to vm config encryption.

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

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

setDatabaseEncryption(AzureDatabaseEncryption value)

public AzureControlPlane.Builder setDatabaseEncryption(AzureDatabaseEncryption value)

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureDatabaseEncryption
Returns
Type Description
AzureControlPlane.Builder

setDatabaseEncryption(AzureDatabaseEncryption.Builder builderForValue)

public AzureControlPlane.Builder setDatabaseEncryption(AzureDatabaseEncryption.Builder builderForValue)

Optional. Configuration related to application-layer secrets encryption.

.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AzureDatabaseEncryption.Builder
Returns
Type Description
AzureControlPlane.Builder

setEndpointSubnetId(String value)

public AzureControlPlane.Builder setEndpointSubnetId(String value)

Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.

Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"

string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The endpointSubnetId to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setEndpointSubnetIdBytes(ByteString value)

public AzureControlPlane.Builder setEndpointSubnetIdBytes(ByteString value)

Optional. The ARM ID of the subnet where the control plane load balancer is deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.

Example: "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"

string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for endpointSubnetId to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMainVolume(AzureDiskTemplate value)

public AzureControlPlane.Builder setMainVolume(AzureDiskTemplate value)

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AzureDiskTemplate
Returns
Type Description
AzureControlPlane.Builder

setMainVolume(AzureDiskTemplate.Builder builderForValue)

public AzureControlPlane.Builder setMainVolume(AzureDiskTemplate.Builder builderForValue)

Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state.

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

.google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];

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

setProxyConfig(AzureProxyConfig value)

public AzureControlPlane.Builder setProxyConfig(AzureProxyConfig value)

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

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

Parameter
Name Description
value AzureProxyConfig
Returns
Type Description
AzureControlPlane.Builder

setProxyConfig(AzureProxyConfig.Builder builderForValue)

public AzureControlPlane.Builder setProxyConfig(AzureProxyConfig.Builder builderForValue)

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

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

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

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

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

setReplicaPlacements(int index, ReplicaPlacement value)

public AzureControlPlane.Builder setReplicaPlacements(int index, ReplicaPlacement value)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ReplicaPlacement
Returns
Type Description
AzureControlPlane.Builder

setReplicaPlacements(int index, ReplicaPlacement.Builder builderForValue)

public AzureControlPlane.Builder setReplicaPlacements(int index, ReplicaPlacement.Builder builderForValue)

Optional. Configuration for where to place the control plane replicas.

Up to three replica placement instances can be specified. If replica_placements is set, the replica placement instances will be applied to the three control plane replicas as evenly as possible.

repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ReplicaPlacement.Builder
Returns
Type Description
AzureControlPlane.Builder

setRootVolume(AzureDiskTemplate value)

public AzureControlPlane.Builder setRootVolume(AzureDiskTemplate value)

Optional. Configuration related to the root volume provisioned for each control plane replica.

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

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

Parameter
Name Description
value AzureDiskTemplate
Returns
Type Description
AzureControlPlane.Builder

setRootVolume(AzureDiskTemplate.Builder builderForValue)

public AzureControlPlane.Builder setRootVolume(AzureDiskTemplate.Builder builderForValue)

Optional. Configuration related to the root volume provisioned for each control plane replica.

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

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

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

setSshConfig(AzureSshConfig value)

public AzureControlPlane.Builder setSshConfig(AzureSshConfig value)

Required. SSH configuration for how to access the underlying control plane machines.

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

Parameter
Name Description
value AzureSshConfig
Returns
Type Description
AzureControlPlane.Builder

setSshConfig(AzureSshConfig.Builder builderForValue)

public AzureControlPlane.Builder setSshConfig(AzureSshConfig.Builder builderForValue)

Required. SSH configuration for how to access the underlying control plane machines.

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

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

setSubnetId(String value)

public AzureControlPlane.Builder setSubnetId(String value)

Optional. The ARM ID of the default subnet for the control plane. The control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements is specified. This subnet will also be used as default for AzureControlPlane.endpoint_subnet_id if AzureControlPlane.endpoint_subnet_id is not specified. Similarly it will be used as default for AzureClusterNetworking.service_load_balancer_subnet_id.

Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default.

string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The subnetId to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setSubnetIdBytes(ByteString value)

public AzureControlPlane.Builder setSubnetIdBytes(ByteString value)

Optional. The ARM ID of the default subnet for the control plane. The control plane VMs are deployed in this subnet, unless AzureControlPlane.replica_placements is specified. This subnet will also be used as default for AzureControlPlane.endpoint_subnet_id if AzureControlPlane.endpoint_subnet_id is not specified. Similarly it will be used as default for AzureClusterNetworking.service_load_balancer_subnet_id.

Example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default.

string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for subnetId to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public AzureControlPlane.Builder setVersion(String value)

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.

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

Parameter
Name Description
value String

The version to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AzureControlPlane.Builder setVersionBytes(ByteString value)

Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAzureServerConfig.

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

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setVmSize(String value)

public AzureControlPlane.Builder setVmSize(String value)

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

For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.

When unspecified, it defaults to Standard_DS2_v2.

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

Parameter
Name Description
value String

The vmSize to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.

setVmSizeBytes(ByteString value)

public AzureControlPlane.Builder setVmSizeBytes(ByteString value)

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

For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.

When unspecified, it defaults to Standard_DS2_v2.

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

Parameter
Name Description
value ByteString

The bytes for vmSize to set.

Returns
Type Description
AzureControlPlane.Builder

This builder for chaining.