Interface AutonomousDatabaseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutonomousDatabase,AutonomousDatabase.Builder
@Generated
public interface AutonomousDatabaseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.getCidr()Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.getDisasterRecoverySupportedLocations(int index) Output only.com.google.protobuf.ByteStringgetDisasterRecoverySupportedLocationsBytes(int index) Output only.intOutput only.Output only.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getPeerAutonomousDatabases(int index) Output only.com.google.protobuf.ByteStringgetPeerAutonomousDatabasesBytes(int index) Output only.intOutput only.Output only.Optional.Optional.Optional.Optional.booleanOutput only.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getDatabase
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:
- The database.
-
getDatabaseBytes
com.google.protobuf.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:
- The bytes for database.
-
getDisplayName
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:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.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:
- The bytes for displayName.
-
getEntitlementId
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:
- The entitlementId.
-
getEntitlementIdBytes
com.google.protobuf.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:
- The bytes for entitlementId.
-
getAdminPassword
String getAdminPassword()Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The adminPassword.
-
getAdminPasswordBytes
com.google.protobuf.ByteString getAdminPasswordBytes()Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for adminPassword.
-
hasProperties
boolean hasProperties()Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the properties field is set.
-
getProperties
AutonomousDatabaseProperties getProperties()Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The properties.
-
getPropertiesOrBuilder
AutonomousDatabasePropertiesOrBuilder getPropertiesOrBuilder()Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsCount
int getLabelsCount()Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getNetwork
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:
- The network.
-
getNetworkBytes
com.google.protobuf.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:
- The bytes for network.
-
getCidr
String getCidr()Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The cidr.
-
getCidrBytes
com.google.protobuf.ByteString getCidrBytes()Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for cidr.
-
getOdbNetwork
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:
- The odbNetwork.
-
getOdbNetworkBytes
com.google.protobuf.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:
- The bytes for odbNetwork.
-
getOdbSubnet
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:
- The odbSubnet.
-
getOdbSubnetBytes
com.google.protobuf.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:
- The bytes for odbSubnet.
-
hasSourceConfig
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:
- Whether the sourceConfig field is set.
-
getSourceConfig
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:
- The sourceConfig.
-
getSourceConfigOrBuilder
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]; -
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:
- A list containing the peerAutonomousDatabases.
-
getPeerAutonomousDatabasesCount
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:
- The count of peerAutonomousDatabases.
-
getPeerAutonomousDatabases
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) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The peerAutonomousDatabases at the given index.
-
getPeerAutonomousDatabasesBytes
com.google.protobuf.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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the peerAutonomousDatabases at the given index.
-
hasCreateTime
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:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.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]; -
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:
- A list containing the disasterRecoverySupportedLocations.
-
getDisasterRecoverySupportedLocationsCount
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:
- The count of disasterRecoverySupportedLocations.
-
getDisasterRecoverySupportedLocations
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) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The disasterRecoverySupportedLocations at the given index.
-
getDisasterRecoverySupportedLocationsBytes
com.google.protobuf.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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the disasterRecoverySupportedLocations at the given index.
-