Class TranslationReportRecord.Builder (0.51.0)

public static final class TranslationReportRecord.Builder extends GeneratedMessageV3.Builder<TranslationReportRecord.Builder> implements TranslationReportRecordOrBuilder

Details about a record.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranslationReportRecord build()
Returns
Type Description
TranslationReportRecord

buildPartial()

public TranslationReportRecord buildPartial()
Returns
Type Description
TranslationReportRecord

clear()

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

clearCategory()

public TranslationReportRecord.Builder clearCategory()

Category of the error/warning. Example: SyntaxError

string category = 4;

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public TranslationReportRecord.Builder clearMessage()

Detailed message of the record.

string message = 5;

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScriptColumn()

public TranslationReportRecord.Builder clearScriptColumn()

Specifies the column from the source texts where the error occurred. (0 based) example: 6

int32 script_column = 3;

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

clearScriptLine()

public TranslationReportRecord.Builder clearScriptLine()

Specifies the row from the source text where the error occurred (0 based). Example: 2

int32 script_line = 2;

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

clearSeverity()

public TranslationReportRecord.Builder clearSeverity()

Severity of the translation record.

.google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

clone()

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

getCategory()

public String getCategory()

Category of the error/warning. Example: SyntaxError

string category = 4;

Returns
Type Description
String

The category.

getCategoryBytes()

public ByteString getCategoryBytes()

Category of the error/warning. Example: SyntaxError

string category = 4;

Returns
Type Description
ByteString

The bytes for category.

getDefaultInstanceForType()

public TranslationReportRecord getDefaultInstanceForType()
Returns
Type Description
TranslationReportRecord

getDescriptorForType()

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

getMessage()

public String getMessage()

Detailed message of the record.

string message = 5;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Detailed message of the record.

string message = 5;

Returns
Type Description
ByteString

The bytes for message.

getScriptColumn()

public int getScriptColumn()

Specifies the column from the source texts where the error occurred. (0 based) example: 6

int32 script_column = 3;

Returns
Type Description
int

The scriptColumn.

getScriptLine()

public int getScriptLine()

Specifies the row from the source text where the error occurred (0 based). Example: 2

int32 script_line = 2;

Returns
Type Description
int

The scriptLine.

getSeverity()

public TranslationReportRecord.Severity getSeverity()

Severity of the translation record.

.google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;

Returns
Type Description
TranslationReportRecord.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

Severity of the translation record.

.google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;

Returns
Type Description
int

The enum numeric value on the wire for severity.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TranslationReportRecord other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCategory(String value)

public TranslationReportRecord.Builder setCategory(String value)

Category of the error/warning. Example: SyntaxError

string category = 4;

Parameter
Name Description
value String

The category to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setCategoryBytes(ByteString value)

public TranslationReportRecord.Builder setCategoryBytes(ByteString value)

Category of the error/warning. Example: SyntaxError

string category = 4;

Parameter
Name Description
value ByteString

The bytes for category to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public TranslationReportRecord.Builder setMessage(String value)

Detailed message of the record.

string message = 5;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public TranslationReportRecord.Builder setMessageBytes(ByteString value)

Detailed message of the record.

string message = 5;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

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

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

setScriptColumn(int value)

public TranslationReportRecord.Builder setScriptColumn(int value)

Specifies the column from the source texts where the error occurred. (0 based) example: 6

int32 script_column = 3;

Parameter
Name Description
value int

The scriptColumn to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setScriptLine(int value)

public TranslationReportRecord.Builder setScriptLine(int value)

Specifies the row from the source text where the error occurred (0 based). Example: 2

int32 script_line = 2;

Parameter
Name Description
value int

The scriptLine to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setSeverity(TranslationReportRecord.Severity value)

public TranslationReportRecord.Builder setSeverity(TranslationReportRecord.Severity value)

Severity of the translation record.

.google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;

Parameter
Name Description
value TranslationReportRecord.Severity

The severity to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setSeverityValue(int value)

public TranslationReportRecord.Builder setSeverityValue(int value)

Severity of the translation record.

.google.cloud.bigquery.migration.v2.TranslationReportRecord.Severity severity = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
TranslationReportRecord.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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