Class AutonomousDatabase.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
com.google.cloud.oracledatabase.v1.AutonomousDatabase.Builder
- All Implemented Interfaces:
AutonomousDatabaseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutonomousDatabase
public static final class AutonomousDatabase.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
implements AutonomousDatabaseOrBuilder
Details of the Autonomous Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/Protobuf type
google.cloud.oracledatabase.v1.AutonomousDatabase-
Method Summary
Modifier and TypeMethodDescriptionOutput only.addAllPeerAutonomousDatabases(Iterable<String> values) Output only.Output only.addDisasterRecoverySupportedLocationsBytes(com.google.protobuf.ByteString value) Output only.addPeerAutonomousDatabases(String value) Output only.addPeerAutonomousDatabasesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Optional.Optional.Output only.Optional.Output only.Optional.Output only.Identifier.Optional.Optional.Optional.Output only.Optional.Optional.booleancontainsLabels(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.getCidr()Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisasterRecoverySupportedLocations(int index) Output only.com.google.protobuf.ByteStringgetDisasterRecoverySupportedLocationsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput 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.Deprecated.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.com.google.protobuf.ProtocolStringListOutput only.Optional.Optional.Optional.Optional.Optional.Optional.booleanOutput only.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(AutonomousDatabase other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeSourceConfig(SourceConfig value) Optional.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setAdminPassword(String value) Optional.setAdminPasswordBytes(com.google.protobuf.ByteString value) Optional.Optional.setCidrBytes(com.google.protobuf.ByteString value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDatabase(String value) Optional.setDatabaseBytes(com.google.protobuf.ByteString value) Optional.setDisasterRecoverySupportedLocations(int index, String value) Output only.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.setEntitlementId(String value) Output only.setEntitlementIdBytes(com.google.protobuf.ByteString value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setNetwork(String value) Optional.setNetworkBytes(com.google.protobuf.ByteString value) Optional.setOdbNetwork(String value) Optional.setOdbNetworkBytes(com.google.protobuf.ByteString value) Optional.setOdbSubnet(String value) Optional.setOdbSubnetBytes(com.google.protobuf.ByteString value) Optional.setPeerAutonomousDatabases(int index, String value) Output only.Optional.setProperties(AutonomousDatabaseProperties.Builder builderForValue) Optional.setSourceConfig(SourceConfig value) Optional.setSourceConfig(SourceConfig.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutonomousDatabase.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
-
mergeFrom
public AutonomousDatabase.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutonomousDatabase.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceAutonomousDatabaseOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDatabasein interfaceAutonomousDatabaseOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public 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];- Specified by:
getDatabaseBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for database.
-
setDatabase
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];- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDatabaseBytes
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];- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDisplayNamein interfaceAutonomousDatabaseOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];- Specified by:
getDisplayNameBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDisplayNameBytes
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];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getEntitlementId
Output only. The ID of the subscription entitlement associated with the Autonomous Database.
string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEntitlementIdin interfaceAutonomousDatabaseOrBuilder- Returns:
- The entitlementId.
-
getEntitlementIdBytes
public 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];- Specified by:
getEntitlementIdBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for entitlementId.
-
setEntitlementId
Output only. The ID of the subscription entitlement associated with the Autonomous Database.
string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The entitlementId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setEntitlementIdBytes
Output only. The ID of the subscription entitlement associated with the Autonomous Database.
string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for entitlementId to set.- Returns:
- This builder for chaining.
-
getAdminPassword
Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdminPasswordin interfaceAutonomousDatabaseOrBuilder- Returns:
- The adminPassword.
-
getAdminPasswordBytes
public com.google.protobuf.ByteString getAdminPasswordBytes()Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdminPasswordBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for adminPassword.
-
setAdminPassword
Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The adminPassword to set.- Returns:
- This builder for chaining.
-
clearAdminPassword
Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAdminPasswordBytes
Optional. The password for the default ADMIN user.
string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for adminPassword to set.- Returns:
- This builder for chaining.
-
hasProperties
public boolean hasProperties()Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPropertiesin interfaceAutonomousDatabaseOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The properties.
-
setProperties
Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL]; -
setProperties
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]; -
mergeProperties
Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL]; -
clearProperties
Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getPropertiesBuilder
Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getPropertiesOrBuilder
Optional. The properties of the Autonomous Database.
.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrBuilderin interfaceAutonomousDatabaseOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:AutonomousDatabaseOrBuilderOptional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceAutonomousDatabaseOrBuilder
-
containsLabels
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceAutonomousDatabaseOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceAutonomousDatabaseOrBuilder
-
getLabelsMap
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceAutonomousDatabaseOrBuilder
-
getLabelsOrDefault
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceAutonomousDatabaseOrBuilder
-
getLabelsOrThrow
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceAutonomousDatabaseOrBuilder
-
clearLabels
-
removeLabels
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. The labels or tags associated with the Autonomous Database.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL]; -
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) = { ... }- Specified by:
getNetworkin interfaceAutonomousDatabaseOrBuilder- Returns:
- The network.
-
getNetworkBytes
public 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) = { ... }- Specified by:
getNetworkBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for network.
-
setNetwork
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) = { ... }- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNetworkBytes
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) = { ... }- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getCidr
Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCidrin interfaceAutonomousDatabaseOrBuilder- Returns:
- The cidr.
-
getCidrBytes
public com.google.protobuf.ByteString getCidrBytes()Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCidrBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for cidr.
-
setCidr
Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The cidr to set.- Returns:
- This builder for chaining.
-
clearCidr
Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setCidrBytes
Optional. The subnet CIDR range for the Autonomous Database.
string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for cidr to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getOdbNetworkin interfaceAutonomousDatabaseOrBuilder- Returns:
- The odbNetwork.
-
getOdbNetworkBytes
public 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) = { ... }- Specified by:
getOdbNetworkBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for odbNetwork.
-
setOdbNetwork
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) = { ... }- Parameters:
value- The odbNetwork to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setOdbNetworkBytes
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) = { ... }- Parameters:
value- The bytes for odbNetwork to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getOdbSubnetin interfaceAutonomousDatabaseOrBuilder- Returns:
- The odbSubnet.
-
getOdbSubnetBytes
public 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) = { ... }- Specified by:
getOdbSubnetBytesin interfaceAutonomousDatabaseOrBuilder- Returns:
- The bytes for odbSubnet.
-
setOdbSubnet
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) = { ... }- Parameters:
value- The odbSubnet to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setOdbSubnetBytes
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) = { ... }- Parameters:
value- The bytes for odbSubnet to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasSourceConfigin interfaceAutonomousDatabaseOrBuilder- Returns:
- Whether the sourceConfig field is set.
-
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];- Specified by:
getSourceConfigin interfaceAutonomousDatabaseOrBuilder- Returns:
- The sourceConfig.
-
setSourceConfig
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]; -
setSourceConfig
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]; -
mergeSourceConfig
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]; -
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]; -
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]; -
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];- Specified by:
getSourceConfigOrBuilderin interfaceAutonomousDatabaseOrBuilder
-
getPeerAutonomousDatabasesList
public com.google.protobuf.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) = { ... }- Specified by:
getPeerAutonomousDatabasesListin interfaceAutonomousDatabaseOrBuilder- Returns:
- A list containing the peerAutonomousDatabases.
-
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) = { ... }- Specified by:
getPeerAutonomousDatabasesCountin interfaceAutonomousDatabaseOrBuilder- 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) = { ... }- Specified by:
getPeerAutonomousDatabasesin interfaceAutonomousDatabaseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The peerAutonomousDatabases at the given index.
-
getPeerAutonomousDatabasesBytes
public 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) = { ... }- Specified by:
getPeerAutonomousDatabasesBytesin interfaceAutonomousDatabaseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the peerAutonomousDatabases at the given index.
-
setPeerAutonomousDatabases
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 to set the value at.value- The peerAutonomousDatabases to set.- Returns:
- This builder for chaining.
-
addPeerAutonomousDatabases
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:
value- The peerAutonomousDatabases to add.- Returns:
- This builder for chaining.
-
addAllPeerAutonomousDatabases
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:
values- The peerAutonomousDatabases to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addPeerAutonomousDatabasesBytes
public AutonomousDatabase.Builder addPeerAutonomousDatabasesBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes of the peerAutonomousDatabases to add.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceAutonomousDatabaseOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceAutonomousDatabaseOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The date and time that the Autonomous Database was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public AutonomousDatabase.Builder setCreateTime(com.google.protobuf.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]; -
mergeCreateTime
Output only. The date and time that the Autonomous Database was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
getCreateTimeBuilder
public com.google.protobuf.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]; -
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceAutonomousDatabaseOrBuilder
-
getDisasterRecoverySupportedLocationsList
public com.google.protobuf.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) = { ... }- Specified by:
getDisasterRecoverySupportedLocationsListin interfaceAutonomousDatabaseOrBuilder- Returns:
- A list containing the disasterRecoverySupportedLocations.
-
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) = { ... }- Specified by:
getDisasterRecoverySupportedLocationsCountin interfaceAutonomousDatabaseOrBuilder- 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) = { ... }- Specified by:
getDisasterRecoverySupportedLocationsin interfaceAutonomousDatabaseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The disasterRecoverySupportedLocations at the given index.
-
getDisasterRecoverySupportedLocationsBytes
public 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) = { ... }- Specified by:
getDisasterRecoverySupportedLocationsBytesin interfaceAutonomousDatabaseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the disasterRecoverySupportedLocations at the given index.
-
setDisasterRecoverySupportedLocations
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 to set the value at.value- The disasterRecoverySupportedLocations to set.- Returns:
- This builder for chaining.
-
addDisasterRecoverySupportedLocations
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:
value- The disasterRecoverySupportedLocations to add.- Returns:
- This builder for chaining.
-
addAllDisasterRecoverySupportedLocations
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:
values- The disasterRecoverySupportedLocations to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addDisasterRecoverySupportedLocationsBytes
public AutonomousDatabase.Builder addDisasterRecoverySupportedLocationsBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes of the disasterRecoverySupportedLocations to add.- Returns:
- This builder for chaining.
-