public static final class RowError.Builder extends GeneratedMessage.Builder<RowError.Builder> implements RowErrorOrBuilderThe message that presents row level error info in a request.
Protobuf type google.cloud.bigquery.storage.v1.RowError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RowError.BuilderImplements
RowErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RowError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RowError.Builder |
|
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.RowErrorCodeThe 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 |
intThe enum numeric value on the wire for code to set. |
| Returns | |
|---|---|
| Type | Description |
RowError.Builder |
This builder for chaining. |
setIndex(long value)
public RowError.Builder setIndex(long value)Index of the malformed row in the request.
int64 index = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe 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 |
StringThe 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 |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
RowError.Builder |
This builder for chaining. |