Class DatabaseConnectionStringProfile.Builder

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

public static final class DatabaseConnectionStringProfile.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatabaseConnectionStringProfile.Builder> implements DatabaseConnectionStringProfileOrBuilder
 The connection string profile to allow clients to group.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile
 
Protobuf type google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile
  • 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<DatabaseConnectionStringProfile.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<DatabaseConnectionStringProfile.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<DatabaseConnectionStringProfile.Builder>
    • getDefaultInstanceForType

      public DatabaseConnectionStringProfile 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 DatabaseConnectionStringProfile buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DatabaseConnectionStringProfile.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<DatabaseConnectionStringProfile.Builder>
      Throws:
      IOException
    • getConsumerGroupValue

      public int getConsumerGroupValue()
       Output only. The current consumer group being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConsumerGroupValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The enum numeric value on the wire for consumerGroup.
    • setConsumerGroupValue

      public DatabaseConnectionStringProfile.Builder setConsumerGroupValue(int value)
       Output only. The current consumer group being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for consumerGroup to set.
      Returns:
      This builder for chaining.
    • getConsumerGroup

       Output only. The current consumer group being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConsumerGroup in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The consumerGroup.
    • setConsumerGroup

       Output only. The current consumer group being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The consumerGroup to set.
      Returns:
      This builder for chaining.
    • clearConsumerGroup

      public DatabaseConnectionStringProfile.Builder clearConsumerGroup()
       Output only. The current consumer group being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Output only. The display name for the database connection.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. The display name for the database connection.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DatabaseConnectionStringProfile.Builder setDisplayName(String value)
       Output only. The display name for the database connection.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DatabaseConnectionStringProfile.Builder clearDisplayName()
       Output only. The display name for the database connection.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DatabaseConnectionStringProfile.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name for the database connection.
       
      string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getHostFormatValue

      public int getHostFormatValue()
       Output only. The host name format being currently used in connection
       string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHostFormatValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The enum numeric value on the wire for hostFormat.
    • setHostFormatValue

      public DatabaseConnectionStringProfile.Builder setHostFormatValue(int value)
       Output only. The host name format being currently used in connection
       string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for hostFormat to set.
      Returns:
      This builder for chaining.
    • getHostFormat

       Output only. The host name format being currently used in connection
       string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHostFormat in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The hostFormat.
    • setHostFormat

       Output only. The host name format being currently used in connection
       string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The hostFormat to set.
      Returns:
      This builder for chaining.
    • clearHostFormat

      public DatabaseConnectionStringProfile.Builder clearHostFormat()
       Output only. The host name format being currently used in connection
       string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getIsRegional

      public boolean getIsRegional()
       Output only. This field indicates if the connection string is regional and
       is only applicable for cross-region Data Guard.
       
      bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsRegional in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The isRegional.
    • setIsRegional

      public DatabaseConnectionStringProfile.Builder setIsRegional(boolean value)
       Output only. This field indicates if the connection string is regional and
       is only applicable for cross-region Data Guard.
       
      bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isRegional to set.
      Returns:
      This builder for chaining.
    • clearIsRegional

      public DatabaseConnectionStringProfile.Builder clearIsRegional()
       Output only. This field indicates if the connection string is regional and
       is only applicable for cross-region Data Guard.
       
      bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getProtocolValue

      public int getProtocolValue()
       Output only. The protocol being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProtocolValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The enum numeric value on the wire for protocol.
    • setProtocolValue

      public DatabaseConnectionStringProfile.Builder setProtocolValue(int value)
       Output only. The protocol being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for protocol to set.
      Returns:
      This builder for chaining.
    • getProtocol

       Output only. The protocol being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProtocol in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The protocol.
    • setProtocol

       Output only. The protocol being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The protocol to set.
      Returns:
      This builder for chaining.
    • clearProtocol

       Output only. The protocol being used by the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSessionModeValue

      public int getSessionModeValue()
       Output only. The current session mode of the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSessionModeValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The enum numeric value on the wire for sessionMode.
    • setSessionModeValue

      public DatabaseConnectionStringProfile.Builder setSessionModeValue(int value)
       Output only. The current session mode of the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for sessionMode to set.
      Returns:
      This builder for chaining.
    • getSessionMode

       Output only. The current session mode of the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSessionMode in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The sessionMode.
    • setSessionMode

       Output only. The current session mode of the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sessionMode to set.
      Returns:
      This builder for chaining.
    • clearSessionMode

      public DatabaseConnectionStringProfile.Builder clearSessionMode()
       Output only. The current session mode of the connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSyntaxFormatValue

      public int getSyntaxFormatValue()
       Output only. The syntax of the connection string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSyntaxFormatValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The enum numeric value on the wire for syntaxFormat.
    • setSyntaxFormatValue

      public DatabaseConnectionStringProfile.Builder setSyntaxFormatValue(int value)
       Output only. The syntax of the connection string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for syntaxFormat to set.
      Returns:
      This builder for chaining.
    • getSyntaxFormat

       Output only. The syntax of the connection string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSyntaxFormat in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The syntaxFormat.
    • setSyntaxFormat

       Output only. The syntax of the connection string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The syntaxFormat to set.
      Returns:
      This builder for chaining.
    • clearSyntaxFormat

      public DatabaseConnectionStringProfile.Builder clearSyntaxFormat()
       Output only. The syntax of the connection string.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getTlsAuthenticationValue

      public int getTlsAuthenticationValue()
       Output only. This field indicates the TLS authentication type of the
       connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTlsAuthenticationValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The enum numeric value on the wire for tlsAuthentication.
    • setTlsAuthenticationValue

      public DatabaseConnectionStringProfile.Builder setTlsAuthenticationValue(int value)
       Output only. This field indicates the TLS authentication type of the
       connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for tlsAuthentication to set.
      Returns:
      This builder for chaining.
    • getTlsAuthentication

       Output only. This field indicates the TLS authentication type of the
       connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTlsAuthentication in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The tlsAuthentication.
    • setTlsAuthentication

       Output only. This field indicates the TLS authentication type of the
       connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The tlsAuthentication to set.
      Returns:
      This builder for chaining.
    • clearTlsAuthentication

      public DatabaseConnectionStringProfile.Builder clearTlsAuthentication()
       Output only. This field indicates the TLS authentication type of the
       connection.
       
      .google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getValue

      public String getValue()
       Output only. The value of the connection string.
       
      string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValue in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       Output only. The value of the connection string.
       
      string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getValueBytes in interface DatabaseConnectionStringProfileOrBuilder
      Returns:
      The bytes for value.
    • setValue

       Output only. The value of the connection string.
       
      string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

       Output only. The value of the connection string.
       
      string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setValueBytes

      public DatabaseConnectionStringProfile.Builder setValueBytes(com.google.protobuf.ByteString value)
       Output only. The value of the connection string.
       
      string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.