Class PluggableDatabase.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PluggableDatabase.Builder>
com.google.cloud.oracledatabase.v1.PluggableDatabase.Builder
All Implemented Interfaces:
PluggableDatabaseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PluggableDatabase

public static final class PluggableDatabase.Builder extends com.google.protobuf.GeneratedMessage.Builder<PluggableDatabase.Builder> implements PluggableDatabaseOrBuilder
 The PluggableDatabase resource.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/PluggableDatabase/
 
Protobuf type google.cloud.oracledatabase.v1.PluggableDatabase
  • 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.Builder<PluggableDatabase.Builder>
    • clear

      public PluggableDatabase.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PluggableDatabase.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PluggableDatabase.Builder>
    • getDefaultInstanceForType

      public PluggableDatabase getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PluggableDatabase build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PluggableDatabase buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PluggableDatabase.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluggableDatabase.Builder>
    • mergeFrom

      public PluggableDatabase.Builder mergeFrom(PluggableDatabase other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PluggableDatabase.Builder>
    • mergeFrom

      public PluggableDatabase.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluggableDatabase.Builder>
      Throws:
      IOException
    • getName

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

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

      public PluggableDatabase.Builder setName(String value)
       Identifier. The name of the PluggableDatabase resource in the following
       format:
       projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public PluggableDatabase.Builder clearName()
       Identifier. The name of the PluggableDatabase resource in the following
       format:
       projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public PluggableDatabase.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the PluggableDatabase resource in the following
       format:
       projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasProperties

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

      public PluggableDatabaseProperties getProperties()
       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProperties in interface PluggableDatabaseOrBuilder
      Returns:
      The properties.
    • setProperties

       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setProperties

      public PluggableDatabase.Builder setProperties(PluggableDatabaseProperties.Builder builderForValue)
       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProperties

       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearProperties

      public PluggableDatabase.Builder clearProperties()
       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertiesBuilder

      public PluggableDatabaseProperties.Builder getPropertiesBuilder()
       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertiesOrBuilder

      public PluggableDatabasePropertiesOrBuilder getPropertiesOrBuilder()
       Optional. The properties of the PluggableDatabase.
       
      .google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrBuilder in interface PluggableDatabaseOrBuilder
    • getOciUrl

      public String getOciUrl()
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciUrl in interface PluggableDatabaseOrBuilder
      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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciUrlBytes in interface PluggableDatabaseOrBuilder
      Returns:
      The bytes for ociUrl.
    • setOciUrl

      public PluggableDatabase.Builder setOciUrl(String value)
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The ociUrl to set.
      Returns:
      This builder for chaining.
    • clearOciUrl

      public PluggableDatabase.Builder clearOciUrl()
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setOciUrlBytes

      public PluggableDatabase.Builder setOciUrlBytes(com.google.protobuf.ByteString value)
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for ociUrl to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

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

      public PluggableDatabase.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The date and time that the PluggableDatabase was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public PluggableDatabase.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time that the PluggableDatabase was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public PluggableDatabase.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The date and time that the PluggableDatabase was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public PluggableDatabase.Builder clearCreateTime()
       Output only. The date and time that the PluggableDatabase was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The date and time that the PluggableDatabase was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

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