public static final class DbServerProperties.Builder extends GeneratedMessageV3.Builder<DbServerProperties.Builder> implements DbServerPropertiesOrBuilderVarious properties and settings associated with Exadata database server.
 Protobuf type google.cloud.oracledatabase.v1.DbServerProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DbServerProperties.BuilderImplements
DbServerPropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllDbNodeIds(Iterable<String> values)
public DbServerProperties.Builder addAllDbNodeIds(Iterable<String> values)Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The dbNodeIds to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
addDbNodeIds(String value)
public DbServerProperties.Builder addDbNodeIds(String value)Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe dbNodeIds to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
addDbNodeIdsBytes(ByteString value)
public DbServerProperties.Builder addDbNodeIdsBytes(ByteString value)Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the dbNodeIds to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DbServerProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
build()
public DbServerProperties build()| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties | |
buildPartial()
public DbServerProperties buildPartial()| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties | |
clear()
public DbServerProperties.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
clearDbNodeIds()
public DbServerProperties.Builder clearDbNodeIds()Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearDbNodeStorageSizeGb()
public DbServerProperties.Builder clearDbNodeStorageSizeGb()Optional. Local storage per VM.
 int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public DbServerProperties.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
clearMaxDbNodeStorageSizeGb()
public DbServerProperties.Builder clearMaxDbNodeStorageSizeGb()Optional. Maximum local storage per VM.
 int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearMaxMemorySizeGb()
public DbServerProperties.Builder clearMaxMemorySizeGb()Optional. Maximum memory allocated in GBs.
 int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearMaxOcpuCount()
public DbServerProperties.Builder clearMaxOcpuCount()Optional. Maximum OCPU count per database.
 int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearMemorySizeGb()
public DbServerProperties.Builder clearMemorySizeGb()Optional. Memory allocated in GBs.
 int32 memory_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearOcid()
public DbServerProperties.Builder clearOcid()Output only. OCID of database server.
 string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearOcpuCount()
public DbServerProperties.Builder clearOcpuCount()Optional. OCPU count per database.
 int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public DbServerProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
clearState()
public DbServerProperties.Builder clearState()Output only. State of the database server.
 
 .google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clearVmCount()
public DbServerProperties.Builder clearVmCount()Optional. Vm count per database.
 int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
clone()
public DbServerProperties.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
getDbNodeIds(int index)
public String getDbNodeIds(int index)Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The dbNodeIds at the given index. | 
getDbNodeIdsBytes(int index)
public ByteString getDbNodeIdsBytes(int index)Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the dbNodeIds at the given index. | 
getDbNodeIdsCount()
public int getDbNodeIdsCount()Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| int | The count of dbNodeIds. | 
getDbNodeIdsList()
public ProtocolStringList getDbNodeIdsList()Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the dbNodeIds. | 
getDbNodeStorageSizeGb()
public int getDbNodeStorageSizeGb()Optional. Local storage per VM.
 int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The dbNodeStorageSizeGb. | 
getDefaultInstanceForType()
public DbServerProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getMaxDbNodeStorageSizeGb()
public int getMaxDbNodeStorageSizeGb()Optional. Maximum local storage per VM.
 int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The maxDbNodeStorageSizeGb. | 
getMaxMemorySizeGb()
public int getMaxMemorySizeGb()Optional. Maximum memory allocated in GBs.
 int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The maxMemorySizeGb. | 
getMaxOcpuCount()
public int getMaxOcpuCount()Optional. Maximum OCPU count per database.
 int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The maxOcpuCount. | 
getMemorySizeGb()
public int getMemorySizeGb()Optional. Memory allocated in GBs.
 int32 memory_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The memorySizeGb. | 
getOcid()
public String getOcid()Output only. OCID of database server.
 string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The ocid. | 
getOcidBytes()
public ByteString getOcidBytes()Output only. OCID of database server.
 string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for ocid. | 
getOcpuCount()
public int getOcpuCount()Optional. OCPU count per database.
 int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The ocpuCount. | 
getState()
public DbServerProperties.State getState()Output only. State of the database server.
 
 .google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.State | The state. | 
getStateValue()
public int getStateValue()Output only. State of the database server.
 
 .google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
getVmCount()
public int getVmCount()Optional. Vm count per database.
 int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The vmCount. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(DbServerProperties other)
public DbServerProperties.Builder mergeFrom(DbServerProperties other)| Parameter | |
|---|---|
| Name | Description | 
| other | DbServerProperties | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DbServerProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public DbServerProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DbServerProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
setDbNodeIds(int index, String value)
public DbServerProperties.Builder setDbNodeIds(int index, String value)Output only. OCID of database nodes associated with the database server.
 repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe dbNodeIds to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setDbNodeStorageSizeGb(int value)
public DbServerProperties.Builder setDbNodeStorageSizeGb(int value)Optional. Local storage per VM.
 int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe dbNodeStorageSizeGb to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public DbServerProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
setMaxDbNodeStorageSizeGb(int value)
public DbServerProperties.Builder setMaxDbNodeStorageSizeGb(int value)Optional. Maximum local storage per VM.
 int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe maxDbNodeStorageSizeGb to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setMaxMemorySizeGb(int value)
public DbServerProperties.Builder setMaxMemorySizeGb(int value)Optional. Maximum memory allocated in GBs.
 int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe maxMemorySizeGb to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setMaxOcpuCount(int value)
public DbServerProperties.Builder setMaxOcpuCount(int value)Optional. Maximum OCPU count per database.
 int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe maxOcpuCount to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setMemorySizeGb(int value)
public DbServerProperties.Builder setMemorySizeGb(int value)Optional. Memory allocated in GBs.
 int32 memory_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe memorySizeGb to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setOcid(String value)
public DbServerProperties.Builder setOcid(String value)Output only. OCID of database server.
 string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe ocid to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setOcidBytes(ByteString value)
public DbServerProperties.Builder setOcidBytes(ByteString value)Output only. OCID of database server.
 string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for ocid to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setOcpuCount(int value)
public DbServerProperties.Builder setOcpuCount(int value)Optional. OCPU count per database.
 int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe ocpuCount to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DbServerProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
setState(DbServerProperties.State value)
public DbServerProperties.Builder setState(DbServerProperties.State value)Output only. State of the database server.
 
 .google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | DbServerProperties.StateThe state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setStateValue(int value)
public DbServerProperties.Builder setStateValue(int value)Output only. State of the database server.
 
 .google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final DbServerProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | |
setVmCount(int value)
public DbServerProperties.Builder setVmCount(int value)Optional. Vm count per database.
 int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe vmCount to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DbServerProperties.Builder | This builder for chaining. |