NAME

Google::Cloud::Automl::V1beta1::Temporal - Compiled Protocol Buffers messages for google/cloud/automl/v1beta1/temporal.proto

SYNOPSIS

use Google::Cloud::Automl::V1beta1::Temporal;

my $msg = Google::Cloud::Automl::V1beta1::Temporal::TimeSegment->new({
    start_time_offset => $start_time_offset,
    end_time_offset => $end_time_offset,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/temporal.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::V1beta1::Temporal::TimeSegment

A time period inside of an example that has a time dimension (e.g. video).

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Start of the time segment (inclusive), represented as the duration since the example start.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    End of the time segment (exclusive), represented as the duration since the example start.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Automl::V1beta1::Temporal::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.