Class DbNodeProperties

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oracledatabase.v1.DbNodeProperties
All Implemented Interfaces:
DbNodePropertiesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DbNodeProperties extends com.google.protobuf.GeneratedMessage implements DbNodePropertiesOrBuilder
 Various properties and settings associated with Db node.
 
Protobuf type google.cloud.oracledatabase.v1.DbNodeProperties
See Also:
  • Field Details

    • OCID_FIELD_NUMBER

      public static final int OCID_FIELD_NUMBER
      See Also:
    • OCPU_COUNT_FIELD_NUMBER

      public static final int OCPU_COUNT_FIELD_NUMBER
      See Also:
    • MEMORY_SIZE_GB_FIELD_NUMBER

      public static final int MEMORY_SIZE_GB_FIELD_NUMBER
      See Also:
    • DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER

      public static final int DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER
      See Also:
    • DB_SERVER_OCID_FIELD_NUMBER

      public static final int DB_SERVER_OCID_FIELD_NUMBER
      See Also:
    • HOSTNAME_FIELD_NUMBER

      public static final int HOSTNAME_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • TOTAL_CPU_CORE_COUNT_FIELD_NUMBER

      public static final int TOTAL_CPU_CORE_COUNT_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getOcid

      public String getOcid()
       Output only. OCID of database node.
       
      string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOcid in interface DbNodePropertiesOrBuilder
      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:
      getOcidBytes in interface DbNodePropertiesOrBuilder
      Returns:
      The bytes for ocid.
    • getOcpuCount

      public int getOcpuCount()
       Optional. OCPU count per database node.
       
      int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOcpuCount in interface DbNodePropertiesOrBuilder
      Returns:
      The ocpuCount.
    • getMemorySizeGb

      public int getMemorySizeGb()
       Memory allocated in GBs.
       
      int32 memory_size_gb = 3;
      Specified by:
      getMemorySizeGb in interface DbNodePropertiesOrBuilder
      Returns:
      The memorySizeGb.
    • getDbNodeStorageSizeGb

      public int getDbNodeStorageSizeGb()
       Optional. Local storage per database node.
       
      int32 db_node_storage_size_gb = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbNodeStorageSizeGb in interface DbNodePropertiesOrBuilder
      Returns:
      The dbNodeStorageSizeGb.
    • getDbServerOcid

      public String getDbServerOcid()
       Optional. Database server OCID.
       
      string db_server_ocid = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbServerOcid in interface DbNodePropertiesOrBuilder
      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:
      getDbServerOcidBytes in interface DbNodePropertiesOrBuilder
      Returns:
      The bytes for dbServerOcid.
    • getHostname

      public String getHostname()
       Optional. DNS
       
      string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHostname in interface DbNodePropertiesOrBuilder
      Returns:
      The hostname.
    • getHostnameBytes

      public com.google.protobuf.ByteString getHostnameBytes()
       Optional. DNS
       
      string hostname = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHostnameBytes in interface DbNodePropertiesOrBuilder
      Returns:
      The bytes for hostname.
    • 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:
      getStateValue in interface DbNodePropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public DbNodeProperties.State getState()
       Output only. State of the database node.
       
      .google.cloud.oracledatabase.v1.DbNodeProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface DbNodePropertiesOrBuilder
      Returns:
      The state.
    • getTotalCpuCoreCount

      public int getTotalCpuCoreCount()
       Total CPU core count of the database node.
       
      int32 total_cpu_core_count = 10;
      Specified by:
      getTotalCpuCoreCount in interface DbNodePropertiesOrBuilder
      Returns:
      The totalCpuCoreCount.
    • 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:
      hasCreateTime in interface DbNodePropertiesOrBuilder
      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:
      getCreateTime in interface DbNodePropertiesOrBuilder
      Returns:
      The createTime.
    • 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:
      getCreateTimeOrBuilder in interface DbNodePropertiesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DbNodeProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DbNodeProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DbNodeProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DbNodeProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DbNodeProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DbNodeProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DbNodeProperties parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DbNodeProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DbNodeProperties parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DbNodeProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DbNodeProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DbNodeProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DbNodeProperties.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DbNodeProperties.Builder newBuilder()
    • newBuilder

      public static DbNodeProperties.Builder newBuilder(DbNodeProperties prototype)
    • toBuilder

      public DbNodeProperties.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DbNodeProperties.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DbNodeProperties getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DbNodeProperties> parser()
    • getParserForType

      public com.google.protobuf.Parser<DbNodeProperties> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DbNodeProperties getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder