public static final class TranslationReportRecord.Builder extends GeneratedMessage.Builder<TranslationReportRecord.Builder> implements TranslationReportRecordOrBuilderDetails about a record.
Protobuf type google.cloud.bigquery.migration.v2.TranslationReportRecord
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TranslationReportRecord.BuilderImplements
TranslationReportRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearCategory()
public TranslationReportRecord.Builder clearCategory()Category of the error/warning. Example: SyntaxError
string category = 4;
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
This builder for chaining. |
clearMessage()
public TranslationReportRecord.Builder clearMessage()Detailed message of the record.
string message = 5;
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
This builder for chaining. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TranslationReportRecord.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
|
setCategory(String value)
public TranslationReportRecord.Builder setCategory(String value)Category of the error/warning. Example: SyntaxError
string category = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for category to set. |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
This builder for chaining. |
setMessage(String value)
public TranslationReportRecord.Builder setMessage(String value)Detailed message of the record.
string message = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
This builder for chaining. |
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 |
intThe 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 |
intThe 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.SeverityThe 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 |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
This builder for chaining. |