Class AlloyDbClusterBackupProperties (0.42.0)

public final class AlloyDbClusterBackupProperties extends GeneratedMessage implements AlloyDbClusterBackupPropertiesOrBuilder

AlloyDbClusterBackupProperties represents AlloyDB cluster backup properties. .

Protobuf type google.cloud.backupdr.v1.AlloyDbClusterBackupProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AlloyDbClusterBackupProperties

Static Fields

CHAIN_ID_FIELD_NUMBER

public static final int CHAIN_ID_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_VERSION_FIELD_NUMBER

public static final int DATABASE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

STORED_BYTES_FIELD_NUMBER

public static final int STORED_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AlloyDbClusterBackupProperties getDefaultInstance()
Returns
Type Description
AlloyDbClusterBackupProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AlloyDbClusterBackupProperties.Builder newBuilder()
Returns
Type Description
AlloyDbClusterBackupProperties.Builder

newBuilder(AlloyDbClusterBackupProperties prototype)

public static AlloyDbClusterBackupProperties.Builder newBuilder(AlloyDbClusterBackupProperties prototype)
Parameter
Name Description
prototype AlloyDbClusterBackupProperties
Returns
Type Description
AlloyDbClusterBackupProperties.Builder

parseDelimitedFrom(InputStream input)

public static AlloyDbClusterBackupProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbClusterBackupProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AlloyDbClusterBackupProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbClusterBackupProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AlloyDbClusterBackupProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbClusterBackupProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AlloyDbClusterBackupProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbClusterBackupProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AlloyDbClusterBackupProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AlloyDbClusterBackupProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AlloyDbClusterBackupProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AlloyDbClusterBackupProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbClusterBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AlloyDbClusterBackupProperties> parser()
Returns
Type Description
Parser<AlloyDbClusterBackupProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getChainId()

public String getChainId()

Output only. The chain id of this backup. Backups belonging to the same chain are sharing the same chain id. This property is calculated and maintained by BackupDR.

string chain_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The chainId.

getChainIdBytes()

public ByteString getChainIdBytes()

Output only. The chain id of this backup. Backups belonging to the same chain are sharing the same chain id. This property is calculated and maintained by BackupDR.

string chain_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for chainId.

getDatabaseVersion()

public String getDatabaseVersion()

Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.

string database_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The databaseVersion.

getDatabaseVersionBytes()

public ByteString getDatabaseVersionBytes()

Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.

string database_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for databaseVersion.

getDefaultInstanceForType()

public AlloyDbClusterBackupProperties getDefaultInstanceForType()
Returns
Type Description
AlloyDbClusterBackupProperties

getDescription()

public String getDescription()

An optional text description for the backup.

optional string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional text description for the backup.

optional string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

public Parser<AlloyDbClusterBackupProperties> getParserForType()
Returns
Type Description
Parser<AlloyDbClusterBackupProperties>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStoredBytes()

public long getStoredBytes()

Output only. Storage usage of this particular backup

int64 stored_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The storedBytes.

hasDescription()

public boolean hasDescription()

An optional text description for the backup.

optional string description = 1;

Returns
Type Description
boolean

Whether the description field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AlloyDbClusterBackupProperties.Builder newBuilderForType()
Returns
Type Description
AlloyDbClusterBackupProperties.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AlloyDbClusterBackupProperties.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AlloyDbClusterBackupProperties.Builder
Overrides

toBuilder()

public AlloyDbClusterBackupProperties.Builder toBuilder()
Returns
Type Description
AlloyDbClusterBackupProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException