public static final class DbHome.Builder extends GeneratedMessageV3.Builder<DbHome.Builder> implements DbHomeOrBuilderDetails of the Database Home resource.
Protobuf type google.cloud.oracledatabase.v1.DbHome
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DbHome.BuilderImplements
DbHomeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DbHome.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
build()
public DbHome build()| Returns | |
|---|---|
| Type | Description |
DbHome |
|
buildPartial()
public DbHome buildPartial()| Returns | |
|---|---|
| Type | Description |
DbHome |
|
clear()
public DbHome.Builder clear()| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
clearDatabase()
public DbHome.Builder clearDatabase()Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
clearDbVersion()
public DbHome.Builder clearDbVersion()Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
clearDisplayName()
public DbHome.Builder clearDisplayName()Optional. The display name for the Database Home. The name does not have to be unique within your project.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DbHome.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
clearIsUnifiedAuditingEnabled()
public DbHome.Builder clearIsUnifiedAuditingEnabled()Optional. Whether unified auditing is enabled for the Database Home.
bool is_unified_auditing_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DbHome.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
clone()
public DbHome.Builder clone()| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
getDatabase()
public Database getDatabase()Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Database |
The database. |
getDatabaseBuilder()
public Database.Builder getDatabaseBuilder()Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Database.Builder |
|
getDatabaseOrBuilder()
public DatabaseOrBuilder getDatabaseOrBuilder()Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseOrBuilder |
|
getDbVersion()
public String getDbVersion()Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The dbVersion. |
getDbVersionBytes()
public ByteString getDbVersionBytes()Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dbVersion. |
getDefaultInstanceForType()
public DbHome getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DbHome |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Optional. The display name for the Database Home. The name does not have to be unique within your project.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. The display name for the Database Home. The name does not have to be unique within your project.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getIsUnifiedAuditingEnabled()
public boolean getIsUnifiedAuditingEnabled()Optional. Whether unified auditing is enabled for the Database Home.
bool is_unified_auditing_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The isUnifiedAuditingEnabled. |
hasDatabase()
public boolean hasDatabase()Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the database field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDatabase(Database value)
public DbHome.Builder mergeDatabase(Database value)Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Database |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
mergeFrom(DbHome other)
public DbHome.Builder mergeFrom(DbHome other)| Parameter | |
|---|---|
| Name | Description |
other |
DbHome |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DbHome.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DbHome.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DbHome.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
setDatabase(Database value)
public DbHome.Builder setDatabase(Database value)Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Database |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
setDatabase(Database.Builder builderForValue)
public DbHome.Builder setDatabase(Database.Builder builderForValue)Required. The Database resource.
.google.cloud.oracledatabase.v1.Database database = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Database.Builder |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
setDbVersion(String value)
public DbHome.Builder setDbVersion(String value)Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dbVersion to set. |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
setDbVersionBytes(ByteString value)
public DbHome.Builder setDbVersionBytes(ByteString value)Required. A valid Oracle Database version. For a list of supported versions, use the ListDbVersions operation.
string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dbVersion to set. |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
setDisplayName(String value)
public DbHome.Builder setDisplayName(String value)Optional. The display name for the Database Home. The name does not have to be unique within your project.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DbHome.Builder setDisplayNameBytes(ByteString value)Optional. The display name for the Database Home. The name does not have to be unique within your project.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DbHome.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
setIsUnifiedAuditingEnabled(boolean value)
public DbHome.Builder setIsUnifiedAuditingEnabled(boolean value)Optional. Whether unified auditing is enabled for the Database Home.
bool is_unified_auditing_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe isUnifiedAuditingEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DbHome.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DbHome.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DbHome.Builder |
|