Class ExportClusterRequest.CsvExportOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder>
com.google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions.Builder
All Implemented Interfaces:
ExportClusterRequest.CsvExportOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportClusterRequest.CsvExportOptions

public static final class ExportClusterRequest.CsvExportOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder> implements ExportClusterRequest.CsvExportOptionsOrBuilder
 Options for exporting data in CSV format.
 
Protobuf type google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions
  • 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<ExportClusterRequest.CsvExportOptions.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<ExportClusterRequest.CsvExportOptions.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<ExportClusterRequest.CsvExportOptions.Builder>
    • getDefaultInstanceForType

      public ExportClusterRequest.CsvExportOptions 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

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

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

      public ExportClusterRequest.CsvExportOptions.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<ExportClusterRequest.CsvExportOptions.Builder>
      Throws:
      IOException
    • getSelectQuery

      public String getSelectQuery()
       Required. The SELECT query used to extract the data.
       
      string select_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSelectQuery in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The selectQuery.
    • getSelectQueryBytes

      public com.google.protobuf.ByteString getSelectQueryBytes()
       Required. The SELECT query used to extract the data.
       
      string select_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSelectQueryBytes in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The bytes for selectQuery.
    • setSelectQuery

       Required. The SELECT query used to extract the data.
       
      string select_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The selectQuery to set.
      Returns:
      This builder for chaining.
    • clearSelectQuery

       Required. The SELECT query used to extract the data.
       
      string select_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSelectQueryBytes

      public ExportClusterRequest.CsvExportOptions.Builder setSelectQueryBytes(com.google.protobuf.ByteString value)
       Required. The SELECT query used to extract the data.
       
      string select_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for selectQuery to set.
      Returns:
      This builder for chaining.
    • getFieldDelimiter

      public String getFieldDelimiter()
       Optional. Specifies the character that separates columns within each row
       (line) of the file. The default is comma. The value of this argument has
       to be a character in Hex ASCII Code.
       
      string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFieldDelimiter in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The fieldDelimiter.
    • getFieldDelimiterBytes

      public com.google.protobuf.ByteString getFieldDelimiterBytes()
       Optional. Specifies the character that separates columns within each row
       (line) of the file. The default is comma. The value of this argument has
       to be a character in Hex ASCII Code.
       
      string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFieldDelimiterBytes in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The bytes for fieldDelimiter.
    • setFieldDelimiter

      public ExportClusterRequest.CsvExportOptions.Builder setFieldDelimiter(String value)
       Optional. Specifies the character that separates columns within each row
       (line) of the file. The default is comma. The value of this argument has
       to be a character in Hex ASCII Code.
       
      string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The fieldDelimiter to set.
      Returns:
      This builder for chaining.
    • clearFieldDelimiter

      public ExportClusterRequest.CsvExportOptions.Builder clearFieldDelimiter()
       Optional. Specifies the character that separates columns within each row
       (line) of the file. The default is comma. The value of this argument has
       to be a character in Hex ASCII Code.
       
      string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFieldDelimiterBytes

      public ExportClusterRequest.CsvExportOptions.Builder setFieldDelimiterBytes(com.google.protobuf.ByteString value)
       Optional. Specifies the character that separates columns within each row
       (line) of the file. The default is comma. The value of this argument has
       to be a character in Hex ASCII Code.
       
      string field_delimiter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for fieldDelimiter to set.
      Returns:
      This builder for chaining.
    • getQuoteCharacter

      public String getQuoteCharacter()
       Optional. Specifies the quoting character to be used when a data value is
       quoted. The default is double-quote. The value of this argument has to be
       a character in Hex ASCII Code.
       
      string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuoteCharacter in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The quoteCharacter.
    • getQuoteCharacterBytes

      public com.google.protobuf.ByteString getQuoteCharacterBytes()
       Optional. Specifies the quoting character to be used when a data value is
       quoted. The default is double-quote. The value of this argument has to be
       a character in Hex ASCII Code.
       
      string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuoteCharacterBytes in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The bytes for quoteCharacter.
    • setQuoteCharacter

      public ExportClusterRequest.CsvExportOptions.Builder setQuoteCharacter(String value)
       Optional. Specifies the quoting character to be used when a data value is
       quoted. The default is double-quote. The value of this argument has to be
       a character in Hex ASCII Code.
       
      string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The quoteCharacter to set.
      Returns:
      This builder for chaining.
    • clearQuoteCharacter

      public ExportClusterRequest.CsvExportOptions.Builder clearQuoteCharacter()
       Optional. Specifies the quoting character to be used when a data value is
       quoted. The default is double-quote. The value of this argument has to be
       a character in Hex ASCII Code.
       
      string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setQuoteCharacterBytes

      public ExportClusterRequest.CsvExportOptions.Builder setQuoteCharacterBytes(com.google.protobuf.ByteString value)
       Optional. Specifies the quoting character to be used when a data value is
       quoted. The default is double-quote. The value of this argument has to be
       a character in Hex ASCII Code.
       
      string quote_character = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for quoteCharacter to set.
      Returns:
      This builder for chaining.
    • getEscapeCharacter

      public String getEscapeCharacter()
       Optional. Specifies the character that should appear before a data
       character that needs to be escaped. The default is the same as quote
       character. The value of this argument has to be a character in Hex ASCII
       Code.
       
      string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEscapeCharacter in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The escapeCharacter.
    • getEscapeCharacterBytes

      public com.google.protobuf.ByteString getEscapeCharacterBytes()
       Optional. Specifies the character that should appear before a data
       character that needs to be escaped. The default is the same as quote
       character. The value of this argument has to be a character in Hex ASCII
       Code.
       
      string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEscapeCharacterBytes in interface ExportClusterRequest.CsvExportOptionsOrBuilder
      Returns:
      The bytes for escapeCharacter.
    • setEscapeCharacter

      public ExportClusterRequest.CsvExportOptions.Builder setEscapeCharacter(String value)
       Optional. Specifies the character that should appear before a data
       character that needs to be escaped. The default is the same as quote
       character. The value of this argument has to be a character in Hex ASCII
       Code.
       
      string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The escapeCharacter to set.
      Returns:
      This builder for chaining.
    • clearEscapeCharacter

      public ExportClusterRequest.CsvExportOptions.Builder clearEscapeCharacter()
       Optional. Specifies the character that should appear before a data
       character that needs to be escaped. The default is the same as quote
       character. The value of this argument has to be a character in Hex ASCII
       Code.
       
      string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEscapeCharacterBytes

      public ExportClusterRequest.CsvExportOptions.Builder setEscapeCharacterBytes(com.google.protobuf.ByteString value)
       Optional. Specifies the character that should appear before a data
       character that needs to be escaped. The default is the same as quote
       character. The value of this argument has to be a character in Hex ASCII
       Code.
       
      string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for escapeCharacter to set.
      Returns:
      This builder for chaining.