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 workflowProtobuf type
google.cloud.bigquery.migration.v2.GcsReportLogMessage-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Category of the error/warning.Category of the error/warning.Effect of the error/warning.The file name in which the error occurredThe file path in which the error occurredDetailed message of the record.Name of the affected object in the log message.The script context (obfuscated) in which the error occurredSeverity of the translation record.Specifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6Specifies the row from the source text where the error occurred (0 based, -1 for messages without line location).Category of the error/warning.com.google.protobuf.ByteStringCategory of the error/warning.Category of the error/warning.com.google.protobuf.ByteStringCategory of the error/warning.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEffect of the error/warning.com.google.protobuf.ByteStringEffect of the error/warning.The file name in which the error occurredcom.google.protobuf.ByteStringThe file name in which the error occurredThe file path in which the error occurredcom.google.protobuf.ByteStringThe file path in which the error occurredDetailed message of the record.com.google.protobuf.ByteStringDetailed message of the record.Name of the affected object in the log message.com.google.protobuf.ByteStringName of the affected object in the log message.The script context (obfuscated) in which the error occurredcom.google.protobuf.ByteStringThe script context (obfuscated) in which the error occurredSeverity of the translation record.com.google.protobuf.ByteStringSeverity of the translation record.intSpecifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6intSpecifies the row from the source text where the error occurred (0 based, -1 for messages without line location).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GcsReportLogMessage other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Category of the error/warning.setActionBytes(com.google.protobuf.ByteString value) Category of the error/warning.setCategory(String value) Category of the error/warning.setCategoryBytes(com.google.protobuf.ByteString value) Category of the error/warning.Effect of the error/warning.setEffectBytes(com.google.protobuf.ByteString value) Effect of the error/warning.setFilename(String value) The file name in which the error occurredsetFilenameBytes(com.google.protobuf.ByteString value) The file name in which the error occurredsetFilePath(String value) The file path in which the error occurredsetFilePathBytes(com.google.protobuf.ByteString value) The file path in which the error occurredsetMessage(String value) Detailed message of the record.setMessageBytes(com.google.protobuf.ByteString value) Detailed message of the record.setObjectName(String value) Name of the affected object in the log message.setObjectNameBytes(com.google.protobuf.ByteString value) Name of the affected object in the log message.setScriptContext(String value) The script context (obfuscated) in which the error occurredsetScriptContextBytes(com.google.protobuf.ByteString value) The script context (obfuscated) in which the error occurredsetSeverity(String value) Severity of the translation record.setSeverityBytes(com.google.protobuf.ByteString value) Severity of the translation record.setSourceScriptColumn(int value) Specifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6setSourceScriptLine(int value) Specifies the row from the source text where the error occurred (0 based, -1 for messages without line location).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GcsReportLogMessage.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GcsReportLogMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GcsReportLogMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcsReportLogMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GcsReportLogMessage.Builder>- Throws:
IOException
-
getSeverity
Severity of the translation record.
string severity = 1;- Specified by:
getSeverityin interfaceGcsReportLogMessageOrBuilder- Returns:
- The severity.
-
getSeverityBytes
public com.google.protobuf.ByteString getSeverityBytes()Severity of the translation record.
string severity = 1;- Specified by:
getSeverityBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for severity.
-
setSeverity
Severity of the translation record.
string severity = 1;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
Severity of the translation record.
string severity = 1;- Returns:
- This builder for chaining.
-
setSeverityBytes
Severity of the translation record.
string severity = 1;- Parameters:
value- The bytes for severity to set.- Returns:
- This builder for chaining.
-
getCategory
Category of the error/warning. Example: SyntaxError
string category = 2;- Specified by:
getCategoryin interfaceGcsReportLogMessageOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()Category of the error/warning. Example: SyntaxError
string category = 2;- Specified by:
getCategoryBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for category.
-
setCategory
Category of the error/warning. Example: SyntaxError
string category = 2;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
Category of the error/warning. Example: SyntaxError
string category = 2;- Returns:
- This builder for chaining.
-
setCategoryBytes
Category of the error/warning. Example: SyntaxError
string category = 2;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getFilePath
The file path in which the error occurred
string file_path = 3;- Specified by:
getFilePathin interfaceGcsReportLogMessageOrBuilder- Returns:
- The filePath.
-
getFilePathBytes
public com.google.protobuf.ByteString getFilePathBytes()The file path in which the error occurred
string file_path = 3;- Specified by:
getFilePathBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for filePath.
-
setFilePath
The file path in which the error occurred
string file_path = 3;- Parameters:
value- The filePath to set.- Returns:
- This builder for chaining.
-
clearFilePath
The file path in which the error occurred
string file_path = 3;- Returns:
- This builder for chaining.
-
setFilePathBytes
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
The file name in which the error occurred
string filename = 4;- Specified by:
getFilenamein interfaceGcsReportLogMessageOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()The file name in which the error occurred
string filename = 4;- Specified by:
getFilenameBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for filename.
-
setFilename
The file name in which the error occurred
string filename = 4;- Parameters:
value- The filename to set.- Returns:
- This builder for chaining.
-
clearFilename
The file name in which the error occurred
string filename = 4;- Returns:
- This builder for chaining.
-
setFilenameBytes
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:
getSourceScriptLinein interfaceGcsReportLogMessageOrBuilder- Returns:
- The sourceScriptLine.
-
setSourceScriptLine
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
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:
getSourceScriptColumnin interfaceGcsReportLogMessageOrBuilder- Returns:
- The sourceScriptColumn.
-
setSourceScriptColumn
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
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
Detailed message of the record.
string message = 7;- Specified by:
getMessagein interfaceGcsReportLogMessageOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Detailed message of the record.
string message = 7;- Specified by:
getMessageBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for message.
-
setMessage
Detailed message of the record.
string message = 7;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Detailed message of the record.
string message = 7;- Returns:
- This builder for chaining.
-
setMessageBytes
Detailed message of the record.
string message = 7;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getScriptContext
The script context (obfuscated) in which the error occurred
string script_context = 8;- Specified by:
getScriptContextin interfaceGcsReportLogMessageOrBuilder- 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:
getScriptContextBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for scriptContext.
-
setScriptContext
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
The script context (obfuscated) in which the error occurred
string script_context = 8;- Returns:
- This builder for chaining.
-
setScriptContextBytes
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
Category of the error/warning. Example: SyntaxError
string action = 9;- Specified by:
getActionin interfaceGcsReportLogMessageOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()Category of the error/warning. Example: SyntaxError
string action = 9;- Specified by:
getActionBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for action.
-
setAction
Category of the error/warning. Example: SyntaxError
string action = 9;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
Category of the error/warning. Example: SyntaxError
string action = 9;- Returns:
- This builder for chaining.
-
setActionBytes
Category of the error/warning. Example: SyntaxError
string action = 9;- Parameters:
value- The bytes for action to set.- Returns:
- This builder for chaining.
-
getEffect
Effect of the error/warning. Example: COMPATIBILITY
string effect = 10;- Specified by:
getEffectin interfaceGcsReportLogMessageOrBuilder- Returns:
- The effect.
-
getEffectBytes
public com.google.protobuf.ByteString getEffectBytes()Effect of the error/warning. Example: COMPATIBILITY
string effect = 10;- Specified by:
getEffectBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for effect.
-
setEffect
Effect of the error/warning. Example: COMPATIBILITY
string effect = 10;- Parameters:
value- The effect to set.- Returns:
- This builder for chaining.
-
clearEffect
Effect of the error/warning. Example: COMPATIBILITY
string effect = 10;- Returns:
- This builder for chaining.
-
setEffectBytes
Effect of the error/warning. Example: COMPATIBILITY
string effect = 10;- Parameters:
value- The bytes for effect to set.- Returns:
- This builder for chaining.
-
getObjectName
Name of the affected object in the log message.
string object_name = 11;- Specified by:
getObjectNamein interfaceGcsReportLogMessageOrBuilder- 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:
getObjectNameBytesin interfaceGcsReportLogMessageOrBuilder- Returns:
- The bytes for objectName.
-
setObjectName
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
Name of the affected object in the log message.
string object_name = 11;- Returns:
- This builder for chaining.
-
setObjectNameBytes
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.
-