public static final class Cluster.SecondaryConfig extends GeneratedMessageV3 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.v1.Cluster.SecondaryConfig
Static Fields
PRIMARY_CLUSTER_NAME_FIELD_NUMBER
public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Cluster.SecondaryConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Cluster.SecondaryConfig.Builder newBuilder()
Returns
newBuilder(Cluster.SecondaryConfig prototype)
public static Cluster.SecondaryConfig.Builder newBuilder(Cluster.SecondaryConfig prototype)
Parameter
Returns
public static Cluster.SecondaryConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cluster.SecondaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Cluster.SecondaryConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Cluster.SecondaryConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cluster.SecondaryConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Cluster.SecondaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cluster.SecondaryConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cluster.SecondaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Cluster.SecondaryConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Cluster.SecondaryConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Cluster.SecondaryConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Cluster.SecondaryConfig> getParserForType()
Returns
Overrides
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;
Returns
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;
Returns
Type |
Description |
ByteString |
The bytes for primaryClusterName.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Cluster.SecondaryConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.SecondaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Cluster.SecondaryConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions