Class AutonomousDatabaseConnectionStrings.Builder

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

public static final class AutonomousDatabaseConnectionStrings.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseConnectionStrings.Builder> implements AutonomousDatabaseConnectionStringsOrBuilder
 The connection string used to connect to the Autonomous Database.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings
 
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionStrings
  • 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<AutonomousDatabaseConnectionStrings.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<AutonomousDatabaseConnectionStrings.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<AutonomousDatabaseConnectionStrings.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AutonomousDatabaseConnectionStrings.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<AutonomousDatabaseConnectionStrings.Builder>
    • mergeFrom

    • isInitialized

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

      public AutonomousDatabaseConnectionStrings.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<AutonomousDatabaseConnectionStrings.Builder>
      Throws:
      IOException
    • hasAllConnectionStrings

      public boolean hasAllConnectionStrings()
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAllConnectionStrings in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      Whether the allConnectionStrings field is set.
    • getAllConnectionStrings

      public AllConnectionStrings getAllConnectionStrings()
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllConnectionStrings in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The allConnectionStrings.
    • setAllConnectionStrings

      public AutonomousDatabaseConnectionStrings.Builder setAllConnectionStrings(AllConnectionStrings value)
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAllConnectionStrings

      public AutonomousDatabaseConnectionStrings.Builder setAllConnectionStrings(AllConnectionStrings.Builder builderForValue)
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAllConnectionStrings

      public AutonomousDatabaseConnectionStrings.Builder mergeAllConnectionStrings(AllConnectionStrings value)
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAllConnectionStrings

      public AutonomousDatabaseConnectionStrings.Builder clearAllConnectionStrings()
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAllConnectionStringsBuilder

      public AllConnectionStrings.Builder getAllConnectionStringsBuilder()
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAllConnectionStringsOrBuilder

      public AllConnectionStringsOrBuilder getAllConnectionStringsOrBuilder()
       Output only. Returns all connection strings that can be used to connect to
       the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AllConnectionStrings all_connection_strings = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllConnectionStringsOrBuilder in interface AutonomousDatabaseConnectionStringsOrBuilder
    • getDedicated

      public String getDedicated()
       Output only. The database service provides the least level of resources to
       each SQL statement, but supports the most number of concurrent SQL
       statements.
       
      string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDedicated in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The dedicated.
    • getDedicatedBytes

      public com.google.protobuf.ByteString getDedicatedBytes()
       Output only. The database service provides the least level of resources to
       each SQL statement, but supports the most number of concurrent SQL
       statements.
       
      string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDedicatedBytes in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The bytes for dedicated.
    • setDedicated

       Output only. The database service provides the least level of resources to
       each SQL statement, but supports the most number of concurrent SQL
       statements.
       
      string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The dedicated to set.
      Returns:
      This builder for chaining.
    • clearDedicated

       Output only. The database service provides the least level of resources to
       each SQL statement, but supports the most number of concurrent SQL
       statements.
       
      string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDedicatedBytes

      public AutonomousDatabaseConnectionStrings.Builder setDedicatedBytes(com.google.protobuf.ByteString value)
       Output only. The database service provides the least level of resources to
       each SQL statement, but supports the most number of concurrent SQL
       statements.
       
      string dedicated = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for dedicated to set.
      Returns:
      This builder for chaining.
    • getHigh

      public String getHigh()
       Output only. The database service provides the highest level of resources
       to each SQL statement.
       
      string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHigh in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The high.
    • getHighBytes

      public com.google.protobuf.ByteString getHighBytes()
       Output only. The database service provides the highest level of resources
       to each SQL statement.
       
      string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHighBytes in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The bytes for high.
    • setHigh

       Output only. The database service provides the highest level of resources
       to each SQL statement.
       
      string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The high to set.
      Returns:
      This builder for chaining.
    • clearHigh

       Output only. The database service provides the highest level of resources
       to each SQL statement.
       
      string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setHighBytes

      public AutonomousDatabaseConnectionStrings.Builder setHighBytes(com.google.protobuf.ByteString value)
       Output only. The database service provides the highest level of resources
       to each SQL statement.
       
      string high = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for high to set.
      Returns:
      This builder for chaining.
    • getLow

      public String getLow()
       Output only. The database service provides the least level of resources to
       each SQL statement.
       
      string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLow in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The low.
    • getLowBytes

      public com.google.protobuf.ByteString getLowBytes()
       Output only. The database service provides the least level of resources to
       each SQL statement.
       
      string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLowBytes in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The bytes for low.
    • setLow

       Output only. The database service provides the least level of resources to
       each SQL statement.
       
      string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The low to set.
      Returns:
      This builder for chaining.
    • clearLow

       Output only. The database service provides the least level of resources to
       each SQL statement.
       
      string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLowBytes

      public AutonomousDatabaseConnectionStrings.Builder setLowBytes(com.google.protobuf.ByteString value)
       Output only. The database service provides the least level of resources to
       each SQL statement.
       
      string low = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for low to set.
      Returns:
      This builder for chaining.
    • getMedium

      public String getMedium()
       Output only. The database service provides a lower level of resources to
       each SQL statement.
       
      string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMedium in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The medium.
    • getMediumBytes

      public com.google.protobuf.ByteString getMediumBytes()
       Output only. The database service provides a lower level of resources to
       each SQL statement.
       
      string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMediumBytes in interface AutonomousDatabaseConnectionStringsOrBuilder
      Returns:
      The bytes for medium.
    • setMedium

       Output only. The database service provides a lower level of resources to
       each SQL statement.
       
      string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The medium to set.
      Returns:
      This builder for chaining.
    • clearMedium

       Output only. The database service provides a lower level of resources to
       each SQL statement.
       
      string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMediumBytes

      public AutonomousDatabaseConnectionStrings.Builder setMediumBytes(com.google.protobuf.ByteString value)
       Output only. The database service provides a lower level of resources to
       each SQL statement.
       
      string medium = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for medium to set.
      Returns:
      This builder for chaining.
    • getProfilesList

      public List<DatabaseConnectionStringProfile> getProfilesList()
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfilesList in interface AutonomousDatabaseConnectionStringsOrBuilder
    • getProfilesCount

      public int getProfilesCount()
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfilesCount in interface AutonomousDatabaseConnectionStringsOrBuilder
    • getProfiles

      public DatabaseConnectionStringProfile getProfiles(int index)
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfiles in interface AutonomousDatabaseConnectionStringsOrBuilder
    • setProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearProfiles

       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeProfiles

      public AutonomousDatabaseConnectionStrings.Builder removeProfiles(int index)
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProfilesBuilder

      public DatabaseConnectionStringProfile.Builder getProfilesBuilder(int index)
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProfilesOrBuilder

      public DatabaseConnectionStringProfileOrBuilder getProfilesOrBuilder(int index)
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfilesOrBuilder in interface AutonomousDatabaseConnectionStringsOrBuilder
    • getProfilesOrBuilderList

      public List<? extends DatabaseConnectionStringProfileOrBuilder> getProfilesOrBuilderList()
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProfilesOrBuilderList in interface AutonomousDatabaseConnectionStringsOrBuilder
    • addProfilesBuilder

      public DatabaseConnectionStringProfile.Builder addProfilesBuilder()
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addProfilesBuilder

      public DatabaseConnectionStringProfile.Builder addProfilesBuilder(int index)
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProfilesBuilderList

      public List<DatabaseConnectionStringProfile.Builder> getProfilesBuilderList()
       Output only. A list of connection string profiles to allow clients to
       group, filter, and select values based on the structured metadata.
       
      repeated .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile profiles = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];