Send feedback
Class BatchSizeTooLargeError.Builder (3.11.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class BatchSizeTooLargeError . Builder extends GeneratedMessageV3 . Builder<BatchSizeTooLargeError . Builder > 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public BatchSizeTooLargeError . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public BatchSizeTooLargeError build ()
public BatchSizeTooLargeError buildPartial ()
public BatchSizeTooLargeError . Builder clear ()
Overrides
public BatchSizeTooLargeError . Builder clearErrorMessage ()
Optional. The error message that is returned to the client.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
public BatchSizeTooLargeError . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public BatchSizeTooLargeError . Builder clearMaxBatchSize ()
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;
public BatchSizeTooLargeError . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public BatchSizeTooLargeError . Builder clone ()
Overrides
public BatchSizeTooLargeError getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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.
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.
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BatchSizeTooLargeError . Builder mergeFrom ( BatchSizeTooLargeError other )
public BatchSizeTooLargeError . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public BatchSizeTooLargeError . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final BatchSizeTooLargeError . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public BatchSizeTooLargeError . Builder setErrorMessage ( String value )
Optional. The error message that is returned to the client.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The errorMessage to set.
public BatchSizeTooLargeError . Builder setErrorMessageBytes ( ByteString value )
Optional. The error message that is returned to the client.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for errorMessage to set.
public BatchSizeTooLargeError . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public BatchSizeTooLargeError . Builder setMaxBatchSize ( long value )
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;
Parameter
Name
Description
value
long
The maxBatchSize to set.
public BatchSizeTooLargeError . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final BatchSizeTooLargeError . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]