public static final class DatabaseProperties.Builder extends GeneratedMessageV3.Builder<DatabaseProperties.Builder> implements DatabasePropertiesOrBuilderThe properties of a Database.
Protobuf type google.cloud.oracledatabase.v1.DatabaseProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatabaseProperties.BuilderImplements
DatabasePropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
build()
public DatabaseProperties build()| Returns | |
|---|---|
| Type | Description |
DatabaseProperties |
|
buildPartial()
public DatabaseProperties buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseProperties |
|
clear()
public DatabaseProperties.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
clearDatabaseManagementConfig()
public DatabaseProperties.Builder clearDatabaseManagementConfig()Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
clearDbBackupConfig()
public DatabaseProperties.Builder clearDbBackupConfig()Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
clearDbVersion()
public DatabaseProperties.Builder clearDbVersion()Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DatabaseProperties.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
clearState()
public DatabaseProperties.Builder clearState()Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
This builder for chaining. |
clone()
public DatabaseProperties.Builder clone()| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
getDatabaseManagementConfig()
public DatabaseManagementConfig getDatabaseManagementConfig()Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseManagementConfig |
The databaseManagementConfig. |
getDatabaseManagementConfigBuilder()
public DatabaseManagementConfig.Builder getDatabaseManagementConfigBuilder()Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseManagementConfig.Builder |
|
getDatabaseManagementConfigOrBuilder()
public DatabaseManagementConfigOrBuilder getDatabaseManagementConfigOrBuilder()Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseManagementConfigOrBuilder |
|
getDbBackupConfig()
public DbBackupConfig getDbBackupConfig()Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig |
The dbBackupConfig. |
getDbBackupConfigBuilder()
public DbBackupConfig.Builder getDbBackupConfigBuilder()Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
getDbBackupConfigOrBuilder()
public DbBackupConfigOrBuilder getDbBackupConfigOrBuilder()Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbBackupConfigOrBuilder |
|
getDbVersion()
public String getDbVersion()Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The dbVersion. |
getDbVersionBytes()
public ByteString getDbVersionBytes()Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dbVersion. |
getDefaultInstanceForType()
public DatabaseProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseProperties |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
public DatabaseProperties.DatabaseLifecycleState getState()Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.DatabaseLifecycleState |
The state. |
getStateValue()
public int getStateValue()Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the databaseManagementConfig field is set. |
hasDbBackupConfig()
public boolean hasDbBackupConfig()Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dbBackupConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDatabaseManagementConfig(DatabaseManagementConfig value)
public DatabaseProperties.Builder mergeDatabaseManagementConfig(DatabaseManagementConfig value)Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseManagementConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
mergeDbBackupConfig(DbBackupConfig value)
public DatabaseProperties.Builder mergeDbBackupConfig(DbBackupConfig value)Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DbBackupConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
mergeFrom(DatabaseProperties other)
public DatabaseProperties.Builder mergeFrom(DatabaseProperties other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseProperties |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setDatabaseManagementConfig(DatabaseManagementConfig value)
public DatabaseProperties.Builder setDatabaseManagementConfig(DatabaseManagementConfig value)Output only. The Database Management config.
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseManagementConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setDatabaseManagementConfig(DatabaseManagementConfig.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DatabaseManagementConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setDbBackupConfig(DbBackupConfig value)
public DatabaseProperties.Builder setDbBackupConfig(DbBackupConfig value)Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
DbBackupConfig |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setDbBackupConfig(DbBackupConfig.Builder builderForValue)
public DatabaseProperties.Builder setDbBackupConfig(DbBackupConfig.Builder builderForValue)Optional. Backup options for the Database.
.google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DbBackupConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setDbVersion(String value)
public DatabaseProperties.Builder setDbVersion(String value)Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dbVersion to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
This builder for chaining. |
setDbVersionBytes(ByteString value)
public DatabaseProperties.Builder setDbVersionBytes(ByteString value)Required. The Oracle Database version.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dbVersion to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatabaseProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|
setState(DatabaseProperties.DatabaseLifecycleState value)
public DatabaseProperties.Builder setState(DatabaseProperties.DatabaseLifecycleState value)Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseProperties.DatabaseLifecycleStateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
This builder for chaining. |
setStateValue(int value)
public DatabaseProperties.Builder setStateValue(int value)Output only. State of the Database.
.google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DatabaseProperties.Builder |
|