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

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

There is a newer version: 2.49.0
Show newest version
/*
 * Copyright 2020 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/v1/translation.proto

package com.google.cloud.automl.v1;

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_v1_TranslationDatasetMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1_TranslationDatasetMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1_TranslationEvaluationMetrics_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1_TranslationEvaluationMetrics_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1_TranslationModelMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1_TranslationModelMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_automl_v1_TranslationAnnotation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_automl_v1_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/v1/translation.pro"
          + "to\022\026google.cloud.automl.v1\032\034google/api/a"
          + "nnotations.proto\032\037google/api/field_behav"
          + "ior.proto\032\'google/cloud/automl/v1/data_i"
          + "tems.proto\"b\n\032TranslationDatasetMetadata"
          + "\022!\n\024source_language_code\030\001 \001(\tB\003\340A\002\022!\n\024t"
          + "arget_language_code\030\002 \001(\tB\003\340A\002\"K\n\034Transl"
          + "ationEvaluationMetrics\022\022\n\nbleu_score\030\001 \001"
          + "(\001\022\027\n\017base_bleu_score\030\002 \001(\001\"j\n\030Translati"
          + "onModelMetadata\022\022\n\nbase_model\030\001 \001(\t\022\034\n\024s"
          + "ource_language_code\030\002 \001(\t\022\034\n\024target_lang"
          + "uage_code\030\003 \001(\t\"X\n\025TranslationAnnotation"
          + "\022?\n\022translated_content\030\001 \001(\0132#.google.cl"
          + "oud.automl.v1.TextSnippetB\274\001\n\032com.google"
          + ".cloud.automl.v1B\020TranslationProtoP\001Z




© 2015 - 2024 Weber Informatics LLC | Privacy Policy