Class SqlTranslationErrorDetail.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder>
com.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail.Builder
All Implemented Interfaces:
SqlTranslationErrorDetailOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SqlTranslationErrorDetail

public static final class SqlTranslationErrorDetail.Builder extends com.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder> implements SqlTranslationErrorDetailOrBuilder
 Structured error object capturing the error message and the location in the
 source text where the error occurs.
 
Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail
  • 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<SqlTranslationErrorDetail.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<SqlTranslationErrorDetail.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<SqlTranslationErrorDetail.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SqlTranslationErrorDetail.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<SqlTranslationErrorDetail.Builder>
      Throws:
      IOException
    • getRow

      public long getRow()
       Specifies the row from the source text where the error occurred.
       
      int64 row = 1;
      Specified by:
      getRow in interface SqlTranslationErrorDetailOrBuilder
      Returns:
      The row.
    • setRow

      public SqlTranslationErrorDetail.Builder setRow(long value)
       Specifies the row from the source text where the error occurred.
       
      int64 row = 1;
      Parameters:
      value - The row to set.
      Returns:
      This builder for chaining.
    • clearRow

       Specifies the row from the source text where the error occurred.
       
      int64 row = 1;
      Returns:
      This builder for chaining.
    • getColumn

      public long getColumn()
       Specifie the column from the source texts where the error occurred.
       
      int64 column = 2;
      Specified by:
      getColumn in interface SqlTranslationErrorDetailOrBuilder
      Returns:
      The column.
    • setColumn

      public SqlTranslationErrorDetail.Builder setColumn(long value)
       Specifie the column from the source texts where the error occurred.
       
      int64 column = 2;
      Parameters:
      value - The column to set.
      Returns:
      This builder for chaining.
    • clearColumn

      public SqlTranslationErrorDetail.Builder clearColumn()
       Specifie the column from the source texts where the error occurred.
       
      int64 column = 2;
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       A human-readable description of the error.
       
      string message = 3;
      Specified by:
      getMessage in interface SqlTranslationErrorDetailOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       A human-readable description of the error.
       
      string message = 3;
      Specified by:
      getMessageBytes in interface SqlTranslationErrorDetailOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public SqlTranslationErrorDetail.Builder setMessage(String value)
       A human-readable description of the error.
       
      string message = 3;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public SqlTranslationErrorDetail.Builder clearMessage()
       A human-readable description of the error.
       
      string message = 3;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public SqlTranslationErrorDetail.Builder setMessageBytes(com.google.protobuf.ByteString value)
       A human-readable description of the error.
       
      string message = 3;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.