Class RowError.Builder (2.47.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RowError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RowError.Builder
Overrides

build()

public RowError build()
Returns
TypeDescription
RowError

buildPartial()

public RowError buildPartial()
Returns
TypeDescription
RowError

clear()

public RowError.Builder clear()
Returns
TypeDescription
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
TypeDescription
RowError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RowError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RowError.Builder
Overrides

clearIndex()

public RowError.Builder clearIndex()

Index of the malformed row in the request.

int64 index = 1;

Returns
TypeDescription
RowError.Builder

This builder for chaining.

clearMessage()

public RowError.Builder clearMessage()

Description of the issue encountered when processing the row.

string message = 3;

Returns
TypeDescription
RowError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RowError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RowError.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RowError other)

public RowError.Builder mergeFrom(RowError other)
Parameter
NameDescription
otherRowError
Returns
TypeDescription
RowError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RowError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RowError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RowError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RowError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RowError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueRowError.RowErrorCode

The code to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
RowError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RowError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RowError.Builder
Overrides

setIndex(long value)

public RowError.Builder setIndex(long value)

Index of the malformed row in the request.

int64 index = 1;

Parameter
NameDescription
valuelong

The index to set.

Returns
TypeDescription
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
NameDescription
valueString

The message to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RowError.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RowError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RowError.Builder
Overrides