NAME

Google::Cloud::Bigquery::Migration::V2::TranslationSuggestion - Compiled Protocol Buffers messages for google/cloud/bigquery/migration/v2/translation_suggestion.proto

SYNOPSIS

use Google::Cloud::Bigquery::Migration::V2::TranslationSuggestion;

my $msg = Google::Cloud::Bigquery::Migration::V2::TranslationSuggestion::TranslationReportRecord->new({
    severity => $severity,
    script_line => $script_line,
    script_column => $script_column,
    category => $category,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Migration::V2::TranslationSuggestion::TranslationReportRecord->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/migration/v2/translation_suggestion.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::Migration::V2::TranslationSuggestion::TranslationReportRecord

Details about a record.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Bigquery::Migration::V2::TranslationReportRecord::Severity)

    Severity of the translation record.

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

    Type: Int32

    Specifies the row from the source text where the error occurred (0 based). Example: 2

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

    Type: Int32

    Specifies the column from the source texts where the error occurred. (0 based) example: 6

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

    Type: String

    Category of the error/warning. Example: SyntaxError

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

    Type: String

    Detailed message of the record.

Enum: TranslationReportRecord::Severity

  • SEVERITY_UNSPECIFIED => 0

  • INFO => 1

  • WARNING => 2

  • ERROR => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Migration::V2::TranslationSuggestion::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.