public final class TranslationReportRecord extends GeneratedMessage implements TranslationReportRecordOrBuilderDetails about a record.
Protobuf type google.cloud.bigquery.migration.v2.TranslationReportRecord
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TranslationReportRecordImplements
TranslationReportRecordOrBuilderStatic Fields
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCRIPT_COLUMN_FIELD_NUMBER
public static final int SCRIPT_COLUMN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCRIPT_LINE_FIELD_NUMBER
public static final int SCRIPT_LINE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static TranslationReportRecord getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TranslationReportRecord.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
|
newBuilder(TranslationReportRecord prototype)
public static TranslationReportRecord.Builder newBuilder(TranslationReportRecord prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TranslationReportRecord |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
|
parseDelimitedFrom(InputStream input)
public static TranslationReportRecord parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TranslationReportRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TranslationReportRecord parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TranslationReportRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TranslationReportRecord parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TranslationReportRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TranslationReportRecord parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TranslationReportRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TranslationReportRecord parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TranslationReportRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TranslationReportRecord parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TranslationReportRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TranslationReportRecord> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TranslationReportRecord> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
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. |
getParserForType()
public Parser<TranslationReportRecord> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TranslationReportRecord> |
|
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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TranslationReportRecord.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TranslationReportRecord.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
|
toBuilder()
public TranslationReportRecord.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TranslationReportRecord.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|