com.google.cloud.automl.v1.TranslationProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-automl-v1 Show documentation
Show all versions of proto-google-cloud-automl-v1 Show documentation
PROTO library for proto-google-cloud-automl-v1
/*
* 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/v1/translation.proto
// Protobuf Java Version: 3.25.4
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\037google/api/f"
+ "ield_behavior.proto\032\'google/cloud/automl"
+ "/v1/data_items.proto\"b\n\032TranslationDatas"
+ "etMetadata\022!\n\024source_language_code\030\001 \001(\t"
+ "B\003\340A\002\022!\n\024target_language_code\030\002 \001(\tB\003\340A\002"
+ "\"K\n\034TranslationEvaluationMetrics\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\024t"
+ "arget_language_code\030\003 \001(\t\"X\n\025Translation"
+ "Annotation\022?\n\022translated_content\030\001 \001(\0132#"
+ ".google.cloud.automl.v1.TextSnippetB\262\001\n\032"
+ "com.google.cloud.automl.v1B\020TranslationP"
+ "rotoP\001Z2cloud.google.com/go/automl/apiv1"
+ "/automlpb;automlpb\252\002\026Google.Cloud.AutoML"
+ ".V1\312\002\026Google\\Cloud\\AutoMl\\V1\352\002\031Google::C"
+ "loud::AutoML::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.cloud.automl.v1.DataItems.getDescriptor(),
});
internal_static_google_cloud_automl_v1_TranslationDatasetMetadata_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_automl_v1_TranslationDatasetMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_TranslationDatasetMetadata_descriptor,
new java.lang.String[] {
"SourceLanguageCode", "TargetLanguageCode",
});
internal_static_google_cloud_automl_v1_TranslationEvaluationMetrics_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_cloud_automl_v1_TranslationEvaluationMetrics_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_TranslationEvaluationMetrics_descriptor,
new java.lang.String[] {
"BleuScore", "BaseBleuScore",
});
internal_static_google_cloud_automl_v1_TranslationModelMetadata_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_cloud_automl_v1_TranslationModelMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_TranslationModelMetadata_descriptor,
new java.lang.String[] {
"BaseModel", "SourceLanguageCode", "TargetLanguageCode",
});
internal_static_google_cloud_automl_v1_TranslationAnnotation_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_google_cloud_automl_v1_TranslationAnnotation_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_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.v1.DataItems.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}