Class GcsReportLogMessage.Builder (0.51.0)

public static final class GcsReportLogMessage.Builder extends GeneratedMessageV3.Builder<GcsReportLogMessage.Builder> implements GcsReportLogMessageOrBuilder

A record in the aggregate CSV report for a migration workflow

Protobuf type google.cloud.bigquery.migration.v2.GcsReportLogMessage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcsReportLogMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

build()

public GcsReportLogMessage build()
Returns
Type Description
GcsReportLogMessage

buildPartial()

public GcsReportLogMessage buildPartial()
Returns
Type Description
GcsReportLogMessage

clear()

public GcsReportLogMessage.Builder clear()
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

clearAction()

public GcsReportLogMessage.Builder clearAction()

Category of the error/warning. Example: SyntaxError

string action = 9;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearCategory()

public GcsReportLogMessage.Builder clearCategory()

Category of the error/warning. Example: SyntaxError

string category = 2;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearEffect()

public GcsReportLogMessage.Builder clearEffect()

Effect of the error/warning. Example: COMPATIBILITY

string effect = 10;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GcsReportLogMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

clearFilePath()

public GcsReportLogMessage.Builder clearFilePath()

The file path in which the error occurred

string file_path = 3;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearFilename()

public GcsReportLogMessage.Builder clearFilename()

The file name in which the error occurred

string filename = 4;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearMessage()

public GcsReportLogMessage.Builder clearMessage()

Detailed message of the record.

string message = 7;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearObjectName()

public GcsReportLogMessage.Builder clearObjectName()

Name of the affected object in the log message.

string object_name = 11;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsReportLogMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

clearScriptContext()

public GcsReportLogMessage.Builder clearScriptContext()

The script context (obfuscated) in which the error occurred

string script_context = 8;

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clearSeverity()

public GcsReportLogMessage.Builder clearSeverity()

Severity of the translation record.

string severity = 1;

Returns
Type Description
GcsReportLogMessage.Builder

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
Type Description
GcsReportLogMessage.Builder

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
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

clone()

public GcsReportLogMessage.Builder clone()
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

getAction()

public String getAction()

Category of the error/warning. Example: SyntaxError

string action = 9;

Returns
Type Description
String

The action.

getActionBytes()

public ByteString getActionBytes()

Category of the error/warning. Example: SyntaxError

string action = 9;

Returns
Type Description
ByteString

The bytes for action.

getCategory()

public String getCategory()

Category of the error/warning. Example: SyntaxError

string category = 2;

Returns
Type Description
String

The category.

getCategoryBytes()

public ByteString getCategoryBytes()

Category of the error/warning. Example: SyntaxError

string category = 2;

Returns
Type Description
ByteString

The bytes for category.

getDefaultInstanceForType()

public GcsReportLogMessage getDefaultInstanceForType()
Returns
Type Description
GcsReportLogMessage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEffect()

public String getEffect()

Effect of the error/warning. Example: COMPATIBILITY

string effect = 10;

Returns
Type Description
String

The effect.

getEffectBytes()

public ByteString getEffectBytes()

Effect of the error/warning. Example: COMPATIBILITY

string effect = 10;

Returns
Type Description
ByteString

The bytes for effect.

getFilePath()

public String getFilePath()

The file path in which the error occurred

string file_path = 3;

Returns
Type Description
String

The filePath.

getFilePathBytes()

public ByteString getFilePathBytes()

The file path in which the error occurred

string file_path = 3;

Returns
Type Description
ByteString

The bytes for filePath.

getFilename()

public String getFilename()

The file name in which the error occurred

string filename = 4;

Returns
Type Description
String

The filename.

getFilenameBytes()

public ByteString getFilenameBytes()

The file name in which the error occurred

string filename = 4;

Returns
Type Description
ByteString

The bytes for filename.

getMessage()

public String getMessage()

Detailed message of the record.

string message = 7;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Detailed message of the record.

string message = 7;

Returns
Type Description
ByteString

The bytes for message.

getObjectName()

public String getObjectName()

Name of the affected object in the log message.

string object_name = 11;

Returns
Type Description
String

The objectName.

getObjectNameBytes()

public ByteString getObjectNameBytes()

Name of the affected object in the log message.

string object_name = 11;

Returns
Type Description
ByteString

The bytes for objectName.

getScriptContext()

public String getScriptContext()

The script context (obfuscated) in which the error occurred

string script_context = 8;

Returns
Type Description
String

The scriptContext.

getScriptContextBytes()

public ByteString getScriptContextBytes()

The script context (obfuscated) in which the error occurred

string script_context = 8;

Returns
Type Description
ByteString

The bytes for scriptContext.

getSeverity()

public String getSeverity()

Severity of the translation record.

string severity = 1;

Returns
Type Description
String

The severity.

getSeverityBytes()

public ByteString getSeverityBytes()

Severity of the translation record.

string severity = 1;

Returns
Type Description
ByteString

The bytes for severity.

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;

Returns
Type Description
int

The sourceScriptColumn.

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;

Returns
Type Description
int

The sourceScriptLine.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsReportLogMessage other)

public GcsReportLogMessage.Builder mergeFrom(GcsReportLogMessage other)
Parameter
Name Description
other GcsReportLogMessage
Returns
Type Description
GcsReportLogMessage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcsReportLogMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GcsReportLogMessage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcsReportLogMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

setAction(String value)

public GcsReportLogMessage.Builder setAction(String value)

Category of the error/warning. Example: SyntaxError

string action = 9;

Parameter
Name Description
value String

The action to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setActionBytes(ByteString value)

public GcsReportLogMessage.Builder setActionBytes(ByteString value)

Category of the error/warning. Example: SyntaxError

string action = 9;

Parameter
Name Description
value ByteString

The bytes for action to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setCategory(String value)

public GcsReportLogMessage.Builder setCategory(String value)

Category of the error/warning. Example: SyntaxError

string category = 2;

Parameter
Name Description
value String

The category to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setCategoryBytes(ByteString value)

public GcsReportLogMessage.Builder setCategoryBytes(ByteString value)

Category of the error/warning. Example: SyntaxError

string category = 2;

Parameter
Name Description
value ByteString

The bytes for category to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setEffect(String value)

public GcsReportLogMessage.Builder setEffect(String value)

Effect of the error/warning. Example: COMPATIBILITY

string effect = 10;

Parameter
Name Description
value String

The effect to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setEffectBytes(ByteString value)

public GcsReportLogMessage.Builder setEffectBytes(ByteString value)

Effect of the error/warning. Example: COMPATIBILITY

string effect = 10;

Parameter
Name Description
value ByteString

The bytes for effect to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GcsReportLogMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

setFilePath(String value)

public GcsReportLogMessage.Builder setFilePath(String value)

The file path in which the error occurred

string file_path = 3;

Parameter
Name Description
value String

The filePath to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setFilePathBytes(ByteString value)

public GcsReportLogMessage.Builder setFilePathBytes(ByteString value)

The file path in which the error occurred

string file_path = 3;

Parameter
Name Description
value ByteString

The bytes for filePath to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setFilename(String value)

public GcsReportLogMessage.Builder setFilename(String value)

The file name in which the error occurred

string filename = 4;

Parameter
Name Description
value String

The filename to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setFilenameBytes(ByteString value)

public GcsReportLogMessage.Builder setFilenameBytes(ByteString value)

The file name in which the error occurred

string filename = 4;

Parameter
Name Description
value ByteString

The bytes for filename to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setMessage(String value)

public GcsReportLogMessage.Builder setMessage(String value)

Detailed message of the record.

string message = 7;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public GcsReportLogMessage.Builder setMessageBytes(ByteString value)

Detailed message of the record.

string message = 7;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setObjectName(String value)

public GcsReportLogMessage.Builder setObjectName(String value)

Name of the affected object in the log message.

string object_name = 11;

Parameter
Name Description
value String

The objectName to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setObjectNameBytes(ByteString value)

public GcsReportLogMessage.Builder setObjectNameBytes(ByteString value)

Name of the affected object in the log message.

string object_name = 11;

Parameter
Name Description
value ByteString

The bytes for objectName to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcsReportLogMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

setScriptContext(String value)

public GcsReportLogMessage.Builder setScriptContext(String value)

The script context (obfuscated) in which the error occurred

string script_context = 8;

Parameter
Name Description
value String

The scriptContext to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setScriptContextBytes(ByteString value)

public GcsReportLogMessage.Builder setScriptContextBytes(ByteString value)

The script context (obfuscated) in which the error occurred

string script_context = 8;

Parameter
Name Description
value ByteString

The bytes for scriptContext to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setSeverity(String value)

public GcsReportLogMessage.Builder setSeverity(String value)

Severity of the translation record.

string severity = 1;

Parameter
Name Description
value String

The severity to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setSeverityBytes(ByteString value)

public GcsReportLogMessage.Builder setSeverityBytes(ByteString value)

Severity of the translation record.

string severity = 1;

Parameter
Name Description
value ByteString

The bytes for severity to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setSourceScriptColumn(int value)

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;

Parameter
Name Description
value int

The sourceScriptColumn to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setSourceScriptLine(int value)

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;

Parameter
Name Description
value int

The sourceScriptLine to set.

Returns
Type Description
GcsReportLogMessage.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GcsReportLogMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GcsReportLogMessage.Builder
Overrides