Class GcsReportLogMessage.Builder

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

public static final class GcsReportLogMessage.Builder extends com.google.protobuf.GeneratedMessage.Builder<GcsReportLogMessage.Builder> implements GcsReportLogMessageOrBuilder
 A record in the aggregate CSV report for a migration workflow
 
Protobuf type google.cloud.bigquery.migration.v2.GcsReportLogMessage
  • 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<GcsReportLogMessage.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<GcsReportLogMessage.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<GcsReportLogMessage.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GcsReportLogMessage.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<GcsReportLogMessage.Builder>
      Throws:
      IOException
    • 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.
    • setSeverity

      public GcsReportLogMessage.Builder setSeverity(String value)
       Severity of the translation record.
       
      string severity = 1;
      Parameters:
      value - The severity to set.
      Returns:
      This builder for chaining.
    • clearSeverity

      public GcsReportLogMessage.Builder clearSeverity()
       Severity of the translation record.
       
      string severity = 1;
      Returns:
      This builder for chaining.
    • setSeverityBytes

      public GcsReportLogMessage.Builder setSeverityBytes(com.google.protobuf.ByteString value)
       Severity of the translation record.
       
      string severity = 1;
      Parameters:
      value - The bytes for severity to set.
      Returns:
      This builder for chaining.
    • 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.
    • setCategory

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

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

      public GcsReportLogMessage.Builder setCategoryBytes(com.google.protobuf.ByteString value)
       Category of the error/warning. Example: SyntaxError
       
      string category = 2;
      Parameters:
      value - The bytes for category to set.
      Returns:
      This builder for chaining.
    • 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.
    • setFilePath

      public GcsReportLogMessage.Builder setFilePath(String value)
       The file path in which the error occurred
       
      string file_path = 3;
      Parameters:
      value - The filePath to set.
      Returns:
      This builder for chaining.
    • clearFilePath

      public GcsReportLogMessage.Builder clearFilePath()
       The file path in which the error occurred
       
      string file_path = 3;
      Returns:
      This builder for chaining.
    • setFilePathBytes

      public GcsReportLogMessage.Builder setFilePathBytes(com.google.protobuf.ByteString value)
       The file path in which the error occurred
       
      string file_path = 3;
      Parameters:
      value - The bytes for filePath to set.
      Returns:
      This builder for chaining.
    • 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.
    • setFilename

      public GcsReportLogMessage.Builder setFilename(String value)
       The file name in which the error occurred
       
      string filename = 4;
      Parameters:
      value - The filename to set.
      Returns:
      This builder for chaining.
    • clearFilename

      public GcsReportLogMessage.Builder clearFilename()
       The file name in which the error occurred
       
      string filename = 4;
      Returns:
      This builder for chaining.
    • setFilenameBytes

      public GcsReportLogMessage.Builder setFilenameBytes(com.google.protobuf.ByteString value)
       The file name in which the error occurred
       
      string filename = 4;
      Parameters:
      value - The bytes for filename to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSourceScriptLine

      public GcsReportLogMessage.Builder setSourceScriptLine(int value)
       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;
      Parameters:
      value - The sourceScriptLine to set.
      Returns:
      This builder for chaining.
    • clearSourceScriptLine

      public GcsReportLogMessage.Builder clearSourceScriptLine()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setSourceScriptColumn

      public GcsReportLogMessage.Builder setSourceScriptColumn(int value)
       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;
      Parameters:
      value - The sourceScriptColumn to set.
      Returns:
      This builder for chaining.
    • clearSourceScriptColumn

      public GcsReportLogMessage.Builder clearSourceScriptColumn()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setMessage

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

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

      public GcsReportLogMessage.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Detailed message of the record.
       
      string message = 7;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • 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.
    • setScriptContext

      public GcsReportLogMessage.Builder setScriptContext(String value)
       The script context (obfuscated) in which the error occurred
       
      string script_context = 8;
      Parameters:
      value - The scriptContext to set.
      Returns:
      This builder for chaining.
    • clearScriptContext

      public GcsReportLogMessage.Builder clearScriptContext()
       The script context (obfuscated) in which the error occurred
       
      string script_context = 8;
      Returns:
      This builder for chaining.
    • setScriptContextBytes

      public GcsReportLogMessage.Builder setScriptContextBytes(com.google.protobuf.ByteString value)
       The script context (obfuscated) in which the error occurred
       
      string script_context = 8;
      Parameters:
      value - The bytes for scriptContext to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAction

      public GcsReportLogMessage.Builder setAction(String value)
       Category of the error/warning. Example: SyntaxError
       
      string action = 9;
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

      public GcsReportLogMessage.Builder clearAction()
       Category of the error/warning. Example: SyntaxError
       
      string action = 9;
      Returns:
      This builder for chaining.
    • setActionBytes

      public GcsReportLogMessage.Builder setActionBytes(com.google.protobuf.ByteString value)
       Category of the error/warning. Example: SyntaxError
       
      string action = 9;
      Parameters:
      value - The bytes for action to set.
      Returns:
      This builder for chaining.
    • 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.
    • setEffect

      public GcsReportLogMessage.Builder setEffect(String value)
       Effect of the error/warning. Example: COMPATIBILITY
       
      string effect = 10;
      Parameters:
      value - The effect to set.
      Returns:
      This builder for chaining.
    • clearEffect

      public GcsReportLogMessage.Builder clearEffect()
       Effect of the error/warning. Example: COMPATIBILITY
       
      string effect = 10;
      Returns:
      This builder for chaining.
    • setEffectBytes

      public GcsReportLogMessage.Builder setEffectBytes(com.google.protobuf.ByteString value)
       Effect of the error/warning. Example: COMPATIBILITY
       
      string effect = 10;
      Parameters:
      value - The bytes for effect to set.
      Returns:
      This builder for chaining.
    • 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.
    • setObjectName

      public GcsReportLogMessage.Builder setObjectName(String value)
       Name of the affected object in the log message.
       
      string object_name = 11;
      Parameters:
      value - The objectName to set.
      Returns:
      This builder for chaining.
    • clearObjectName

      public GcsReportLogMessage.Builder clearObjectName()
       Name of the affected object in the log message.
       
      string object_name = 11;
      Returns:
      This builder for chaining.
    • setObjectNameBytes

      public GcsReportLogMessage.Builder setObjectNameBytes(com.google.protobuf.ByteString value)
       Name of the affected object in the log message.
       
      string object_name = 11;
      Parameters:
      value - The bytes for objectName to set.
      Returns:
      This builder for chaining.