Interface AutonomousDatabaseOrBuilder (0.29.0)

public interface AutonomousDatabaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. The labels or tags associated with the Autonomous Database.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdminPassword()

public abstract String getAdminPassword()

Optional. The password for the default ADMIN user.

string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The adminPassword.

getAdminPasswordBytes()

public abstract ByteString getAdminPasswordBytes()

Optional. The password for the default ADMIN user.

string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for adminPassword.

getCidr()

public abstract String getCidr()

Optional. The subnet CIDR range for the Autonomous Database.

string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cidr.

getCidrBytes()

public abstract ByteString getCidrBytes()

Optional. The subnet CIDR range for the Autonomous Database.

string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cidr.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The date and time that the Autonomous Database was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The date and time that the Autonomous Database was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDatabase()

public abstract String getDatabase()

Optional. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.

string database = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Optional. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.

string database = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for database.

getDisasterRecoverySupportedLocations(int index)

public abstract String getDisasterRecoverySupportedLocations(int index)

Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: project/{project}/locations/{location}.

repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The disasterRecoverySupportedLocations at the given index.

getDisasterRecoverySupportedLocationsBytes(int index)

public abstract ByteString getDisasterRecoverySupportedLocationsBytes(int index)

Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: project/{project}/locations/{location}.

repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the disasterRecoverySupportedLocations at the given index.

getDisasterRecoverySupportedLocationsCount()

public abstract int getDisasterRecoverySupportedLocationsCount()

Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: project/{project}/locations/{location}.

repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of disasterRecoverySupportedLocations.

getDisasterRecoverySupportedLocationsList()

public abstract List<String> getDisasterRecoverySupportedLocationsList()

Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: project/{project}/locations/{location}.

repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the disasterRecoverySupportedLocations.

getDisplayName()

public abstract String getDisplayName()

Optional. The display name for the Autonomous Database. The name does not have to be unique within your project.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. The display name for the Autonomous Database. The name does not have to be unique within your project.

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

Returns
Type Description
ByteString

The bytes for displayName.

getEntitlementId()

public abstract String getEntitlementId()

Output only. The ID of the subscription entitlement associated with the Autonomous Database.

string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The entitlementId.

getEntitlementIdBytes()

public abstract ByteString getEntitlementIdBytes()

Output only. The ID of the subscription entitlement associated with the Autonomous Database.

string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for entitlementId.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. The labels or tags associated with the Autonomous Database.

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

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. The labels or tags associated with the Autonomous Database.

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

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. The labels or tags associated with the Autonomous Database.

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

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. The labels or tags associated with the Autonomous Database.

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

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

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

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

Optional. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}

string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Optional. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}

string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getOdbNetwork()

public abstract String getOdbNetwork()

Optional. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The odbNetwork.

getOdbNetworkBytes()

public abstract ByteString getOdbNetworkBytes()

Optional. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for odbNetwork.

getOdbSubnet()

public abstract String getOdbSubnet()

Optional. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The odbSubnet.

getOdbSubnetBytes()

public abstract ByteString getOdbSubnetBytes()

Optional. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for odbSubnet.

getPeerAutonomousDatabases(int index)

public abstract String getPeerAutonomousDatabases(int index)

Output only. The peer Autonomous Database names of the given Autonomous Database.

repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The peerAutonomousDatabases at the given index.

getPeerAutonomousDatabasesBytes(int index)

public abstract ByteString getPeerAutonomousDatabasesBytes(int index)

Output only. The peer Autonomous Database names of the given Autonomous Database.

repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the peerAutonomousDatabases at the given index.

getPeerAutonomousDatabasesCount()

public abstract int getPeerAutonomousDatabasesCount()

Output only. The peer Autonomous Database names of the given Autonomous Database.

repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of peerAutonomousDatabases.

getPeerAutonomousDatabasesList()

public abstract List<String> getPeerAutonomousDatabasesList()

Output only. The peer Autonomous Database names of the given Autonomous Database.

repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the peerAutonomousDatabases.

getProperties()

public abstract AutonomousDatabaseProperties getProperties()

Optional. The properties of the Autonomous Database.

.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseProperties

The properties.

getPropertiesOrBuilder()

public abstract AutonomousDatabasePropertiesOrBuilder getPropertiesOrBuilder()

Optional. The properties of the Autonomous Database.

.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabasePropertiesOrBuilder

getSourceConfig()

public abstract SourceConfig getSourceConfig()

Optional. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation.

.google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceConfig

The sourceConfig.

getSourceConfigOrBuilder()

public abstract SourceConfigOrBuilder getSourceConfigOrBuilder()

Optional. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation.

.google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceConfigOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The date and time that the Autonomous Database was created.

.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasProperties()

public abstract boolean hasProperties()

Optional. The properties of the Autonomous Database.

.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

hasSourceConfig()

public abstract boolean hasSourceConfig()

Optional. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation.

.google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sourceConfig field is set.