NAME

Google::Cloud::Automl::V1::AnnotationPayload - Compiled Protocol Buffers messages for google/cloud/automl/v1/annotation_payload.proto

SYNOPSIS

use Google::Cloud::Automl::V1::AnnotationPayload;

my $msg = Google::Cloud::Automl::V1::AnnotationPayload::AnnotationPayload->new({
    translation => $translation,
    classification => $classification,
    image_object_detection => $image_object_detection,
    text_extraction => $text_extraction,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Automl::V1::AnnotationPayload::AnnotationPayload->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/automl/v1/annotation_payload.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::Automl::V1::AnnotationPayload::AnnotationPayload

Contains annotation information that is relevant to AutoML.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Automl::V1::AnnotationPayload::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.