Class TranslationReportRecord

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.migration.v2.TranslationReportRecord
All Implemented Interfaces:
TranslationReportRecordOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class TranslationReportRecord extends com.google.protobuf.GeneratedMessage implements TranslationReportRecordOrBuilder
 Details about a record.
 
Protobuf type google.cloud.bigquery.migration.v2.TranslationReportRecord
See Also:
  • Field Details

    • SEVERITY_FIELD_NUMBER

      public static final int SEVERITY_FIELD_NUMBER
      See Also:
    • SCRIPT_LINE_FIELD_NUMBER

      public static final int SCRIPT_LINE_FIELD_NUMBER
      See Also:
    • SCRIPT_COLUMN_FIELD_NUMBER

      public static final int SCRIPT_COLUMN_FIELD_NUMBER
      See Also:
    • CATEGORY_FIELD_NUMBER

      public static final int CATEGORY_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TranslationReportRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TranslationReportRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TranslationReportRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TranslationReportRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TranslationReportRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TranslationReportRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TranslationReportRecord parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TranslationReportRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TranslationReportRecord parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TranslationReportRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TranslationReportRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TranslationReportRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static TranslationReportRecord.Builder newBuilder()
    • newBuilder

      public static TranslationReportRecord.Builder newBuilder(TranslationReportRecord prototype)
    • toBuilder

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

      protected TranslationReportRecord.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TranslationReportRecord getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TranslationReportRecord> parser()
    • getParserForType

      public com.google.protobuf.Parser<TranslationReportRecord> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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