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 |
---|
Type | Description |
int | |
DATABASE_ENCRYPTION_FIELD_NUMBER
public static final int DATABASE_ENCRYPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENDPOINT_SUBNET_ID_FIELD_NUMBER
public static final int ENDPOINT_SUBNET_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAIN_VOLUME_FIELD_NUMBER
public static final int MAIN_VOLUME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROXY_CONFIG_FIELD_NUMBER
public static final int PROXY_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REPLICA_PLACEMENTS_FIELD_NUMBER
public static final int REPLICA_PLACEMENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ROOT_VOLUME_FIELD_NUMBER
public static final int ROOT_VOLUME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SSH_CONFIG_FIELD_NUMBER
public static final int SSH_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBNET_ID_FIELD_NUMBER
public static final int SUBNET_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TAGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VM_SIZE_FIELD_NUMBER
public static final int VM_SIZE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AzureControlPlane getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AzureControlPlane.Builder newBuilder()
newBuilder(AzureControlPlane prototype)
public static AzureControlPlane.Builder newBuilder(AzureControlPlane prototype)
public static AzureControlPlane parseDelimitedFrom(InputStream input)
public static AzureControlPlane parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AzureControlPlane parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AzureControlPlane parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(CodedInputStream input)
public static AzureControlPlane parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(InputStream input)
public static AzureControlPlane parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AzureControlPlane parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureControlPlane parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AzureControlPlane> parser()
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
getConfigEncryptionOrBuilder()
public AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder()
Optional. Configuration related to vm config encryption.
.google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
getDefaultInstanceForType()
public AzureControlPlane getDefaultInstanceForType()
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];
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];
getParserForType()
public Parser<AzureControlPlane> getParserForType()
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];
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];
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
|
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];
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
|
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];
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];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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];
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];
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.
|
public Map<String,String> getTags()
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 | |
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];
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];
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
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
ByteString | The bytes for version.
|
getVmSize()
public String getVmSize()
Returns |
---|
Type | Description |
String | The vmSize.
|
getVmSizeBytes()
public ByteString getVmSizeBytes()
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AzureControlPlane.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureControlPlane.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AzureControlPlane.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides