public static final class Cluster.PrimaryConfig extends GeneratedMessageV3 implements Cluster.PrimaryConfigOrBuilder
Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.
Protobuf type google.cloud.alloydb.v1.Cluster.PrimaryConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Cluster.PrimaryConfigImplements
Cluster.PrimaryConfigOrBuilderStatic Fields
SECONDARY_CLUSTER_NAMES_FIELD_NUMBER
public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Cluster.PrimaryConfig getDefaultInstance()
Type | Description |
Cluster.PrimaryConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Cluster.PrimaryConfig.Builder newBuilder()
Type | Description |
Cluster.PrimaryConfig.Builder |
newBuilder(Cluster.PrimaryConfig prototype)
public static Cluster.PrimaryConfig.Builder newBuilder(Cluster.PrimaryConfig prototype)
Name | Description |
prototype |
Cluster.PrimaryConfig |
Type | Description |
Cluster.PrimaryConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Cluster.PrimaryConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.PrimaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Cluster.PrimaryConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster.PrimaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Cluster.PrimaryConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.PrimaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Cluster.PrimaryConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.PrimaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Cluster.PrimaryConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.PrimaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Cluster.PrimaryConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster.PrimaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.PrimaryConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Cluster.PrimaryConfig> parser()
Type | Description |
Parser<PrimaryConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Cluster.PrimaryConfig getDefaultInstanceForType()
Type | Description |
Cluster.PrimaryConfig |
getParserForType()
public Parser<Cluster.PrimaryConfig> getParserForType()
Type | Description |
Parser<PrimaryConfig> |
getSecondaryClusterNames(int index)
public String getSecondaryClusterNames(int index)
Output only. Names of the clusters that are replicating from this cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index of the element to return. |
Type | Description |
String |
The secondaryClusterNames at the given index. |
getSecondaryClusterNamesBytes(int index)
public ByteString getSecondaryClusterNamesBytes(int index)
Output only. Names of the clusters that are replicating from this cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the secondaryClusterNames at the given index. |
getSecondaryClusterNamesCount()
public int getSecondaryClusterNamesCount()
Output only. Names of the clusters that are replicating from this cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The count of secondaryClusterNames. |
getSecondaryClusterNamesList()
public ProtocolStringList getSecondaryClusterNamesList()
Output only. Names of the clusters that are replicating from this cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProtocolStringList |
A list containing the secondaryClusterNames. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Cluster.PrimaryConfig.Builder newBuilderForType()
Type | Description |
Cluster.PrimaryConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.PrimaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
Cluster.PrimaryConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Cluster.PrimaryConfig.Builder toBuilder()
Type | Description |
Cluster.PrimaryConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |