public final class AzureControlPlane extends GeneratedMessageV3 implements AzureControlPlaneOrBuilder
AzureControlPlane represents the control plane configurations.
Protobuf type google.cloud.gkemulticloud.v1.AzureControlPlane
Static Fields
CONFIG_ENCRYPTION_FIELD_NUMBER
public static final int CONFIG_ENCRYPTION_FIELD_NUMBER
Field Value
DATABASE_ENCRYPTION_FIELD_NUMBER
public static final int DATABASE_ENCRYPTION_FIELD_NUMBER
Field Value
ENDPOINT_SUBNET_ID_FIELD_NUMBER
public static final int ENDPOINT_SUBNET_ID_FIELD_NUMBER
Field Value
MAIN_VOLUME_FIELD_NUMBER
public static final int MAIN_VOLUME_FIELD_NUMBER
Field Value
PROXY_CONFIG_FIELD_NUMBER
public static final int PROXY_CONFIG_FIELD_NUMBER
Field Value
REPLICA_PLACEMENTS_FIELD_NUMBER
public static final int REPLICA_PLACEMENTS_FIELD_NUMBER
Field Value
ROOT_VOLUME_FIELD_NUMBER
public static final int ROOT_VOLUME_FIELD_NUMBER
Field Value
SSH_CONFIG_FIELD_NUMBER
public static final int SSH_CONFIG_FIELD_NUMBER
Field Value
SUBNET_ID_FIELD_NUMBER
public static final int SUBNET_ID_FIELD_NUMBER
Field Value
public static final int TAGS_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
VM_SIZE_FIELD_NUMBER
public static final int VM_SIZE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AzureControlPlane getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AzureControlPlane.Builder newBuilder()
Returns
newBuilder(AzureControlPlane prototype)
public static AzureControlPlane.Builder newBuilder(AzureControlPlane prototype)
Parameter
Returns
public static AzureControlPlane parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureControlPlane parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AzureControlPlane parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AzureControlPlane parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureControlPlane parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AzureControlPlane parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureControlPlane parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureControlPlane parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AzureControlPlane parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AzureControlPlane> parser()
Returns
Methods
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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
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
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
getDefaultInstanceForType()
public AzureControlPlane getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<AzureControlPlane> getParserForType()
Returns
Overrides
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
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
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
Returns
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
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
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
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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
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
public Map<String,String> getTags()
Returns
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
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
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
Returns
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
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
getVmSize()
public String getVmSize()
Returns
Type | Description |
String | The vmSize.
|
getVmSizeBytes()
public ByteString getVmSizeBytes()
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AzureControlPlane.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureControlPlane.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AzureControlPlane.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions