Class TranslationReportRecord.Builder

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

public static final class TranslationReportRecord.Builder extends com.google.protobuf.GeneratedMessage.Builder<TranslationReportRecord.Builder> implements TranslationReportRecordOrBuilder
 Details about a record.
 
Protobuf type google.cloud.bigquery.migration.v2.TranslationReportRecord
  • 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<TranslationReportRecord.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<TranslationReportRecord.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<TranslationReportRecord.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public TranslationReportRecord.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<TranslationReportRecord.Builder>
      Throws:
      IOException
    • getSeverityValue

      public int getSeverityValue()
       Severity of the translation record.
       
      .google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;
      Specified by:
      getSeverityValue in interface TranslationReportRecordOrBuilder
      Returns:
      The enum numeric value on the wire for severity.
    • setSeverityValue

      public TranslationReportRecord.Builder setSeverityValue(int value)
       Severity of the translation record.
       
      .google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;
      Parameters:
      value - The enum numeric value on the wire for severity to set.
      Returns:
      This builder for chaining.
    • getSeverity

      public TranslationReportRecord.Severity getSeverity()
       Severity of the translation record.
       
      .google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;
      Specified by:
      getSeverity in interface TranslationReportRecordOrBuilder
      Returns:
      The severity.
    • setSeverity

       Severity of the translation record.
       
      .google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;
      Parameters:
      value - The severity to set.
      Returns:
      This builder for chaining.
    • clearSeverity

      public TranslationReportRecord.Builder clearSeverity()
       Severity of the translation record.
       
      .google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;
      Returns:
      This builder for chaining.
    • getScriptLine

      public int getScriptLine()
       Specifies the row from the source text where the error occurred (0 based).
       Example: 2
       
      int32 script_line = 2;
      Specified by:
      getScriptLine in interface TranslationReportRecordOrBuilder
      Returns:
      The scriptLine.
    • setScriptLine

      public TranslationReportRecord.Builder setScriptLine(int value)
       Specifies the row from the source text where the error occurred (0 based).
       Example: 2
       
      int32 script_line = 2;
      Parameters:
      value - The scriptLine to set.
      Returns:
      This builder for chaining.
    • clearScriptLine

      public TranslationReportRecord.Builder clearScriptLine()
       Specifies the row from the source text where the error occurred (0 based).
       Example: 2
       
      int32 script_line = 2;
      Returns:
      This builder for chaining.
    • getScriptColumn

      public int getScriptColumn()
       Specifies the column from the source texts where the error occurred. (0
       based) example: 6
       
      int32 script_column = 3;
      Specified by:
      getScriptColumn in interface TranslationReportRecordOrBuilder
      Returns:
      The scriptColumn.
    • setScriptColumn

      public TranslationReportRecord.Builder setScriptColumn(int value)
       Specifies the column from the source texts where the error occurred. (0
       based) example: 6
       
      int32 script_column = 3;
      Parameters:
      value - The scriptColumn to set.
      Returns:
      This builder for chaining.
    • clearScriptColumn

      public TranslationReportRecord.Builder clearScriptColumn()
       Specifies the column from the source texts where the error occurred. (0
       based) example: 6
       
      int32 script_column = 3;
      Returns:
      This builder for chaining.
    • getCategory

      public String getCategory()
       Category of the error/warning. Example: SyntaxError
       
      string category = 4;
      Specified by:
      getCategory in interface TranslationReportRecordOrBuilder
      Returns:
      The category.
    • getCategoryBytes

      public com.google.protobuf.ByteString getCategoryBytes()
       Category of the error/warning. Example: SyntaxError
       
      string category = 4;
      Specified by:
      getCategoryBytes in interface TranslationReportRecordOrBuilder
      Returns:
      The bytes for category.
    • setCategory

      public TranslationReportRecord.Builder setCategory(String value)
       Category of the error/warning. Example: SyntaxError
       
      string category = 4;
      Parameters:
      value - The category to set.
      Returns:
      This builder for chaining.
    • clearCategory

      public TranslationReportRecord.Builder clearCategory()
       Category of the error/warning. Example: SyntaxError
       
      string category = 4;
      Returns:
      This builder for chaining.
    • setCategoryBytes

      public TranslationReportRecord.Builder setCategoryBytes(com.google.protobuf.ByteString value)
       Category of the error/warning. Example: SyntaxError
       
      string category = 4;
      Parameters:
      value - The bytes for category to set.
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
       Detailed message of the record.
       
      string message = 5;
      Specified by:
      getMessage in interface TranslationReportRecordOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Detailed message of the record.
       
      string message = 5;
      Specified by:
      getMessageBytes in interface TranslationReportRecordOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public TranslationReportRecord.Builder setMessage(String value)
       Detailed message of the record.
       
      string message = 5;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public TranslationReportRecord.Builder clearMessage()
       Detailed message of the record.
       
      string message = 5;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public TranslationReportRecord.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Detailed message of the record.
       
      string message = 5;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.