Class PluggableDatabaseProperties

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

@Generated public final class PluggableDatabaseProperties extends com.google.protobuf.GeneratedMessage implements PluggableDatabasePropertiesOrBuilder
 The properties of a PluggableDatabase.
 
Protobuf type google.cloud.oracledatabase.v1.PluggableDatabaseProperties
See Also:
  • Field Details

    • COMPARTMENT_ID_FIELD_NUMBER

      public static final int COMPARTMENT_ID_FIELD_NUMBER
      See Also:
    • CONNECTION_STRINGS_FIELD_NUMBER

      public static final int CONNECTION_STRINGS_FIELD_NUMBER
      See Also:
    • CONTAINER_DATABASE_OCID_FIELD_NUMBER

      public static final int CONTAINER_DATABASE_OCID_FIELD_NUMBER
      See Also:
    • DEFINED_TAGS_FIELD_NUMBER

      public static final int DEFINED_TAGS_FIELD_NUMBER
      See Also:
    • FREEFORM_TAGS_FIELD_NUMBER

      public static final int FREEFORM_TAGS_FIELD_NUMBER
      See Also:
    • OCID_FIELD_NUMBER

      public static final int OCID_FIELD_NUMBER
      See Also:
    • IS_RESTRICTED_FIELD_NUMBER

      public static final int IS_RESTRICTED_FIELD_NUMBER
      See Also:
    • LIFECYCLE_DETAILS_FIELD_NUMBER

      public static final int LIFECYCLE_DETAILS_FIELD_NUMBER
      See Also:
    • LIFECYCLE_STATE_FIELD_NUMBER

      public static final int LIFECYCLE_STATE_FIELD_NUMBER
      See Also:
    • PDB_NAME_FIELD_NUMBER

      public static final int PDB_NAME_FIELD_NUMBER
      See Also:
    • PDB_NODE_LEVEL_DETAILS_FIELD_NUMBER

      public static final int PDB_NODE_LEVEL_DETAILS_FIELD_NUMBER
      See Also:
    • DATABASE_MANAGEMENT_CONFIG_FIELD_NUMBER

      public static final int DATABASE_MANAGEMENT_CONFIG_FIELD_NUMBER
      See Also:
    • OPERATIONS_INSIGHTS_STATE_FIELD_NUMBER

      public static final int OPERATIONS_INSIGHTS_STATE_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
    • getCompartmentId

      public String getCompartmentId()
       Required. The OCID of the compartment.
       
      string compartment_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCompartmentId in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The compartmentId.
    • getCompartmentIdBytes

      public com.google.protobuf.ByteString getCompartmentIdBytes()
       Required. The OCID of the compartment.
       
      string compartment_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCompartmentIdBytes in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The bytes for compartmentId.
    • hasConnectionStrings

      public boolean hasConnectionStrings()
       Optional. The Connection strings used to connect to the Oracle Database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings connection_strings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConnectionStrings in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      Whether the connectionStrings field is set.
    • getConnectionStrings

      public PluggableDatabaseConnectionStrings getConnectionStrings()
       Optional. The Connection strings used to connect to the Oracle Database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings connection_strings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionStrings in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The connectionStrings.
    • getConnectionStringsOrBuilder

      public PluggableDatabaseConnectionStringsOrBuilder getConnectionStringsOrBuilder()
       Optional. The Connection strings used to connect to the Oracle Database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings connection_strings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionStringsOrBuilder in interface PluggableDatabasePropertiesOrBuilder
    • getContainerDatabaseOcid

      public String getContainerDatabaseOcid()
       Required. The OCID of the CDB.
       
      string container_database_ocid = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContainerDatabaseOcid in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The containerDatabaseOcid.
    • getContainerDatabaseOcidBytes

      public com.google.protobuf.ByteString getContainerDatabaseOcidBytes()
       Required. The OCID of the CDB.
       
      string container_database_ocid = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getContainerDatabaseOcidBytes in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The bytes for containerDatabaseOcid.
    • getDefinedTagsCount

      public int getDefinedTagsCount()
      Description copied from interface: PluggableDatabasePropertiesOrBuilder
       Optional. Defined tags for this resource. Each key is predefined and scoped
       to a namespace.
       
      map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefinedTagsCount in interface PluggableDatabasePropertiesOrBuilder
    • containsDefinedTags

      public boolean containsDefinedTags(String key)
       Optional. Defined tags for this resource. Each key is predefined and scoped
       to a namespace.
       
      map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsDefinedTags in interface PluggableDatabasePropertiesOrBuilder
    • getDefinedTags

      Deprecated.
      Use getDefinedTagsMap() instead.
      Specified by:
      getDefinedTags in interface PluggableDatabasePropertiesOrBuilder
    • getDefinedTagsMap

       Optional. Defined tags for this resource. Each key is predefined and scoped
       to a namespace.
       
      map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefinedTagsMap in interface PluggableDatabasePropertiesOrBuilder
    • getDefinedTagsOrDefault

       Optional. Defined tags for this resource. Each key is predefined and scoped
       to a namespace.
       
      map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefinedTagsOrDefault in interface PluggableDatabasePropertiesOrBuilder
    • getDefinedTagsOrThrow

      public PluggableDatabaseProperties.DefinedTagValue getDefinedTagsOrThrow(String key)
       Optional. Defined tags for this resource. Each key is predefined and scoped
       to a namespace.
       
      map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefinedTagsOrThrow in interface PluggableDatabasePropertiesOrBuilder
    • getFreeformTagsCount

      public int getFreeformTagsCount()
      Description copied from interface: PluggableDatabasePropertiesOrBuilder
       Optional. Free-form tags for this resource. Each tag is a simple key-value
       pair with no predefined name, type, or namespace.
       
      map<string, string> freeform_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeformTagsCount in interface PluggableDatabasePropertiesOrBuilder
    • containsFreeformTags

      public boolean containsFreeformTags(String key)
       Optional. Free-form tags for this resource. Each tag is a simple key-value
       pair with no predefined name, type, or namespace.
       
      map<string, string> freeform_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsFreeformTags in interface PluggableDatabasePropertiesOrBuilder
    • getFreeformTags

      @Deprecated public Map<String,String> getFreeformTags()
      Deprecated.
      Specified by:
      getFreeformTags in interface PluggableDatabasePropertiesOrBuilder
    • getFreeformTagsMap

      public Map<String,String> getFreeformTagsMap()
       Optional. Free-form tags for this resource. Each tag is a simple key-value
       pair with no predefined name, type, or namespace.
       
      map<string, string> freeform_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeformTagsMap in interface PluggableDatabasePropertiesOrBuilder
    • getFreeformTagsOrDefault

      public String getFreeformTagsOrDefault(String key, String defaultValue)
       Optional. Free-form tags for this resource. Each tag is a simple key-value
       pair with no predefined name, type, or namespace.
       
      map<string, string> freeform_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeformTagsOrDefault in interface PluggableDatabasePropertiesOrBuilder
    • getFreeformTagsOrThrow

      public String getFreeformTagsOrThrow(String key)
       Optional. Free-form tags for this resource. Each tag is a simple key-value
       pair with no predefined name, type, or namespace.
       
      map<string, string> freeform_tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeformTagsOrThrow in interface PluggableDatabasePropertiesOrBuilder
    • getOcid

      public String getOcid()
       Output only. The OCID of the pluggable database.
       
      string ocid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOcid in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The ocid.
    • getOcidBytes

      public com.google.protobuf.ByteString getOcidBytes()
       Output only. The OCID of the pluggable database.
       
      string ocid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOcidBytes in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The bytes for ocid.
    • getIsRestricted

      public boolean getIsRestricted()
       Optional. The restricted mode of the pluggable database. If a pluggable
       database is opened in restricted mode, the user needs both create a session
       and have restricted session privileges to connect to it.
       
      bool is_restricted = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsRestricted in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The isRestricted.
    • getLifecycleDetails

      public String getLifecycleDetails()
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleDetails in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The lifecycleDetails.
    • getLifecycleDetailsBytes

      public com.google.protobuf.ByteString getLifecycleDetailsBytes()
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleDetailsBytes in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The bytes for lifecycleDetails.
    • getLifecycleStateValue

      public int getLifecycleStateValue()
       Output only. The current state of the pluggable database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.PluggableDatabaseLifecycleState lifecycle_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleStateValue in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for lifecycleState.
    • getLifecycleState

       Output only. The current state of the pluggable database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.PluggableDatabaseLifecycleState lifecycle_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleState in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The lifecycleState.
    • getPdbName

      public String getPdbName()
       Required. The database name.
       
      string pdb_name = 10 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPdbName in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The pdbName.
    • getPdbNameBytes

      public com.google.protobuf.ByteString getPdbNameBytes()
       Required. The database name.
       
      string pdb_name = 10 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPdbNameBytes in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The bytes for pdbName.
    • getPdbNodeLevelDetailsList

      public List<PluggableDatabaseNodeLevelDetails> getPdbNodeLevelDetailsList()
       Optional. Pluggable Database Node Level Details
       
      repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPdbNodeLevelDetailsList in interface PluggableDatabasePropertiesOrBuilder
    • getPdbNodeLevelDetailsOrBuilderList

      public List<? extends PluggableDatabaseNodeLevelDetailsOrBuilder> getPdbNodeLevelDetailsOrBuilderList()
       Optional. Pluggable Database Node Level Details
       
      repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPdbNodeLevelDetailsOrBuilderList in interface PluggableDatabasePropertiesOrBuilder
    • getPdbNodeLevelDetailsCount

      public int getPdbNodeLevelDetailsCount()
       Optional. Pluggable Database Node Level Details
       
      repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPdbNodeLevelDetailsCount in interface PluggableDatabasePropertiesOrBuilder
    • getPdbNodeLevelDetails

      public PluggableDatabaseNodeLevelDetails getPdbNodeLevelDetails(int index)
       Optional. Pluggable Database Node Level Details
       
      repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPdbNodeLevelDetails in interface PluggableDatabasePropertiesOrBuilder
    • getPdbNodeLevelDetailsOrBuilder

      public PluggableDatabaseNodeLevelDetailsOrBuilder getPdbNodeLevelDetailsOrBuilder(int index)
       Optional. Pluggable Database Node Level Details
       
      repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPdbNodeLevelDetailsOrBuilder in interface PluggableDatabasePropertiesOrBuilder
    • hasDatabaseManagementConfig

      public boolean hasDatabaseManagementConfig()
       Output only. The configuration of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDatabaseManagementConfig in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      Whether the databaseManagementConfig field is set.
    • getDatabaseManagementConfig

      public DatabaseManagementConfig getDatabaseManagementConfig()
       Output only. The configuration of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatabaseManagementConfig in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The databaseManagementConfig.
    • getDatabaseManagementConfigOrBuilder

      public DatabaseManagementConfigOrBuilder getDatabaseManagementConfigOrBuilder()
       Output only. The configuration of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatabaseManagementConfigOrBuilder in interface PluggableDatabasePropertiesOrBuilder
    • getOperationsInsightsStateValue

      public int getOperationsInsightsStateValue()
       Output only. The status of Operations Insights for this Database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.OperationsInsightsState operations_insights_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOperationsInsightsStateValue in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for operationsInsightsState.
    • getOperationsInsightsState

      public PluggableDatabaseProperties.OperationsInsightsState getOperationsInsightsState()
       Output only. The status of Operations Insights for this Database.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.OperationsInsightsState operations_insights_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOperationsInsightsState in interface PluggableDatabasePropertiesOrBuilder
      Returns:
      The operationsInsightsState.
    • 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 PluggableDatabaseProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static PluggableDatabaseProperties.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static PluggableDatabaseProperties getDefaultInstance()
    • parser

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

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