Class DbServerProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DbServerProperties.Builder>
com.google.cloud.oracledatabase.v1.DbServerProperties.Builder
- All Implemented Interfaces:
DbServerPropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DbServerProperties
public static final class DbServerProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DbServerProperties.Builder>
implements DbServerPropertiesOrBuilder
Various properties and settings associated with Exadata database server.Protobuf type
google.cloud.oracledatabase.v1.DbServerProperties-
Method Summary
Modifier and TypeMethodDescriptionaddAllDbNodeIds(Iterable<String> values) Output only.addDbNodeIds(String value) Output only.addDbNodeIdsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Optional.Optional.Optional.Optional.Optional.Output only.Optional.Output only.Optional.getDbNodeIds(int index) Output only.com.google.protobuf.ByteStringgetDbNodeIdsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOptional.intOptional.intOptional.intOptional.getOcid()Output only.com.google.protobuf.ByteStringOutput only.intOptional.getState()Output only.intOutput only.intOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DbServerProperties other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDbNodeIds(int index, String value) Output only.setDbNodeStorageSizeGb(int value) Optional.setMaxDbNodeStorageSizeGb(int value) Optional.setMaxMemorySizeGb(int value) Optional.setMaxOcpuCount(int value) Optional.setMemorySizeGb(int value) Optional.Output only.setOcidBytes(com.google.protobuf.ByteString value) Output only.setOcpuCount(int value) Optional.setState(DbServerProperties.State value) Output only.setStateValue(int value) Output only.setVmCount(int value) Optional.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<DbServerProperties.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<DbServerProperties.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<DbServerProperties.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<DbServerProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DbServerProperties.Builder>
-
mergeFrom
public DbServerProperties.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<DbServerProperties.Builder>- Throws:
IOException
-
getOcid
Output only. OCID of database server.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOcidin interfaceDbServerPropertiesOrBuilder- Returns:
- The ocid.
-
getOcidBytes
public com.google.protobuf.ByteString getOcidBytes()Output only. OCID of database server.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOcidBytesin interfaceDbServerPropertiesOrBuilder- Returns:
- The bytes for ocid.
-
setOcid
Output only. OCID of database server.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The ocid to set.- Returns:
- This builder for chaining.
-
clearOcid
Output only. OCID of database server.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setOcidBytes
Output only. OCID of database server.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for ocid to set.- Returns:
- This builder for chaining.
-
getOcpuCount
public int getOcpuCount()Optional. OCPU count per database.
int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOcpuCountin interfaceDbServerPropertiesOrBuilder- Returns:
- The ocpuCount.
-
setOcpuCount
Optional. OCPU count per database.
int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The ocpuCount to set.- Returns:
- This builder for chaining.
-
clearOcpuCount
Optional. OCPU count per database.
int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMaxOcpuCount
public int getMaxOcpuCount()Optional. Maximum OCPU count per database.
int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxOcpuCountin interfaceDbServerPropertiesOrBuilder- Returns:
- The maxOcpuCount.
-
setMaxOcpuCount
Optional. Maximum OCPU count per database.
int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The maxOcpuCount to set.- Returns:
- This builder for chaining.
-
clearMaxOcpuCount
Optional. Maximum OCPU count per database.
int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMemorySizeGb
public int getMemorySizeGb()Optional. Memory allocated in GBs.
int32 memory_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMemorySizeGbin interfaceDbServerPropertiesOrBuilder- Returns:
- The memorySizeGb.
-
setMemorySizeGb
Optional. Memory allocated in GBs.
int32 memory_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The memorySizeGb to set.- Returns:
- This builder for chaining.
-
clearMemorySizeGb
Optional. Memory allocated in GBs.
int32 memory_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMaxMemorySizeGb
public int getMaxMemorySizeGb()Optional. Maximum memory allocated in GBs.
int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxMemorySizeGbin interfaceDbServerPropertiesOrBuilder- Returns:
- The maxMemorySizeGb.
-
setMaxMemorySizeGb
Optional. Maximum memory allocated in GBs.
int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The maxMemorySizeGb to set.- Returns:
- This builder for chaining.
-
clearMaxMemorySizeGb
Optional. Maximum memory allocated in GBs.
int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDbNodeStorageSizeGb
public int getDbNodeStorageSizeGb()Optional. Local storage per VM.
int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbNodeStorageSizeGbin interfaceDbServerPropertiesOrBuilder- Returns:
- The dbNodeStorageSizeGb.
-
setDbNodeStorageSizeGb
Optional. Local storage per VM.
int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The dbNodeStorageSizeGb to set.- Returns:
- This builder for chaining.
-
clearDbNodeStorageSizeGb
Optional. Local storage per VM.
int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMaxDbNodeStorageSizeGb
public int getMaxDbNodeStorageSizeGb()Optional. Maximum local storage per VM.
int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxDbNodeStorageSizeGbin interfaceDbServerPropertiesOrBuilder- Returns:
- The maxDbNodeStorageSizeGb.
-
setMaxDbNodeStorageSizeGb
Optional. Maximum local storage per VM.
int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The maxDbNodeStorageSizeGb to set.- Returns:
- This builder for chaining.
-
clearMaxDbNodeStorageSizeGb
Optional. Maximum local storage per VM.
int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getVmCount
public int getVmCount()Optional. Vm count per database.
int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVmCountin interfaceDbServerPropertiesOrBuilder- Returns:
- The vmCount.
-
setVmCount
Optional. Vm count per database.
int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The vmCount to set.- Returns:
- This builder for chaining.
-
clearVmCount
Optional. Vm count per database.
int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceDbServerPropertiesOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the database server.
.google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.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 server.
.google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDbServerPropertiesOrBuilder- Returns:
- The state.
-
setState
Output only. State of the database server.
.google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the database server.
.google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDbNodeIdsList
public com.google.protobuf.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];- Specified by:
getDbNodeIdsListin interfaceDbServerPropertiesOrBuilder- Returns:
- A list containing the dbNodeIds.
-
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];- Specified by:
getDbNodeIdsCountin interfaceDbServerPropertiesOrBuilder- Returns:
- The count of dbNodeIds.
-
getDbNodeIds
Output only. OCID of database nodes associated with the database server.
repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDbNodeIdsin interfaceDbServerPropertiesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dbNodeIds at the given index.
-
getDbNodeIdsBytes
public com.google.protobuf.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];- Specified by:
getDbNodeIdsBytesin interfaceDbServerPropertiesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dbNodeIds at the given index.
-
setDbNodeIds
Output only. OCID of database nodes associated with the database server.
repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The dbNodeIds to set.- Returns:
- This builder for chaining.
-
addDbNodeIds
Output only. OCID of database nodes associated with the database server.
repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The dbNodeIds to add.- Returns:
- This builder for chaining.
-
addAllDbNodeIds
Output only. OCID of database nodes associated with the database server.
repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The dbNodeIds to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addDbNodeIdsBytes
Output only. OCID of database nodes associated with the database server.
repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the dbNodeIds to add.- Returns:
- This builder for chaining.
-