All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.automl.v1beta1.TranslationProto Maven / Gradle / Ivy

There is a newer version: 0.141.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/automl/v1beta1/translation.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.automl.v1beta1;

public final class TranslationProto {
  private TranslationProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1beta1_TranslationDatasetMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1beta1_TranslationDatasetMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1beta1_TranslationEvaluationMetrics_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1beta1_TranslationEvaluationMetrics_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1beta1_TranslationModelMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1beta1_TranslationModelMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1beta1_TranslationAnnotation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1beta1_TranslationAnnotation_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n-google/cloud/automl/v1beta1/translatio"
          + "n.proto\022\033google.cloud.automl.v1beta1\032\037go"
          + "ogle/api/field_behavior.proto\032,google/cl"
          + "oud/automl/v1beta1/data_items.proto\"b\n\032T"
          + "ranslationDatasetMetadata\022!\n\024source_lang"
          + "uage_code\030\001 \001(\tB\003\340A\002\022!\n\024target_language_"
          + "code\030\002 \001(\tB\003\340A\002\"K\n\034TranslationEvaluation"
          + "Metrics\022\022\n\nbleu_score\030\001 \001(\001\022\027\n\017base_bleu"
          + "_score\030\002 \001(\001\"j\n\030TranslationModelMetadata"
          + "\022\022\n\nbase_model\030\001 \001(\t\022\034\n\024source_language_"
          + "code\030\002 \001(\t\022\034\n\024target_language_code\030\003 \001(\t"
          + "\"]\n\025TranslationAnnotation\022D\n\022translated_"
          + "content\030\001 \001(\0132(.google.cloud.automl.v1be"
          + "ta1.TextSnippetB\255\001\n\037com.google.cloud.aut"
          + "oml.v1beta1B\020TranslationProtoP\001Z7cloud.g"
          + "oogle.com/go/automl/apiv1beta1/automlpb;"
          + "automlpb\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002"
          + "\036Google::Cloud::AutoML::V1beta1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.cloud.automl.v1beta1.DataItems.getDescriptor(),
            });
    internal_static_google_cloud_automl_v1beta1_TranslationDatasetMetadata_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_automl_v1beta1_TranslationDatasetMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_automl_v1beta1_TranslationDatasetMetadata_descriptor,
            new java.lang.String[] {
              "SourceLanguageCode", "TargetLanguageCode",
            });
    internal_static_google_cloud_automl_v1beta1_TranslationEvaluationMetrics_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_automl_v1beta1_TranslationEvaluationMetrics_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_automl_v1beta1_TranslationEvaluationMetrics_descriptor,
            new java.lang.String[] {
              "BleuScore", "BaseBleuScore",
            });
    internal_static_google_cloud_automl_v1beta1_TranslationModelMetadata_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_automl_v1beta1_TranslationModelMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_automl_v1beta1_TranslationModelMetadata_descriptor,
            new java.lang.String[] {
              "BaseModel", "SourceLanguageCode", "TargetLanguageCode",
            });
    internal_static_google_cloud_automl_v1beta1_TranslationAnnotation_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_automl_v1beta1_TranslationAnnotation_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_automl_v1beta1_TranslationAnnotation_descriptor,
            new java.lang.String[] {
              "TranslatedContent",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.cloud.automl.v1beta1.DataItems.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy