public static final class ArrowRecordBatch.Builder extends GeneratedMessageV3.Builder<ArrowRecordBatch.Builder> implements ArrowRecordBatchOrBuilder
Arrow RecordBatch.
Protobuf type google.cloud.bigquery.storage.v1.ArrowRecordBatch
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ArrowRecordBatch.BuilderImplements
ArrowRecordBatchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArrowRecordBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
build()
public ArrowRecordBatch build()
Returns | |
---|---|
Type | Description |
ArrowRecordBatch |
buildPartial()
public ArrowRecordBatch buildPartial()
Returns | |
---|---|
Type | Description |
ArrowRecordBatch |
clear()
public ArrowRecordBatch.Builder clear()
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
clearField(Descriptors.FieldDescriptor field)
public ArrowRecordBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrowRecordBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
clearRowCount() (deprecated)
public ArrowRecordBatch.Builder clearRowCount()
Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43
[Deprecated] The count of rows in serialized_record_batch
.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
This builder for chaining. |
clearSerializedRecordBatch()
public ArrowRecordBatch.Builder clearSerializedRecordBatch()
IPC-serialized Arrow RecordBatch.
bytes serialized_record_batch = 1;
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
This builder for chaining. |
clone()
public ArrowRecordBatch.Builder clone()
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
getDefaultInstanceForType()
public ArrowRecordBatch getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ArrowRecordBatch |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRowCount() (deprecated)
public long getRowCount()
Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43
[Deprecated] The count of rows in serialized_record_batch
.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
long |
The rowCount. |
getSerializedRecordBatch()
public ByteString getSerializedRecordBatch()
IPC-serialized Arrow RecordBatch.
bytes serialized_record_batch = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The serializedRecordBatch. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ArrowRecordBatch other)
public ArrowRecordBatch.Builder mergeFrom(ArrowRecordBatch other)
Parameter | |
---|---|
Name | Description |
other |
ArrowRecordBatch |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArrowRecordBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ArrowRecordBatch.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrowRecordBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ArrowRecordBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArrowRecordBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
setRowCount(long value) (deprecated)
public ArrowRecordBatch.Builder setRowCount(long value)
Deprecated. google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See google/cloud/bigquery/storage/v1/arrow.proto;l=43
[Deprecated] The count of rows in serialized_record_batch
.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
long The rowCount to set. |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
This builder for chaining. |
setSerializedRecordBatch(ByteString value)
public ArrowRecordBatch.Builder setSerializedRecordBatch(ByteString value)
IPC-serialized Arrow RecordBatch.
bytes serialized_record_batch = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The serializedRecordBatch to set. |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrowRecordBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ArrowRecordBatch.Builder |