Class Database
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oracledatabase.v1.Database
- All Implemented Interfaces:
DatabaseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Database
extends com.google.protobuf.GeneratedMessage
implements DatabaseOrBuilder
Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/Protobuf type
google.cloud.oracledatabase.v1.Database- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails of the Database resource.static enumThe Status of Operations Insights for this Database.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.static Databasestatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.com.google.protobuf.Parser<Database>Optional.Optional.intOptional.com.google.protobuf.ByteStringOptional.booleanOutput only.inthashCode()booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Database.Builderstatic Database.BuildernewBuilder(Database prototype) protected Database.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DatabaseparseDelimitedFrom(InputStream input) static DatabaseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DatabaseparseFrom(byte[] data) static DatabaseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DatabaseparseFrom(com.google.protobuf.ByteString data) static DatabaseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DatabaseparseFrom(com.google.protobuf.CodedInputStream input) static DatabaseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DatabaseparseFrom(InputStream input) static DatabaseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DatabaseparseFrom(ByteBuffer data) static DatabaseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Database>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER- See Also:
-
DB_UNIQUE_NAME_FIELD_NUMBER
public static final int DB_UNIQUE_NAME_FIELD_NUMBER- See Also:
-
ADMIN_PASSWORD_FIELD_NUMBER
public static final int ADMIN_PASSWORD_FIELD_NUMBER- See Also:
-
TDE_WALLET_PASSWORD_FIELD_NUMBER
public static final int TDE_WALLET_PASSWORD_FIELD_NUMBER- See Also:
-
CHARACTER_SET_FIELD_NUMBER
public static final int CHARACTER_SET_FIELD_NUMBER- See Also:
-
NCHARACTER_SET_FIELD_NUMBER
public static final int NCHARACTER_SET_FIELD_NUMBER- See Also:
-
OCI_URL_FIELD_NUMBER
public static final int OCI_URL_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
DATABASE_ID_FIELD_NUMBER
public static final int DATABASE_ID_FIELD_NUMBER- See Also:
-
DB_HOME_NAME_FIELD_NUMBER
public static final int DB_HOME_NAME_FIELD_NUMBER- See Also:
-
GCP_ORACLE_ZONE_FIELD_NUMBER
public static final int GCP_ORACLE_ZONE_FIELD_NUMBER- See Also:
-
OPS_INSIGHTS_STATUS_FIELD_NUMBER
public static final int OPS_INSIGHTS_STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceDatabaseOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for name.
-
getDbName
Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
string db_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbNamein interfaceDatabaseOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
string db_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbNameBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for dbName.
-
getDbUniqueName
Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
string db_unique_name = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbUniqueNamein interfaceDatabaseOrBuilder- Returns:
- The dbUniqueName.
-
getDbUniqueNameBytes
public com.google.protobuf.ByteString getDbUniqueNameBytes()Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
string db_unique_name = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbUniqueNameBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for dbUniqueName.
-
getAdminPassword
Required. The password for the default ADMIN user.
string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdminPasswordin interfaceDatabaseOrBuilder- Returns:
- The adminPassword.
-
getAdminPasswordBytes
public com.google.protobuf.ByteString getAdminPasswordBytes()Required. The password for the default ADMIN user.
string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdminPasswordBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for adminPassword.
-
getTdeWalletPassword
Optional. The TDE wallet password for the database.
string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTdeWalletPasswordin interfaceDatabaseOrBuilder- Returns:
- The tdeWalletPassword.
-
getTdeWalletPasswordBytes
public com.google.protobuf.ByteString getTdeWalletPasswordBytes()Optional. The TDE wallet password for the database.
string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTdeWalletPasswordBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for tdeWalletPassword.
-
getCharacterSet
Optional. The character set for the database. The default is AL32UTF8.
string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCharacterSetin interfaceDatabaseOrBuilder- Returns:
- The characterSet.
-
getCharacterSetBytes
public com.google.protobuf.ByteString getCharacterSetBytes()Optional. The character set for the database. The default is AL32UTF8.
string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCharacterSetBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for characterSet.
-
getNcharacterSet
Optional. The national character set for the database. The default is AL16UTF16.
string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNcharacterSetin interfaceDatabaseOrBuilder- Returns:
- The ncharacterSet.
-
getNcharacterSetBytes
public com.google.protobuf.ByteString getNcharacterSetBytes()Optional. The national character set for the database. The default is AL16UTF16.
string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNcharacterSetBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for ncharacterSet.
-
getOciUrl
Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
string oci_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOciUrlin interfaceDatabaseOrBuilder- Returns:
- The ociUrl.
-
getOciUrlBytes
public com.google.protobuf.ByteString getOciUrlBytes()Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
string oci_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOciUrlBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for ociUrl.
-
hasCreateTime
public boolean hasCreateTime()Output only. The date and time that the Database was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDatabaseOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The date and time that the Database was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDatabaseOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time that the Database was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDatabaseOrBuilder
-
hasProperties
public boolean hasProperties()Optional. The properties of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPropertiesin interfaceDatabaseOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
Optional. The properties of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesin interfaceDatabaseOrBuilder- Returns:
- The properties.
-
getPropertiesOrBuilder
Optional. The properties of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrBuilderin interfaceDatabaseOrBuilder
-
getDatabaseId
Optional. The database ID of the Database.
string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseIdin interfaceDatabaseOrBuilder- Returns:
- The databaseId.
-
getDatabaseIdBytes
public com.google.protobuf.ByteString getDatabaseIdBytes()Optional. The database ID of the Database.
string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDatabaseIdBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for databaseId.
-
getDbHomeName
Optional. The name of the DbHome resource associated with the Database.
string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbHomeNamein interfaceDatabaseOrBuilder- Returns:
- The dbHomeName.
-
getDbHomeNameBytes
public com.google.protobuf.ByteString getDbHomeNameBytes()Optional. The name of the DbHome resource associated with the Database.
string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbHomeNameBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for dbHomeName.
-
getGcpOracleZone
Output only. The GCP Oracle zone where the Database is created.
string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGcpOracleZonein interfaceDatabaseOrBuilder- Returns:
- The gcpOracleZone.
-
getGcpOracleZoneBytes
public com.google.protobuf.ByteString getGcpOracleZoneBytes()Output only. The GCP Oracle zone where the Database is created.
string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGcpOracleZoneBytesin interfaceDatabaseOrBuilder- Returns:
- The bytes for gcpOracleZone.
-
getOpsInsightsStatusValue
public int getOpsInsightsStatusValue()Output only. The Status of Operations Insights for this Database.
.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOpsInsightsStatusValuein interfaceDatabaseOrBuilder- Returns:
- The enum numeric value on the wire for opsInsightsStatus.
-
getOpsInsightsStatus
Output only. The Status of Operations Insights for this Database.
.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOpsInsightsStatusin interfaceDatabaseOrBuilder- Returns:
- The opsInsightsStatus.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Database parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Database parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Database parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Database parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Database parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Database parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Database parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Database parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Database.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-