- 0.54.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TranslationReportRecord.BuilderImplements
TranslationReportRecordOrBuilderStatic 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 |
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. |
clearField(Descriptors.FieldDescriptor field)
public TranslationReportRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TranslationReportRecord.Builder |
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 |
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 |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslationReportRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
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 |
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 |
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 |