Class RowError (3.5.0)

public final class RowError extends GeneratedMessageV3 implements RowErrorOrBuilder

The message that presents row level error info in a request.

Protobuf type google.cloud.bigquery.storage.v1.RowError

Implements

RowErrorOrBuilder

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
Type Description
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RowError getDefaultInstance()
Returns
Type Description
RowError

getDescriptor()

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

newBuilder()

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

newBuilder(RowError prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCode()

public RowError.RowErrorCode getCode()

Structured error reason for a row error.

.google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2;

Returns
Type Description
RowError.RowErrorCode

The code.

getCodeValue()

public int getCodeValue()

Structured error reason for a row error.

.google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2;

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public RowError getDefaultInstanceForType()
Returns
Type Description
RowError

getIndex()

public long getIndex()

Index of the malformed row in the request.

int64 index = 1;

Returns
Type Description
long

The index.

getMessage()

public String getMessage()

Description of the issue encountered when processing the row.

string message = 3;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Description of the issue encountered when processing the row.

string message = 3;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 RowError.Builder newBuilderForType()
Returns
Type Description
RowError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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