Class DatabaseProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseProperties.Builder>
com.google.cloud.oracledatabase.v1.DatabaseProperties.Builder
- All Implemented Interfaces:
DatabasePropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatabaseProperties
public static final class DatabaseProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatabaseProperties.Builder>
implements DatabasePropertiesOrBuilder
The properties of a Database.Protobuf type
google.cloud.oracledatabase.v1.DatabaseProperties-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Required.Output only.Output only.Output only.Output only.Optional.Optional.Optional.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetState()Output only.intOutput only.booleanOutput only.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.Optional.mergeFrom(DatabaseProperties other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setDatabaseManagementConfig(DatabaseManagementConfig.Builder builderForValue) Output only.setDbBackupConfig(DbBackupConfig value) Optional.setDbBackupConfig(DbBackupConfig.Builder builderForValue) Optional.setDbVersion(String value) Required.setDbVersionBytes(com.google.protobuf.ByteString value) Required.Output only.setStateValue(int value) Output only.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseProperties.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<DatabaseProperties.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<DatabaseProperties.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<DatabaseProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseProperties.Builder>
-
mergeFrom
public DatabaseProperties.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<DatabaseProperties.Builder>- Throws:
IOException
-
getStateValue
public int getStateValue()Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDatabasePropertiesOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDatabasePropertiesOrBuilder- Returns:
- The state.
-
setState
Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDbVersion
Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDbVersionin interfaceDatabasePropertiesOrBuilder- Returns:
- The dbVersion.
-
getDbVersionBytes
public com.google.protobuf.ByteString getDbVersionBytes()Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDbVersionBytesin interfaceDatabasePropertiesOrBuilder- Returns:
- The bytes for dbVersion.
-
setDbVersion
Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The dbVersion to set.- Returns:
- This builder for chaining.
-
clearDbVersion
Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDbVersionBytes
Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for dbVersion to set.- Returns:
- This builder for chaining.
-
hasDbBackupConfig
public boolean hasDbBackupConfig()Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDbBackupConfigin interfaceDatabasePropertiesOrBuilder- Returns:
- Whether the dbBackupConfig field is set.
-
getDbBackupConfig
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbBackupConfigin interfaceDatabasePropertiesOrBuilder- Returns:
- The dbBackupConfig.
-
setDbBackupConfig
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setDbBackupConfig
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeDbBackupConfig
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearDbBackupConfig
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDbBackupConfigBuilder
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDbBackupConfigOrBuilder
Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbBackupConfigOrBuilderin interfaceDatabasePropertiesOrBuilder
-
hasDatabaseManagementConfig
public boolean hasDatabaseManagementConfig()Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDatabaseManagementConfigin interfaceDatabasePropertiesOrBuilder- Returns:
- Whether the databaseManagementConfig field is set.
-
getDatabaseManagementConfig
Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDatabaseManagementConfigin interfaceDatabasePropertiesOrBuilder- Returns:
- The databaseManagementConfig.
-
setDatabaseManagementConfig
Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDatabaseManagementConfig
public DatabaseProperties.Builder setDatabaseManagementConfig(DatabaseManagementConfig.Builder builderForValue) Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDatabaseManagementConfig
Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDatabaseManagementConfig
Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDatabaseManagementConfigBuilder
Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDatabaseManagementConfigOrBuilder
Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDatabaseManagementConfigOrBuilderin interfaceDatabasePropertiesOrBuilder
-