Class RowError (3.2.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
TypeDescription
int

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RowError getDefaultInstance()
Returns
TypeDescription
RowError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RowError.Builder newBuilder()
Returns
TypeDescription
RowError.Builder

newBuilder(RowError prototype)

public static RowError.Builder newBuilder(RowError prototype)
Parameter
NameDescription
prototypeRowError
Returns
TypeDescription
RowError.Builder

parseDelimitedFrom(InputStream input)

public static RowError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RowError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RowError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RowError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RowError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RowError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RowError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RowError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RowError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RowError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RowError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RowError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RowError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RowError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RowError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RowError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RowError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RowError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RowError> parser()
Returns
TypeDescription
Parser<RowError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCode()

public RowError.RowErrorCode getCode()

Structured error reason for a row error.

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

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public RowError getDefaultInstanceForType()
Returns
TypeDescription
RowError

getIndex()

public long getIndex()

Index of the malformed row in the request.

int64 index = 1;

Returns
TypeDescription
long

The index.

getMessage()

public String getMessage()

Description of the issue encountered when processing the row.

string message = 3;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Description of the issue encountered when processing the row.

string message = 3;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<RowError> getParserForType()
Returns
TypeDescription
Parser<RowError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RowError.Builder newBuilderForType()
Returns
TypeDescription
RowError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RowError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RowError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RowError.Builder toBuilder()
Returns
TypeDescription
RowError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException