Class BackupSource (0.14.1)

public final class BackupSource extends GeneratedMessageV3 implements BackupSourceOrBuilder

Message describing a BackupSource.

Protobuf type google.events.cloud.alloydb.v1.BackupSource

Static Fields

BACKUP_NAME_FIELD_NUMBER

public static final int BACKUP_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

BACKUP_UID_FIELD_NUMBER

public static final int BACKUP_UID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackupSource getDefaultInstance()
Returns
TypeDescription
BackupSource

getDescriptor()

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

newBuilder()

public static BackupSource.Builder newBuilder()
Returns
TypeDescription
BackupSource.Builder

newBuilder(BackupSource prototype)

public static BackupSource.Builder newBuilder(BackupSource prototype)
Parameter
NameDescription
prototypeBackupSource
Returns
TypeDescription
BackupSource.Builder

parseDelimitedFrom(InputStream input)

public static BackupSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BackupSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BackupSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BackupSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BackupSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BackupSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BackupSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BackupSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BackupSource> parser()
Returns
TypeDescription
Parser<BackupSource>

Methods

equals(Object obj)

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

getBackupName()

public String getBackupName()

Required. The name of the backup resource with the format:

  • projects/{project}/locations/{region}/backups/{backup_id}

string backup_name = 1;

Returns
TypeDescription
String

The backupName.

getBackupNameBytes()

public ByteString getBackupNameBytes()

Required. The name of the backup resource with the format:

  • projects/{project}/locations/{region}/backups/{backup_id}

string backup_name = 1;

Returns
TypeDescription
ByteString

The bytes for backupName.

getBackupUid()

public String getBackupUid()

Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.

string backup_uid = 2;

Returns
TypeDescription
String

The backupUid.

getBackupUidBytes()

public ByteString getBackupUidBytes()

Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.

string backup_uid = 2;

Returns
TypeDescription
ByteString

The bytes for backupUid.

getDefaultInstanceForType()

public BackupSource getDefaultInstanceForType()
Returns
TypeDescription
BackupSource

getParserForType()

public Parser<BackupSource> getParserForType()
Returns
TypeDescription
Parser<BackupSource>
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 BackupSource.Builder newBuilderForType()
Returns
TypeDescription
BackupSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BackupSource.Builder toBuilder()
Returns
TypeDescription
BackupSource.Builder

writeTo(CodedOutputStream output)

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