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.v1alpha.Cluster.SecondaryConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Cluster.SecondaryConfigImplements
Cluster.SecondaryConfigOrBuilderStatic Fields
PRIMARY_CLUSTER_NAME_FIELD_NUMBER
public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Cluster.SecondaryConfig getDefaultInstance()
Type | Description |
Cluster.SecondaryConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Cluster.SecondaryConfig.Builder newBuilder()
Type | Description |
Cluster.SecondaryConfig.Builder |
newBuilder(Cluster.SecondaryConfig prototype)
public static Cluster.SecondaryConfig.Builder newBuilder(Cluster.SecondaryConfig prototype)
Name | Description |
prototype |
Cluster.SecondaryConfig |
Type | Description |
Cluster.SecondaryConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Cluster.SecondaryConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Cluster.SecondaryConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Cluster.SecondaryConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Cluster.SecondaryConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Cluster.SecondaryConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Cluster.SecondaryConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster.SecondaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Cluster.SecondaryConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Cluster.SecondaryConfig> parser()
Type | Description |
Parser<SecondaryConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Cluster.SecondaryConfig getDefaultInstanceForType()
Type | Description |
Cluster.SecondaryConfig |
getParserForType()
public Parser<Cluster.SecondaryConfig> getParserForType()
Type | Description |
Parser<SecondaryConfig> |
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. |
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.SecondaryConfig.Builder newBuilderForType()
Type | Description |
Cluster.SecondaryConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.SecondaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
Cluster.SecondaryConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Cluster.SecondaryConfig.Builder toBuilder()
Type | Description |
Cluster.SecondaryConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |