public static final class ReplicaPlacement.Builder extends GeneratedMessage.Builder<ReplicaPlacement.Builder> implements ReplicaPlacementOrBuilderConfiguration for the placement of a control plane replica.
Protobuf type google.cloud.gkemulticloud.v1.ReplicaPlacement
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReplicaPlacement.BuilderImplements
ReplicaPlacementOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReplicaPlacement build()| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement |
|
buildPartial()
public ReplicaPlacement buildPartial()| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement |
|
clear()
public ReplicaPlacement.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
|
clearAzureAvailabilityZone()
public ReplicaPlacement.Builder clearAzureAvailabilityZone()Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
This builder for chaining. |
clearSubnetId()
public ReplicaPlacement.Builder clearSubnetId()Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
This builder for chaining. |
getAzureAvailabilityZone()
public String getAzureAvailabilityZone()Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The azureAvailabilityZone. |
getAzureAvailabilityZoneBytes()
public ByteString getAzureAvailabilityZoneBytes()Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for azureAvailabilityZone. |
getDefaultInstanceForType()
public ReplicaPlacement getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSubnetId()
public String getSubnetId()Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The subnetId. |
getSubnetIdBytes()
public ByteString getSubnetIdBytes()Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subnetId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReplicaPlacement other)
public ReplicaPlacement.Builder mergeFrom(ReplicaPlacement other)| Parameter | |
|---|---|
| Name | Description |
other |
ReplicaPlacement |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplicaPlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReplicaPlacement.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
|
setAzureAvailabilityZone(String value)
public ReplicaPlacement.Builder setAzureAvailabilityZone(String value)Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe azureAvailabilityZone to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
This builder for chaining. |
setAzureAvailabilityZoneBytes(ByteString value)
public ReplicaPlacement.Builder setAzureAvailabilityZoneBytes(ByteString value)Required. For a given replica, the Azure availability zone where to provision the control plane VM and the ETCD disk.
string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for azureAvailabilityZone to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
This builder for chaining. |
setSubnetId(String value)
public ReplicaPlacement.Builder setSubnetId(String value)Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subnetId to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
This builder for chaining. |
setSubnetIdBytes(ByteString value)
public ReplicaPlacement.Builder setSubnetIdBytes(ByteString value)Required. For a given replica, the ARM ID of the subnet where the control plane VM is deployed. Make sure it's a subnet under the virtual network in the cluster configuration.
string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subnetId to set. |
| Returns | |
|---|---|
| Type | Description |
ReplicaPlacement.Builder |
This builder for chaining. |