public static final class Cluster.SecondaryConfig.Builder extends GeneratedMessageV3.Builder<Cluster.SecondaryConfig.Builder> implements Cluster.SecondaryConfigOrBuilder
Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.
Protobuf type google.cloud.alloydb.v1beta.Cluster.SecondaryConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.SecondaryConfig.BuilderImplements
Cluster.SecondaryConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.SecondaryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Cluster.SecondaryConfig.Builder |
build()
public Cluster.SecondaryConfig build()
Type | Description |
Cluster.SecondaryConfig |
buildPartial()
public Cluster.SecondaryConfig buildPartial()
Type | Description |
Cluster.SecondaryConfig |
clear()
public Cluster.SecondaryConfig.Builder clear()
Type | Description |
Cluster.SecondaryConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.SecondaryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Cluster.SecondaryConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.SecondaryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Cluster.SecondaryConfig.Builder |
clearPrimaryClusterName()
public Cluster.SecondaryConfig.Builder clearPrimaryClusterName()
The name of the primary cluster name with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
string primary_cluster_name = 1;
Type | Description |
Cluster.SecondaryConfig.Builder |
This builder for chaining. |
clone()
public Cluster.SecondaryConfig.Builder clone()
Type | Description |
Cluster.SecondaryConfig.Builder |
getDefaultInstanceForType()
public Cluster.SecondaryConfig getDefaultInstanceForType()
Type | Description |
Cluster.SecondaryConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPrimaryClusterName()
public String getPrimaryClusterName()
The name of the primary cluster name with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
string primary_cluster_name = 1;
Type | Description |
String |
The primaryClusterName. |
getPrimaryClusterNameBytes()
public ByteString getPrimaryClusterNameBytes()
The name of the primary cluster name with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
string primary_cluster_name = 1;
Type | Description |
ByteString |
The bytes for primaryClusterName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Cluster.SecondaryConfig other)
public Cluster.SecondaryConfig.Builder mergeFrom(Cluster.SecondaryConfig other)
Name | Description |
other |
Cluster.SecondaryConfig |
Type | Description |
Cluster.SecondaryConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.SecondaryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.SecondaryConfig.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Cluster.SecondaryConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.SecondaryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Cluster.SecondaryConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.SecondaryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Cluster.SecondaryConfig.Builder |
setPrimaryClusterName(String value)
public Cluster.SecondaryConfig.Builder setPrimaryClusterName(String value)
The name of the primary cluster name with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
string primary_cluster_name = 1;
Name | Description |
value |
String The primaryClusterName to set. |
Type | Description |
Cluster.SecondaryConfig.Builder |
This builder for chaining. |
setPrimaryClusterNameBytes(ByteString value)
public Cluster.SecondaryConfig.Builder setPrimaryClusterNameBytes(ByteString value)
The name of the primary cluster name with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
string primary_cluster_name = 1;
Name | Description |
value |
ByteString The bytes for primaryClusterName to set. |
Type | Description |
Cluster.SecondaryConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.SecondaryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Cluster.SecondaryConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.SecondaryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Cluster.SecondaryConfig.Builder |