NAME
Google::Cloud::Datalabeling::V1beta1::DataPayloads - Compiled Protocol Buffers messages for google/cloud/datalabeling/v1beta1/data_payloads.proto
SYNOPSIS
use Google::Cloud::Datalabeling::V1beta1::DataPayloads;
my $msg = Google::Cloud::Datalabeling::V1beta1::DataPayloads::ImagePayload->new({
mime_type => $mime_type,
image_thumbnail => $image_thumbnail,
image_uri => $image_uri,
signed_uri => $signed_uri,
});
# Read or update a field
my $val = $msg->mime_type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datalabeling::V1beta1::DataPayloads::ImagePayload->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datalabeling/v1beta1/data_payloads.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::Datalabeling::V1beta1::DataPayloads::ImagePayload
Container of information about an image.
Inherits from Protobuf::Message.
Accessors
$msg->mime_type()/$msg->mime_type($value)Type:
StringImage format.
$msg->image_thumbnail()/$msg->image_thumbnail($value)Type:
BytesA byte string of a thumbnail image.
$msg->image_uri()/$msg->image_uri($value)Type:
StringImage uri from the user bucket.
$msg->signed_uri()/$msg->signed_uri($value)Type:
StringSigned uri of the image file in the service bucket.
Google::Cloud::Datalabeling::V1beta1::DataPayloads::TextPayload
Container of information about a piece of text.
Inherits from Protobuf::Message.
Accessors
$msg->text_content()/$msg->text_content($value)Type:
StringText content.
Google::Cloud::Datalabeling::V1beta1::DataPayloads::VideoThumbnail
Container of information of a video thumbnail.
Inherits from Protobuf::Message.
Accessors
$msg->thumbnail()/$msg->thumbnail($value)Type:
BytesA byte string of the video frame.
$msg->time_offset()/$msg->time_offset($value)Type:
Message(Google::Protobuf::Duration::Duration)Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
Google::Cloud::Datalabeling::V1beta1::DataPayloads::VideoPayload
Container of information of a video.
Inherits from Protobuf::Message.
Accessors
$msg->mime_type()/$msg->mime_type($value)Type:
StringVideo format.
$msg->video_uri()/$msg->video_uri($value)Type:
StringVideo uri from the user bucket.
$msg->video_thumbnails()/$msg->video_thumbnails($value)Type:
Message(Google::Cloud::Datalabeling::V1beta1::DataPayloads::VideoThumbnail)The list of video thumbnails.
$msg->frame_rate()/$msg->frame_rate($value)Type:
FloatFPS of the video.
$msg->signed_uri()/$msg->signed_uri($value)Type:
StringSigned uri of the video file in the service bucket.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datalabeling::V1beta1::DataPayloads::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.