# BigQuery Storage V1 API - Class Google::Cloud::Bigquery::Storage::V1::ProtoSchema (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.27.0 0.26.0 0.25.2 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.1 0.18.0 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.1 0.9.2 Reference documentation and code samples for the BigQuery Storage V1 API class Google::Cloud::Bigquery::Storage::V1::ProtoSchema.

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

**Returns**

- (::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

**Parameter**

- **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
**Returns**

- (::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