Class Replication.UserManaged.Replica (2.27.0)

public static final class Replication.UserManaged.Replica extends GeneratedMessageV3 implements Replication.UserManaged.ReplicaOrBuilder

Represents a Replica for this Secret.

Protobuf type google.cloud.secrets.v1beta1.Replication.UserManaged.Replica

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Replication.UserManaged.Replica

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Replication.UserManaged.Replica getDefaultInstance()
Returns
TypeDescription
Replication.UserManaged.Replica

getDescriptor()

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

newBuilder()

public static Replication.UserManaged.Replica.Builder newBuilder()
Returns
TypeDescription
Replication.UserManaged.Replica.Builder

newBuilder(Replication.UserManaged.Replica prototype)

public static Replication.UserManaged.Replica.Builder newBuilder(Replication.UserManaged.Replica prototype)
Parameter
NameDescription
prototypeReplication.UserManaged.Replica
Returns
TypeDescription
Replication.UserManaged.Replica.Builder

parseDelimitedFrom(InputStream input)

public static Replication.UserManaged.Replica parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Replication.UserManaged.Replica parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Replication.UserManaged.Replica parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Replication.UserManaged.Replica parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Replication.UserManaged.Replica parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Replication.UserManaged.Replica parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Replication.UserManaged.Replica parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Replication.UserManaged.Replica parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Replication.UserManaged.Replica parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Replication.UserManaged.Replica parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Replication.UserManaged.Replica parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replication.UserManaged.Replica
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Replication.UserManaged.Replica> parser()
Returns
TypeDescription
Parser<Replica>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Replication.UserManaged.Replica getDefaultInstanceForType()
Returns
TypeDescription
Replication.UserManaged.Replica

getLocation()

public String getLocation()

The canonical IDs of the location to replicate data. For example: "us-east1".

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The canonical IDs of the location to replicate data. For example: "us-east1".

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

public Parser<Replication.UserManaged.Replica> getParserForType()
Returns
TypeDescription
Parser<Replica>
Overrides

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 Replication.UserManaged.Replica.Builder newBuilderForType()
Returns
TypeDescription
Replication.UserManaged.Replica.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Replication.UserManaged.Replica.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Replication.UserManaged.Replica.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Replication.UserManaged.Replica.Builder toBuilder()
Returns
TypeDescription
Replication.UserManaged.Replica.Builder

writeTo(CodedOutputStream output)

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