Class GcsReportLogMessage

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

@Generated public final class GcsReportLogMessage extends com.google.protobuf.GeneratedMessage implements GcsReportLogMessageOrBuilder
 A record in the aggregate CSV report for a migration workflow
 
Protobuf type google.cloud.bigquery.migration.v2.GcsReportLogMessage
See Also:
  • Field Details

    • SEVERITY_FIELD_NUMBER

      public static final int SEVERITY_FIELD_NUMBER
      See Also:
    • CATEGORY_FIELD_NUMBER

      public static final int CATEGORY_FIELD_NUMBER
      See Also:
    • FILE_PATH_FIELD_NUMBER

      public static final int FILE_PATH_FIELD_NUMBER
      See Also:
    • FILENAME_FIELD_NUMBER

      public static final int FILENAME_FIELD_NUMBER
      See Also:
    • SOURCE_SCRIPT_LINE_FIELD_NUMBER

      public static final int SOURCE_SCRIPT_LINE_FIELD_NUMBER
      See Also:
    • SOURCE_SCRIPT_COLUMN_FIELD_NUMBER

      public static final int SOURCE_SCRIPT_COLUMN_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • SCRIPT_CONTEXT_FIELD_NUMBER

      public static final int SCRIPT_CONTEXT_FIELD_NUMBER
      See Also:
    • ACTION_FIELD_NUMBER

      public static final int ACTION_FIELD_NUMBER
      See Also:
    • EFFECT_FIELD_NUMBER

      public static final int EFFECT_FIELD_NUMBER
      See Also:
    • OBJECT_NAME_FIELD_NUMBER

      public static final int OBJECT_NAME_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
    • getSeverity

      public String getSeverity()
       Severity of the translation record.
       
      string severity = 1;
      Specified by:
      getSeverity in interface GcsReportLogMessageOrBuilder
      Returns:
      The severity.
    • getSeverityBytes

      public com.google.protobuf.ByteString getSeverityBytes()
       Severity of the translation record.
       
      string severity = 1;
      Specified by:
      getSeverityBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for severity.
    • getCategory

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

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

      public String getFilePath()
       The file path in which the error occurred
       
      string file_path = 3;
      Specified by:
      getFilePath in interface GcsReportLogMessageOrBuilder
      Returns:
      The filePath.
    • getFilePathBytes

      public com.google.protobuf.ByteString getFilePathBytes()
       The file path in which the error occurred
       
      string file_path = 3;
      Specified by:
      getFilePathBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for filePath.
    • getFilename

      public String getFilename()
       The file name in which the error occurred
       
      string filename = 4;
      Specified by:
      getFilename in interface GcsReportLogMessageOrBuilder
      Returns:
      The filename.
    • getFilenameBytes

      public com.google.protobuf.ByteString getFilenameBytes()
       The file name in which the error occurred
       
      string filename = 4;
      Specified by:
      getFilenameBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for filename.
    • getSourceScriptLine

      public int getSourceScriptLine()
       Specifies the row from the source text where the error occurred (0 based,
       -1 for messages without line location). Example: 2
       
      int32 source_script_line = 5;
      Specified by:
      getSourceScriptLine in interface GcsReportLogMessageOrBuilder
      Returns:
      The sourceScriptLine.
    • getSourceScriptColumn

      public int getSourceScriptColumn()
       Specifies the column from the source texts where the error occurred. (0
       based, -1 for messages without column location) example: 6
       
      int32 source_script_column = 6;
      Specified by:
      getSourceScriptColumn in interface GcsReportLogMessageOrBuilder
      Returns:
      The sourceScriptColumn.
    • getMessage

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

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

      public String getScriptContext()
       The script context (obfuscated) in which the error occurred
       
      string script_context = 8;
      Specified by:
      getScriptContext in interface GcsReportLogMessageOrBuilder
      Returns:
      The scriptContext.
    • getScriptContextBytes

      public com.google.protobuf.ByteString getScriptContextBytes()
       The script context (obfuscated) in which the error occurred
       
      string script_context = 8;
      Specified by:
      getScriptContextBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for scriptContext.
    • getAction

      public String getAction()
       Category of the error/warning. Example: SyntaxError
       
      string action = 9;
      Specified by:
      getAction in interface GcsReportLogMessageOrBuilder
      Returns:
      The action.
    • getActionBytes

      public com.google.protobuf.ByteString getActionBytes()
       Category of the error/warning. Example: SyntaxError
       
      string action = 9;
      Specified by:
      getActionBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for action.
    • getEffect

      public String getEffect()
       Effect of the error/warning. Example: COMPATIBILITY
       
      string effect = 10;
      Specified by:
      getEffect in interface GcsReportLogMessageOrBuilder
      Returns:
      The effect.
    • getEffectBytes

      public com.google.protobuf.ByteString getEffectBytes()
       Effect of the error/warning. Example: COMPATIBILITY
       
      string effect = 10;
      Specified by:
      getEffectBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for effect.
    • getObjectName

      public String getObjectName()
       Name of the affected object in the log message.
       
      string object_name = 11;
      Specified by:
      getObjectName in interface GcsReportLogMessageOrBuilder
      Returns:
      The objectName.
    • getObjectNameBytes

      public com.google.protobuf.ByteString getObjectNameBytes()
       Name of the affected object in the log message.
       
      string object_name = 11;
      Specified by:
      getObjectNameBytes in interface GcsReportLogMessageOrBuilder
      Returns:
      The bytes for objectName.
    • 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 GcsReportLogMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GcsReportLogMessage.Builder newBuilder()
    • newBuilder

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

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

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

      public static GcsReportLogMessage getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<GcsReportLogMessage> 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 GcsReportLogMessage getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder