Class GcsReportLogMessage (0.50.0)

public final class GcsReportLogMessage extends GeneratedMessageV3 implements GcsReportLogMessageOrBuilder

A record in the aggregate CSV report for a migration workflow

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

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_FIELD_NUMBER

public static final int CATEGORY_FIELD_NUMBER
Field Value
Type Description
int

EFFECT_FIELD_NUMBER

public static final int EFFECT_FIELD_NUMBER
Field Value
Type Description
int

FILENAME_FIELD_NUMBER

public static final int FILENAME_FIELD_NUMBER
Field Value
Type Description
int

FILE_PATH_FIELD_NUMBER

public static final int FILE_PATH_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_NAME_FIELD_NUMBER

public static final int OBJECT_NAME_FIELD_NUMBER
Field Value
Type Description
int

SCRIPT_CONTEXT_FIELD_NUMBER

public static final int SCRIPT_CONTEXT_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_SCRIPT_COLUMN_FIELD_NUMBER

public static final int SOURCE_SCRIPT_COLUMN_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_SCRIPT_LINE_FIELD_NUMBER

public static final int SOURCE_SCRIPT_LINE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GcsReportLogMessage getDefaultInstance()
Returns
Type Description
GcsReportLogMessage

getDescriptor()

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

newBuilder()

public static GcsReportLogMessage.Builder newBuilder()
Returns
Type Description
GcsReportLogMessage.Builder

newBuilder(GcsReportLogMessage prototype)

public static GcsReportLogMessage.Builder newBuilder(GcsReportLogMessage prototype)
Parameter
Name Description
prototype GcsReportLogMessage
Returns
Type Description
GcsReportLogMessage.Builder

parseDelimitedFrom(InputStream input)

public static GcsReportLogMessage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GcsReportLogMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GcsReportLogMessage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GcsReportLogMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GcsReportLogMessage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GcsReportLogMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GcsReportLogMessage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GcsReportLogMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GcsReportLogMessage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GcsReportLogMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GcsReportLogMessage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GcsReportLogMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GcsReportLogMessage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GcsReportLogMessage> parser()
Returns
Type Description
Parser<GcsReportLogMessage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<GcsReportLogMessage> getParserForType()
Returns
Type Description
Parser<GcsReportLogMessage>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GcsReportLogMessage.Builder newBuilderForType()
Returns
Type Description
GcsReportLogMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GcsReportLogMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GcsReportLogMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GcsReportLogMessage.Builder toBuilder()
Returns
Type Description
GcsReportLogMessage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException