Class RowError.Builder (3.9.1)

public static final class RowError.Builder extends GeneratedMessageV3.Builder<RowError.Builder> implements RowErrorOrBuilder

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

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

Implements

RowErrorOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RowError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RowError.Builder
Overrides

build()

public RowError build()
Returns
Type Description
RowError

buildPartial()

public RowError buildPartial()
Returns
Type Description
RowError

clear()

public RowError.Builder clear()
Returns
Type Description
RowError.Builder
Overrides

clearCode()

public RowError.Builder clearCode()

Structured error reason for a row error.

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

Returns
Type Description
RowError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RowError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RowError.Builder
Overrides

clearIndex()

public RowError.Builder clearIndex()

Index of the malformed row in the request.

int64 index = 1;

Returns
Type Description
RowError.Builder

This builder for chaining.

clearMessage()

public RowError.Builder clearMessage()

Description of the issue encountered when processing the row.

string message = 3;

Returns
Type Description
RowError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RowError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RowError.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RowError other)

public RowError.Builder mergeFrom(RowError other)
Parameter
Name Description
other RowError
Returns
Type Description
RowError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RowError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RowError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RowError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RowError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RowError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RowError.Builder
Overrides

setCode(RowError.RowErrorCode value)

public RowError.Builder setCode(RowError.RowErrorCode value)

Structured error reason for a row error.

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

Parameter
Name Description
value RowError.RowErrorCode

The code to set.

Returns
Type Description
RowError.Builder

This builder for chaining.

setCodeValue(int value)

public RowError.Builder setCodeValue(int value)

Structured error reason for a row error.

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

Parameter
Name Description
value int

The enum numeric value on the wire for code to set.

Returns
Type Description
RowError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RowError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RowError.Builder
Overrides

setIndex(long value)

public RowError.Builder setIndex(long value)

Index of the malformed row in the request.

int64 index = 1;

Parameter
Name Description
value long

The index to set.

Returns
Type Description
RowError.Builder

This builder for chaining.

setMessage(String value)

public RowError.Builder setMessage(String value)

Description of the issue encountered when processing the row.

string message = 3;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
RowError.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public RowError.Builder setMessageBytes(ByteString value)

Description of the issue encountered when processing the row.

string message = 3;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
RowError.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RowError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RowError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RowError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RowError.Builder
Overrides