public static final class ArrowSchema.Builder extends GeneratedMessageV3.Builder<ArrowSchema.Builder> implements ArrowSchemaOrBuilder
Arrow schema as specified in https://arrow.apache.org/docs/python/api/datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/docs/format/Columnar.html#serialization-and-interprocess-communication-ipc See code samples on how this message can be deserialized.
Protobuf type google.cloud.bigquery.storage.v1.ArrowSchema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ArrowSchema.BuilderImplements
ArrowSchemaOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArrowSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ArrowSchema.Builder |
build()
public ArrowSchema build()
Type | Description |
ArrowSchema |
buildPartial()
public ArrowSchema buildPartial()
Type | Description |
ArrowSchema |
clear()
public ArrowSchema.Builder clear()
Type | Description |
ArrowSchema.Builder |
clearField(Descriptors.FieldDescriptor field)
public ArrowSchema.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ArrowSchema.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrowSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ArrowSchema.Builder |
clearSerializedSchema()
public ArrowSchema.Builder clearSerializedSchema()
IPC serialized Arrow schema.
bytes serialized_schema = 1;
Type | Description |
ArrowSchema.Builder | This builder for chaining. |
clone()
public ArrowSchema.Builder clone()
Type | Description |
ArrowSchema.Builder |
getDefaultInstanceForType()
public ArrowSchema getDefaultInstanceForType()
Type | Description |
ArrowSchema |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSerializedSchema()
public ByteString getSerializedSchema()
IPC serialized Arrow schema.
bytes serialized_schema = 1;
Type | Description |
ByteString | The serializedSchema. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ArrowSchema other)
public ArrowSchema.Builder mergeFrom(ArrowSchema other)
Name | Description |
other | ArrowSchema |
Type | Description |
ArrowSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArrowSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ArrowSchema.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ArrowSchema.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ArrowSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrowSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ArrowSchema.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ArrowSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ArrowSchema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArrowSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ArrowSchema.Builder |
setSerializedSchema(ByteString value)
public ArrowSchema.Builder setSerializedSchema(ByteString value)
IPC serialized Arrow schema.
bytes serialized_schema = 1;
Name | Description |
value | ByteString The serializedSchema to set. |
Type | Description |
ArrowSchema.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrowSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ArrowSchema.Builder |