Class DbSystem

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

@Generated public final class DbSystem extends com.google.protobuf.GeneratedMessage implements DbSystemOrBuilder
 Details of the DbSystem (BaseDB) resource.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystem/
 
Protobuf type google.cloud.oracledatabase.v1.DbSystem
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PROPERTIES_FIELD_NUMBER

      public static final int PROPERTIES_FIELD_NUMBER
      See Also:
    • GCP_ORACLE_ZONE_FIELD_NUMBER

      public static final int GCP_ORACLE_ZONE_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • ODB_NETWORK_FIELD_NUMBER

      public static final int ODB_NETWORK_FIELD_NUMBER
      See Also:
    • ODB_SUBNET_FIELD_NUMBER

      public static final int ODB_SUBNET_FIELD_NUMBER
      See Also:
    • ENTITLEMENT_ID_FIELD_NUMBER

      public static final int ENTITLEMENT_ID_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • OCI_URL_FIELD_NUMBER

      public static final int OCI_URL_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

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

      public String getName()
       Identifier. The name of the DbSystem resource in the following format:
       projects/{project}/locations/{region}/dbSystems/{db_system}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DbSystemOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the DbSystem resource in the following format:
       projects/{project}/locations/{region}/dbSystems/{db_system}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for name.
    • hasProperties

      public boolean hasProperties()
       Optional. The properties of the DbSystem.
       
      .google.cloud.oracledatabase.v1.DbSystemProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProperties in interface DbSystemOrBuilder
      Returns:
      Whether the properties field is set.
    • getProperties

      public DbSystemProperties getProperties()
       Optional. The properties of the DbSystem.
       
      .google.cloud.oracledatabase.v1.DbSystemProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProperties in interface DbSystemOrBuilder
      Returns:
      The properties.
    • getPropertiesOrBuilder

      public DbSystemPropertiesOrBuilder getPropertiesOrBuilder()
       Optional. The properties of the DbSystem.
       
      .google.cloud.oracledatabase.v1.DbSystemProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrBuilder in interface DbSystemOrBuilder
    • getGcpOracleZone

      public String getGcpOracleZone()
       Optional. The GCP Oracle zone where Oracle DbSystem is hosted.
       Example: us-east4-b-r2.
       If not specified, the system will pick a zone based on availability.
       
      string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpOracleZone in interface DbSystemOrBuilder
      Returns:
      The gcpOracleZone.
    • getGcpOracleZoneBytes

      public com.google.protobuf.ByteString getGcpOracleZoneBytes()
       Optional. The GCP Oracle zone where Oracle DbSystem is hosted.
       Example: us-east4-b-r2.
       If not specified, the system will pick a zone based on availability.
       
      string gcp_oracle_zone = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGcpOracleZoneBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for gcpOracleZone.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DbSystemOrBuilder
       Optional. The labels or tags associated with the DbSystem.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DbSystemOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels or tags associated with the DbSystem.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface DbSystemOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DbSystemOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels or tags associated with the DbSystem.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface DbSystemOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels or tags associated with the DbSystem.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface DbSystemOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels or tags associated with the DbSystem.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface DbSystemOrBuilder
    • getOdbNetwork

      public String getOdbNetwork()
       Optional. The name of the OdbNetwork associated with the DbSystem.
       Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}
       It is optional but if specified, this should match the parent ODBNetwork of
       the OdbSubnet.
       
      string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbNetwork in interface DbSystemOrBuilder
      Returns:
      The odbNetwork.
    • getOdbNetworkBytes

      public com.google.protobuf.ByteString getOdbNetworkBytes()
       Optional. The name of the OdbNetwork associated with the DbSystem.
       Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}
       It is optional but if specified, this should match the parent ODBNetwork of
       the OdbSubnet.
       
      string odb_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbNetworkBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for odbNetwork.
    • getOdbSubnet

      public String getOdbSubnet()
       Required. The name of the OdbSubnet associated with the DbSystem for IP
       allocation. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbSubnet in interface DbSystemOrBuilder
      Returns:
      The odbSubnet.
    • getOdbSubnetBytes

      public com.google.protobuf.ByteString getOdbSubnetBytes()
       Required. The name of the OdbSubnet associated with the DbSystem for IP
       allocation. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbSubnetBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for odbSubnet.
    • getEntitlementId

      public String getEntitlementId()
       Output only. The ID of the subscription entitlement associated with the
       DbSystem
       
      string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEntitlementId in interface DbSystemOrBuilder
      Returns:
      The entitlementId.
    • getEntitlementIdBytes

      public com.google.protobuf.ByteString getEntitlementIdBytes()
       Output only. The ID of the subscription entitlement associated with the
       DbSystem
       
      string entitlement_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEntitlementIdBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for entitlementId.
    • getDisplayName

      public String getDisplayName()
       Required. The display name for the System db. The name does not have to
       be unique within your project.
       
      string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DbSystemOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name for the System db. The name does not have to
       be unique within your project.
       
      string display_name = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for displayName.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The date and time that the DbSystem was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DbSystemOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The date and time that the DbSystem was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DbSystemOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The date and time that the DbSystem was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DbSystemOrBuilder
    • getOciUrl

      public String getOciUrl()
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciUrl in interface DbSystemOrBuilder
      Returns:
      The ociUrl.
    • getOciUrlBytes

      public com.google.protobuf.ByteString getOciUrlBytes()
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciUrlBytes in interface DbSystemOrBuilder
      Returns:
      The bytes for ociUrl.
    • 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 DbSystem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DbSystem.Builder newBuilder()
    • newBuilder

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

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

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

      public static DbSystem getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DbSystem> 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 DbSystem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder