Class DbNodeProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DbNodeProperties.Builder>
com.google.cloud.oracledatabase.v1.DbNodeProperties.Builder
- All Implemented Interfaces:
DbNodePropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DbNodeProperties
public static final class DbNodeProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DbNodeProperties.Builder>
implements DbNodePropertiesOrBuilder
Various properties and settings associated with Db node.Protobuf type
google.cloud.oracledatabase.v1.DbNodeProperties-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Optional.Optional.Memory allocated in GBs.Output only.Optional.Output only.Total CPU core count of the database node.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOptional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.intMemory allocated in GBs.getOcid()Output only.com.google.protobuf.ByteStringOutput only.intOptional.getState()Output only.intOutput only.intTotal CPU core count of the database node.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(DbNodeProperties other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDbNodeStorageSizeGb(int value) Optional.setDbServerOcid(String value) Optional.setDbServerOcidBytes(com.google.protobuf.ByteString value) Optional.setHostname(String value) Optional.setHostnameBytes(com.google.protobuf.ByteString value) Optional.setMemorySizeGb(int value) Memory allocated in GBs.Output only.setOcidBytes(com.google.protobuf.ByteString value) Output only.setOcpuCount(int value) Optional.setState(DbNodeProperties.State value) Output only.setStateValue(int value) Output only.setTotalCpuCoreCount(int value) Total CPU core count of the database node.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<DbNodeProperties.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<DbNodeProperties.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<DbNodeProperties.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<DbNodeProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DbNodeProperties.Builder>
-
mergeFrom
public DbNodeProperties.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<DbNodeProperties.Builder>- Throws:
IOException
-
getOcid
Output only. OCID of database node.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOcidin interfaceDbNodePropertiesOrBuilder- Returns:
- The ocid.
-
getOcidBytes
public com.google.protobuf.ByteString getOcidBytes()Output only. OCID of database node.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOcidBytesin interfaceDbNodePropertiesOrBuilder- Returns:
- The bytes for ocid.
-
setOcid
Output only. OCID of database node.
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 node.
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setOcidBytes
Output only. OCID of database node.
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 node.
int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOcpuCountin interfaceDbNodePropertiesOrBuilder- Returns:
- The ocpuCount.
-
setOcpuCount
Optional. OCPU count per database node.
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 node.
int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMemorySizeGb
public int getMemorySizeGb()Memory allocated in GBs.
int32 memory_size_gb = 3;- Specified by:
getMemorySizeGbin interfaceDbNodePropertiesOrBuilder- Returns:
- The memorySizeGb.
-
setMemorySizeGb
Memory allocated in GBs.
int32 memory_size_gb = 3;- Parameters:
value- The memorySizeGb to set.- Returns:
- This builder for chaining.
-
clearMemorySizeGb
Memory allocated in GBs.
int32 memory_size_gb = 3;- Returns:
- This builder for chaining.
-
getDbNodeStorageSizeGb
public int getDbNodeStorageSizeGb()Optional. Local storage per database node.
int32 db_node_storage_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbNodeStorageSizeGbin interfaceDbNodePropertiesOrBuilder- Returns:
- The dbNodeStorageSizeGb.
-
setDbNodeStorageSizeGb
Optional. Local storage per database node.
int32 db_node_storage_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The dbNodeStorageSizeGb to set.- Returns:
- This builder for chaining.
-
clearDbNodeStorageSizeGb
Optional. Local storage per database node.
int32 db_node_storage_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDbServerOcid
Optional. Database server OCID.
string db_server_ocid = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbServerOcidin interfaceDbNodePropertiesOrBuilder- Returns:
- The dbServerOcid.
-
getDbServerOcidBytes
public com.google.protobuf.ByteString getDbServerOcidBytes()Optional. Database server OCID.
string db_server_ocid = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDbServerOcidBytesin interfaceDbNodePropertiesOrBuilder- Returns:
- The bytes for dbServerOcid.
-
setDbServerOcid
Optional. Database server OCID.
string db_server_ocid = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The dbServerOcid to set.- Returns:
- This builder for chaining.
-
clearDbServerOcid
Optional. Database server OCID.
string db_server_ocid = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDbServerOcidBytes
Optional. Database server OCID.
string db_server_ocid = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for dbServerOcid to set.- Returns:
- This builder for chaining.
-
getHostname
Optional. DNS
string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostnamein interfaceDbNodePropertiesOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()Optional. DNS
string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostnameBytesin interfaceDbNodePropertiesOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
Optional. DNS
string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
Optional. DNS
string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setHostnameBytes
Optional. DNS
string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the database node.
.google.cloud.oracledatabase.v1.DbNodeProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDbNodePropertiesOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the database node.
.google.cloud.oracledatabase.v1.DbNodeProperties.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 node.
.google.cloud.oracledatabase.v1.DbNodeProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDbNodePropertiesOrBuilder- Returns:
- The state.
-
setState
Output only. State of the database node.
.google.cloud.oracledatabase.v1.DbNodeProperties.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 node.
.google.cloud.oracledatabase.v1.DbNodeProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTotalCpuCoreCount
public int getTotalCpuCoreCount()Total CPU core count of the database node.
int32 total_cpu_core_count = 10;- Specified by:
getTotalCpuCoreCountin interfaceDbNodePropertiesOrBuilder- Returns:
- The totalCpuCoreCount.
-
setTotalCpuCoreCount
Total CPU core count of the database node.
int32 total_cpu_core_count = 10;- Parameters:
value- The totalCpuCoreCount to set.- Returns:
- This builder for chaining.
-
clearTotalCpuCoreCount
Total CPU core count of the database node.
int32 total_cpu_core_count = 10;- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDbNodePropertiesOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDbNodePropertiesOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public DbNodeProperties.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The date and time that the database node was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDbNodePropertiesOrBuilder
-