Class ProtoSchema (2.16.1)

ProtoSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ProtoSchema describes the schema of the serialized protocol buffer data rows.

Attribute

NameDescription
proto_descriptor google.protobuf.descriptor_pb2.DescriptorProto
Descriptor for input message. The provided descriptor must be self contained, such that data rows sent can be fully decoded using only the single descriptor. For data rows that are compositions of multiple independent messages, this means the descriptor may need to be transformed to only use nested types: https://developers.google.com/protocol-buffers/docs/proto#nested For additional information for how proto types and values map onto BigQuery see: https://cloud.google.com/bigquery/docs/write-api#data_type_conversions

Inheritance

builtins.object > proto.message.Message > ProtoSchema