public static final class DbSystemShape.Builder extends GeneratedMessageV3.Builder<DbSystemShape.Builder> implements DbSystemShapeOrBuilderDetails of the Database System Shapes resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary/
Protobuf type google.cloud.oracledatabase.v1.DbSystemShape
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DbSystemShape.BuilderImplements
DbSystemShapeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DbSystemShape.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
build()
public DbSystemShape build()| Returns | |
|---|---|
| Type | Description |
DbSystemShape |
|
buildPartial()
public DbSystemShape buildPartial()| Returns | |
|---|---|
| Type | Description |
DbSystemShape |
|
clear()
public DbSystemShape.Builder clear()| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
clearAvailableCoreCountPerNode()
public DbSystemShape.Builder clearAvailableCoreCountPerNode()Optional. Number of cores per node.
int32 available_core_count_per_node = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearAvailableDataStorageTb()
public DbSystemShape.Builder clearAvailableDataStorageTb()Optional. Storage per storage server in terabytes.
int32 available_data_storage_tb = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearAvailableMemoryPerNodeGb()
public DbSystemShape.Builder clearAvailableMemoryPerNodeGb()Optional. Memory per database server node in gigabytes.
int32 available_memory_per_node_gb = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DbSystemShape.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
clearMaxNodeCount()
public DbSystemShape.Builder clearMaxNodeCount()Optional. Maximum number of database servers.
int32 max_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearMaxStorageCount()
public DbSystemShape.Builder clearMaxStorageCount()Optional. Maximum number of storage servers.
int32 max_storage_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearMinCoreCountPerNode()
public DbSystemShape.Builder clearMinCoreCountPerNode()Optional. Minimum core count per node.
int32 min_core_count_per_node = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearMinDbNodeStoragePerNodeGb()
public DbSystemShape.Builder clearMinDbNodeStoragePerNodeGb()Optional. Minimum node storage per database server in gigabytes.
int32 min_db_node_storage_per_node_gb = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearMinMemoryPerNodeGb()
public DbSystemShape.Builder clearMinMemoryPerNodeGb()Optional. Minimum memory per node in gigabytes.
int32 min_memory_per_node_gb = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearMinNodeCount()
public DbSystemShape.Builder clearMinNodeCount()Optional. Minimum number of database servers.
int32 min_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearMinStorageCount()
public DbSystemShape.Builder clearMinStorageCount()Optional. Minimum number of storage servers.
int32 min_storage_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearName()
public DbSystemShape.Builder clearName()Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DbSystemShape.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
clearShape()
public DbSystemShape.Builder clearShape()Optional. shape
string shape = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
clone()
public DbSystemShape.Builder clone()| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
getAvailableCoreCountPerNode()
public int getAvailableCoreCountPerNode()Optional. Number of cores per node.
int32 available_core_count_per_node = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The availableCoreCountPerNode. |
getAvailableDataStorageTb()
public int getAvailableDataStorageTb()Optional. Storage per storage server in terabytes.
int32 available_data_storage_tb = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The availableDataStorageTb. |
getAvailableMemoryPerNodeGb()
public int getAvailableMemoryPerNodeGb()Optional. Memory per database server node in gigabytes.
int32 available_memory_per_node_gb = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The availableMemoryPerNodeGb. |
getDefaultInstanceForType()
public DbSystemShape getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DbSystemShape |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMaxNodeCount()
public int getMaxNodeCount()Optional. Maximum number of database servers.
int32 max_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The maxNodeCount. |
getMaxStorageCount()
public int getMaxStorageCount()Optional. Maximum number of storage servers.
int32 max_storage_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The maxStorageCount. |
getMinCoreCountPerNode()
public int getMinCoreCountPerNode()Optional. Minimum core count per node.
int32 min_core_count_per_node = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minCoreCountPerNode. |
getMinDbNodeStoragePerNodeGb()
public int getMinDbNodeStoragePerNodeGb()Optional. Minimum node storage per database server in gigabytes.
int32 min_db_node_storage_per_node_gb = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minDbNodeStoragePerNodeGb. |
getMinMemoryPerNodeGb()
public int getMinMemoryPerNodeGb()Optional. Minimum memory per node in gigabytes.
int32 min_memory_per_node_gb = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minMemoryPerNodeGb. |
getMinNodeCount()
public int getMinNodeCount()Optional. Minimum number of database servers.
int32 min_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minNodeCount. |
getMinStorageCount()
public int getMinStorageCount()Optional. Minimum number of storage servers.
int32 min_storage_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minStorageCount. |
getName()
public String getName()Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getShape()
public String getShape()Optional. shape
string shape = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The shape. |
getShapeBytes()
public ByteString getShapeBytes()Optional. shape
string shape = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for shape. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DbSystemShape other)
public DbSystemShape.Builder mergeFrom(DbSystemShape other)| Parameter | |
|---|---|
| Name | Description |
other |
DbSystemShape |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DbSystemShape.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DbSystemShape.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DbSystemShape.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
setAvailableCoreCountPerNode(int value)
public DbSystemShape.Builder setAvailableCoreCountPerNode(int value)Optional. Number of cores per node.
int32 available_core_count_per_node = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe availableCoreCountPerNode to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setAvailableDataStorageTb(int value)
public DbSystemShape.Builder setAvailableDataStorageTb(int value)Optional. Storage per storage server in terabytes.
int32 available_data_storage_tb = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe availableDataStorageTb to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setAvailableMemoryPerNodeGb(int value)
public DbSystemShape.Builder setAvailableMemoryPerNodeGb(int value)Optional. Memory per database server node in gigabytes.
int32 available_memory_per_node_gb = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe availableMemoryPerNodeGb to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DbSystemShape.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
setMaxNodeCount(int value)
public DbSystemShape.Builder setMaxNodeCount(int value)Optional. Maximum number of database servers.
int32 max_node_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxNodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setMaxStorageCount(int value)
public DbSystemShape.Builder setMaxStorageCount(int value)Optional. Maximum number of storage servers.
int32 max_storage_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxStorageCount to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setMinCoreCountPerNode(int value)
public DbSystemShape.Builder setMinCoreCountPerNode(int value)Optional. Minimum core count per node.
int32 min_core_count_per_node = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minCoreCountPerNode to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setMinDbNodeStoragePerNodeGb(int value)
public DbSystemShape.Builder setMinDbNodeStoragePerNodeGb(int value)Optional. Minimum node storage per database server in gigabytes.
int32 min_db_node_storage_per_node_gb = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minDbNodeStoragePerNodeGb to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setMinMemoryPerNodeGb(int value)
public DbSystemShape.Builder setMinMemoryPerNodeGb(int value)Optional. Minimum memory per node in gigabytes.
int32 min_memory_per_node_gb = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minMemoryPerNodeGb to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setMinNodeCount(int value)
public DbSystemShape.Builder setMinNodeCount(int value)Optional. Minimum number of database servers.
int32 min_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minNodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setMinStorageCount(int value)
public DbSystemShape.Builder setMinStorageCount(int value)Optional. Minimum number of storage servers.
int32 min_storage_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minStorageCount to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setName(String value)
public DbSystemShape.Builder setName(String value)Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DbSystemShape.Builder setNameBytes(ByteString value)Identifier. The name of the Database System Shape resource with the format: projects/{project}/locations/{region}/dbSystemShapes/{db_system_shape}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DbSystemShape.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|
setShape(String value)
public DbSystemShape.Builder setShape(String value)Optional. shape
string shape = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe shape to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setShapeBytes(ByteString value)
public DbSystemShape.Builder setShapeBytes(ByteString value)Optional. shape
string shape = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for shape to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DbSystemShape.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DbSystemShape.Builder |
|