public static final class ReplicaPlacement.Builder extends GeneratedMessageV3.Builder<ReplicaPlacement.Builder> implements ReplicaPlacementOrBuilder
Configuration for the placement of a control plane replica.
Protobuf type google.cloud.gkemulticloud.v1.ReplicaPlacement
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicaPlacement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReplicaPlacement build()
buildPartial()
public ReplicaPlacement buildPartial()
clear()
public ReplicaPlacement.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public ReplicaPlacement.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicaPlacement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public ReplicaPlacement.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ReplicaPlacement other)
public ReplicaPlacement.Builder mergeFrom(ReplicaPlacement other)
public ReplicaPlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReplicaPlacement.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicaPlacement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The azureAvailabilityZone to set.
|
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 | ByteString
The bytes for azureAvailabilityZone to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicaPlacement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicaPlacement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 | String
The subnetId to set.
|
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 | ByteString
The bytes for subnetId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicaPlacement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides