NAME

Google::Cloud::Bigquery::Storage::V1beta2::Avro - Compiled Protocol Buffers messages for google/cloud/bigquery/storage/v1beta2/avro.proto

SYNOPSIS

use Google::Cloud::Bigquery::Storage::V1beta2::Avro;

my $msg = Google::Cloud::Bigquery::Storage::V1beta2::Avro::AvroSchema->new({
    schema => $schema,
});

# Read or update a field
my $val = $msg->schema();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Storage::V1beta2::Avro::AvroSchema->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/storage/v1beta2/avro.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Bigquery::Storage::V1beta2::Avro::AvroSchema

Avro schema.

Inherits from Protobuf::Message.

Accessors

  • $msg->schema() / $msg->schema($value)

    Type: String

    Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html.

Google::Cloud::Bigquery::Storage::V1beta2::Avro::AvroRows

Avro rows.

Inherits from Protobuf::Message.

Accessors

  • $msg->serialized_binary_rows() / $msg->serialized_binary_rows($value)

    Type: Bytes

    Binary serialized rows in a block.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Storage::V1beta2::Avro::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.