public static final class AutonomousDatabase.Builder extends GeneratedMessageV3.Builder<AutonomousDatabase.Builder> implements AutonomousDatabaseOrBuilderDetails of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabase
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutonomousDatabase.BuilderImplements
AutonomousDatabaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDisasterRecoverySupportedLocations(Iterable<String> values)
public AutonomousDatabase.Builder addAllDisasterRecoverySupportedLocations(Iterable<String> values) 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 |
values |
Iterable<String>The disasterRecoverySupportedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
addAllPeerAutonomousDatabases(Iterable<String> values)
public AutonomousDatabase.Builder addAllPeerAutonomousDatabases(Iterable<String> values)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 |
values |
Iterable<String>The peerAutonomousDatabases to add. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
addDisasterRecoverySupportedLocations(String value)
public AutonomousDatabase.Builder addDisasterRecoverySupportedLocations(String value) 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 |
value |
StringThe disasterRecoverySupportedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
addDisasterRecoverySupportedLocationsBytes(ByteString value)
public AutonomousDatabase.Builder addDisasterRecoverySupportedLocationsBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the disasterRecoverySupportedLocations to add. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
addPeerAutonomousDatabases(String value)
public AutonomousDatabase.Builder addPeerAutonomousDatabases(String value)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 |
value |
StringThe peerAutonomousDatabases to add. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
addPeerAutonomousDatabasesBytes(ByteString value)
public AutonomousDatabase.Builder addPeerAutonomousDatabasesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the peerAutonomousDatabases to add. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutonomousDatabase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
build()
public AutonomousDatabase build()| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase |
|
buildPartial()
public AutonomousDatabase buildPartial()| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase |
|
clear()
public AutonomousDatabase.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
clearAdminPassword()
public AutonomousDatabase.Builder clearAdminPassword()Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
clearCidr()
public AutonomousDatabase.Builder clearCidr()Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
clearCreateTime()
public AutonomousDatabase.Builder clearCreateTime()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 |
AutonomousDatabase.Builder |
|
clearDatabase()
public AutonomousDatabase.Builder clearDatabase()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearDisasterRecoverySupportedLocations()
public AutonomousDatabase.Builder clearDisasterRecoverySupportedLocations() 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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearDisplayName()
public AutonomousDatabase.Builder clearDisplayName()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearEntitlementId()
public AutonomousDatabase.Builder clearEntitlementId()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AutonomousDatabase.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
clearLabels()
public AutonomousDatabase.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
clearName()
public AutonomousDatabase.Builder clearName()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearNetwork()
public AutonomousDatabase.Builder clearNetwork()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearOdbNetwork()
public AutonomousDatabase.Builder clearOdbNetwork()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearOdbSubnet()
public AutonomousDatabase.Builder clearOdbSubnet()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutonomousDatabase.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
clearPeerAutonomousDatabases()
public AutonomousDatabase.Builder clearPeerAutonomousDatabases()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 |
AutonomousDatabase.Builder |
This builder for chaining. |
clearProperties()
public AutonomousDatabase.Builder clearProperties()Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
clearSourceConfig()
public AutonomousDatabase.Builder clearSourceConfig()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 |
AutonomousDatabase.Builder |
|
clone()
public AutonomousDatabase.Builder clone()| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
containsLabels(String key)
public 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 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 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 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 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 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()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 |
Builder |
|
getCreateTimeOrBuilder()
public 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 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 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. |
getDefaultInstanceForType()
public AutonomousDatabase getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisasterRecoverySupportedLocations(int index)
public 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The disasterRecoverySupportedLocations at the given index. |
getDisasterRecoverySupportedLocationsBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the disasterRecoverySupportedLocations at the given index. |
getDisasterRecoverySupportedLocationsCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the disasterRecoverySupportedLocations. |
getDisplayName()
public 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 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 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 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 Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public 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 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 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 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 |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public 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 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 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 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 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 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 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 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 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The peerAutonomousDatabases at the given index. |
getPeerAutonomousDatabasesBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the peerAutonomousDatabases at the given index. |
getPeerAutonomousDatabasesCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the peerAutonomousDatabases. |
getProperties()
public 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. |
getPropertiesBuilder()
public AutonomousDatabaseProperties.Builder getPropertiesBuilder()Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabaseProperties.Builder |
|
getPropertiesOrBuilder()
public 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 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. |
getSourceConfigBuilder()
public SourceConfig.Builder getSourceConfigBuilder()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.Builder |
|
getSourceConfigOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public AutonomousDatabase.Builder mergeCreateTime(Timestamp value)Output only. The date and time that the Autonomous Database was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
mergeFrom(AutonomousDatabase other)
public AutonomousDatabase.Builder mergeFrom(AutonomousDatabase other)| Parameter | |
|---|---|
| Name | Description |
other |
AutonomousDatabase |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutonomousDatabase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutonomousDatabase.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
mergeProperties(AutonomousDatabaseProperties value)
public AutonomousDatabase.Builder mergeProperties(AutonomousDatabaseProperties value)Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AutonomousDatabaseProperties |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
mergeSourceConfig(SourceConfig value)
public AutonomousDatabase.Builder mergeSourceConfig(SourceConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceConfig |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutonomousDatabase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
putAllLabels(Map<String,String> values)
public AutonomousDatabase.Builder putAllLabels(Map<String,String> values)Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
putLabels(String key, String value)
public AutonomousDatabase.Builder putLabels(String key, String value)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 |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
removeLabels(String key)
public AutonomousDatabase.Builder removeLabels(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 |
AutonomousDatabase.Builder |
|
setAdminPassword(String value)
public AutonomousDatabase.Builder setAdminPassword(String value)Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adminPassword to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setAdminPasswordBytes(ByteString value)
public AutonomousDatabase.Builder setAdminPasswordBytes(ByteString value)Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for adminPassword to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setCidr(String value)
public AutonomousDatabase.Builder setCidr(String value)Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cidr to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setCidrBytes(ByteString value)
public AutonomousDatabase.Builder setCidrBytes(ByteString value)Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cidr to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public AutonomousDatabase.Builder setCreateTime(Timestamp value)Output only. The date and time that the Autonomous Database was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public AutonomousDatabase.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The date and time that the Autonomous Database was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setDatabase(String value)
public AutonomousDatabase.Builder setDatabase(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public AutonomousDatabase.Builder setDatabaseBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setDisasterRecoverySupportedLocations(int index, String value)
public AutonomousDatabase.Builder setDisasterRecoverySupportedLocations(int index, String value) 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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe disasterRecoverySupportedLocations to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setDisplayName(String value)
public AutonomousDatabase.Builder setDisplayName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AutonomousDatabase.Builder setDisplayNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setEntitlementId(String value)
public AutonomousDatabase.Builder setEntitlementId(String value)Output only. The ID of the subscription entitlement associated with the Autonomous Database.
string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe entitlementId to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setEntitlementIdBytes(ByteString value)
public AutonomousDatabase.Builder setEntitlementIdBytes(ByteString value)Output only. The ID of the subscription entitlement associated with the Autonomous Database.
string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for entitlementId to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AutonomousDatabase.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setName(String value)
public AutonomousDatabase.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AutonomousDatabase.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setNetwork(String value)
public AutonomousDatabase.Builder setNetwork(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe network to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setNetworkBytes(ByteString value)
public AutonomousDatabase.Builder setNetworkBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for network to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setOdbNetwork(String value)
public AutonomousDatabase.Builder setOdbNetwork(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe odbNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setOdbNetworkBytes(ByteString value)
public AutonomousDatabase.Builder setOdbNetworkBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for odbNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setOdbSubnet(String value)
public AutonomousDatabase.Builder setOdbSubnet(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe odbSubnet to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setOdbSubnetBytes(ByteString value)
public AutonomousDatabase.Builder setOdbSubnetBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for odbSubnet to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setPeerAutonomousDatabases(int index, String value)
public AutonomousDatabase.Builder setPeerAutonomousDatabases(int index, String value)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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe peerAutonomousDatabases to set. |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
This builder for chaining. |
setProperties(AutonomousDatabaseProperties value)
public AutonomousDatabase.Builder setProperties(AutonomousDatabaseProperties value)Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AutonomousDatabaseProperties |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setProperties(AutonomousDatabaseProperties.Builder builderForValue)
public AutonomousDatabase.Builder setProperties(AutonomousDatabaseProperties.Builder builderForValue)Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AutonomousDatabaseProperties.Builder |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutonomousDatabase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setSourceConfig(SourceConfig value)
public AutonomousDatabase.Builder setSourceConfig(SourceConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
SourceConfig |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setSourceConfig(SourceConfig.Builder builderForValue)
public AutonomousDatabase.Builder setSourceConfig(SourceConfig.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SourceConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AutonomousDatabase.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AutonomousDatabase.Builder |
|