ProtoSchema describes the schema of the serialized protocol buffer data rows.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#proto_descriptor
def proto_descriptor() -> ::Google::Protobuf::DescriptorProto
-
(::Google::Protobuf::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
#proto_descriptor=
def proto_descriptor=(value) -> ::Google::Protobuf::DescriptorProto
-
value (::Google::Protobuf::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
-
(::Google::Protobuf::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