Class BatchSizeTooLargeError (3.9.1)

public final class BatchSizeTooLargeError extends GeneratedMessageV3 implements BatchSizeTooLargeErrorOrBuilder

Structured custom error message for batch size too large error. The error can be attached as error details in the returned rpc Status for more structured error handling in the client.

Protobuf type google.cloud.bigquery.storage.v1alpha.BatchSizeTooLargeError

Static Fields

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

MAX_BATCH_SIZE_FIELD_NUMBER

public static final int MAX_BATCH_SIZE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchSizeTooLargeError getDefaultInstance()
Returns
Type Description
BatchSizeTooLargeError

getDescriptor()

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

newBuilder()

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

newBuilder(BatchSizeTooLargeError prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchSizeTooLargeError getDefaultInstanceForType()
Returns
Type Description
BatchSizeTooLargeError

getErrorMessage()

public String getErrorMessage()

Optional. The error message that is returned to the client.

string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Optional. The error message that is returned to the client.

string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for errorMessage.

getMaxBatchSize()

public long getMaxBatchSize()

The maximum number of items that are supported in a single batch. This is returned as a hint to the client to adjust the batch size.

int64 max_batch_size = 1;

Returns
Type Description
long

The maxBatchSize.

getParserForType()

public Parser<BatchSizeTooLargeError> getParserForType()
Returns
Type Description
Parser<BatchSizeTooLargeError>
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 BatchSizeTooLargeError.Builder newBuilderForType()
Returns
Type Description
BatchSizeTooLargeError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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