Class AutonomousDatabaseBackup (0.1.0)

public final class AutonomousDatabaseBackup extends GeneratedMessageV3 implements AutonomousDatabaseBackupOrBuilder

Details of the Autonomous Database Backup resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/

Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseBackup

Static Fields

AUTONOMOUS_DATABASE_FIELD_NUMBER

public static final int AUTONOMOUS_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutonomousDatabaseBackup getDefaultInstance()
Returns
Type Description
AutonomousDatabaseBackup

getDescriptor()

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

newBuilder()

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

newBuilder(AutonomousDatabaseBackup prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Optional. labels or tags associated with the resource.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getAutonomousDatabase()

public String getAutonomousDatabase()

Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The autonomousDatabase.

getAutonomousDatabaseBytes()

public ByteString getAutonomousDatabaseBytes()

Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

string autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for autonomousDatabase.

getDefaultInstanceForType()

public AutonomousDatabaseBackup getDefaultInstanceForType()
Returns
Type Description
AutonomousDatabaseBackup

getDisplayName()

public String getDisplayName()

Optional. User friendly name for the Backup. The name does not have to be unique.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly name for the Backup. The name does not have to be unique.

string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. labels or tags associated with the resource.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. labels or tags associated with the resource.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. labels or tags associated with the resource.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. labels or tags associated with the resource.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public String getName()

Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getProperties()

public AutonomousDatabaseBackupProperties getProperties()

Optional. Various properties of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseBackupProperties

The properties.

getPropertiesOrBuilder()

public AutonomousDatabaseBackupPropertiesOrBuilder getPropertiesOrBuilder()

Optional. Various properties of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseBackupPropertiesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasProperties()

public boolean hasProperties()

Optional. Various properties of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutonomousDatabaseBackup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutonomousDatabaseBackup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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