Class Cluster.SecondaryConfig (0.14.1)

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.events.cloud.alloydb.v1.Cluster.SecondaryConfig

Static Fields

PRIMARY_CLUSTER_NAME_FIELD_NUMBER

public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Cluster.SecondaryConfig getDefaultInstance()
Returns
TypeDescription
Cluster.SecondaryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Cluster.SecondaryConfig.Builder newBuilder()
Returns
TypeDescription
Cluster.SecondaryConfig.Builder

newBuilder(Cluster.SecondaryConfig prototype)

public static Cluster.SecondaryConfig.Builder newBuilder(Cluster.SecondaryConfig prototype)
Parameter
NameDescription
prototypeCluster.SecondaryConfig
Returns
TypeDescription
Cluster.SecondaryConfig.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.SecondaryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SecondaryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Cluster.SecondaryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SecondaryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.SecondaryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SecondaryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.SecondaryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SecondaryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Cluster.SecondaryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SecondaryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Cluster.SecondaryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SecondaryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SecondaryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Cluster.SecondaryConfig> parser()
Returns
TypeDescription
Parser<SecondaryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Cluster.SecondaryConfig getDefaultInstanceForType()
Returns
TypeDescription
Cluster.SecondaryConfig

getParserForType()

public Parser<Cluster.SecondaryConfig> getParserForType()
Returns
TypeDescription
Parser<SecondaryConfig>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for primaryClusterName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Cluster.SecondaryConfig.Builder newBuilderForType()
Returns
TypeDescription
Cluster.SecondaryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.SecondaryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Cluster.SecondaryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Cluster.SecondaryConfig.Builder toBuilder()
Returns
TypeDescription
Cluster.SecondaryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException