NAME

Google::Cloud::Visionai::V1::Lva - Compiled Protocol Buffers messages for google/cloud/visionai/v1/lva.proto

SYNOPSIS

use Google::Cloud::Visionai::V1::Lva;

my $msg = Google::Cloud::Visionai::V1::Lva::OperatorDefinition->new({
    operator => $operator,
    input_args => $input_args,
    output_args => $output_args,
    attributes => $attributes,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/visionai/v1/lva.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::Visionai::V1::Lva::OperatorDefinition

Defines the interface of an Operator.

Arguments to an operator are input/output streams that are getting processesed/returned while attributes are fixed configuration parameters.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1::Lva::ResourceSpecification

ResourceSpec collects a set of resources that can be used to specify requests and requirements.

Note: Highly experimental as this can be runtime dependent. Can use the "extras" field to experiment first before trying to abstract it.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    CPU specification.

    Examples: "100m", "0.5", "1", "2", ... correspond to 0.1, half, 1, or 2 cpus.

    Leave empty to let the system decide.

    Note that this does *not* determine the cpu vender/make, or its underlying clock speed and specific SIMD features. It is only the amount time it requires in timeslicing.

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

    Type: String

    CPU limit.

    Examples: "100m", "0.5", "1", "2", ... correspond to 0.1, half, 1, or 2 cpus.

    Leave empty to indicate no limit.

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

    Type: String

    Memory specification (in bytes).

    Examples: "128974848", "129e6", "129M", "123Mi", ... correspond to 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes.

    Leave empty to let the system decide.

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

    Type: String

    Memory usage limits.

    Examples: "128974848", "129e6", "129M", "123Mi", ... correspond to 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes.

    Leave empty to indicate no limit.

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

    Type: Int32

    Number of gpus.

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

    Type: Int32

    The maximum latency that this operator may use to process an element.

    If non positive, then a system default will be used. Operator developers should arrange for the system compute resources to be aligned with this latency budget; e.g. if you want a ML model to produce results within 500ms, then you should make sure you request enough cpu/gpu/memory to achieve that.

Google::Cloud::Visionai::V1::Lva::AttributeValue

Represents an actual value of an operator attribute.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    int.

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

    Type: Float

    float.

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

    Type: Bool

    bool.

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

    Type: Bytes

    string.

Google::Cloud::Visionai::V1::Lva::AnalyzerDefinition

Defines an Analyzer.

An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1::Lva::AnalysisDefinition

Defines a full analysis.

This is a description of the overall live analytics pipeline. You may think of this as an edge list representation of a multigraph.

This may be directly authored by a human in protobuf textformat, or it may be generated by a programming API (perhaps Python or JavaScript depending on context).

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Visionai::V1::Lva::RunStatus

Message describing the status of the Process.

Inherits from Protobuf::Message.

Accessors

Enum: RunStatus::State

  • STATE_UNSPECIFIED => 0

  • INITIALIZING => 1

  • RUNNING => 2

  • COMPLETED => 3

  • FAILED => 4

  • PENDING => 5

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Visionai::V1::Lva::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.