com.google.cloud.automl.v1.TextExtraction 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/text_extraction.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.automl.v1;
public final class TextExtraction {
private TextExtraction() {}
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_TextExtractionAnnotation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_automl_v1_TextExtractionAnnotation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_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/text_extraction"
+ ".proto\022\026google.cloud.automl.v1\032)google/c"
+ "loud/automl/v1/text_segment.proto\"t\n\030Tex"
+ "tExtractionAnnotation\022;\n\014text_segment\030\003 "
+ "\001(\0132#.google.cloud.automl.v1.TextSegment"
+ "H\000\022\r\n\005score\030\001 \001(\002B\014\n\nannotation\"\222\002\n\037Text"
+ "ExtractionEvaluationMetrics\022\016\n\006au_prc\030\001 "
+ "\001(\002\022r\n\032confidence_metrics_entries\030\002 \003(\0132"
+ "N.google.cloud.automl.v1.TextExtractionE"
+ "valuationMetrics.ConfidenceMetricsEntry\032"
+ "k\n\026ConfidenceMetricsEntry\022\034\n\024confidence_"
+ "threshold\030\001 \001(\002\022\016\n\006recall\030\003 \001(\002\022\021\n\tpreci"
+ "sion\030\004 \001(\002\022\020\n\010f1_score\030\005 \001(\002B\240\001\n\032com.goo"
+ "gle.cloud.automl.v1P\001Z2cloud.google.com/"
+ "go/automl/apiv1/automlpb;automlpb\252\002\026Goog"
+ "le.Cloud.AutoML.V1\312\002\026Google\\Cloud\\AutoMl"
+ "\\V1\352\002\031Google::Cloud::AutoML::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.cloud.automl.v1.TextSegmentProto.getDescriptor(),
});
internal_static_google_cloud_automl_v1_TextExtractionAnnotation_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_automl_v1_TextExtractionAnnotation_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_TextExtractionAnnotation_descriptor,
new java.lang.String[] {
"TextSegment", "Score", "Annotation",
});
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor,
new java.lang.String[] {
"AuPrc", "ConfidenceMetricsEntries",
});
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor =
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor
.getNestedTypes()
.get(0);
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor,
new java.lang.String[] {
"ConfidenceThreshold", "Recall", "Precision", "F1Score",
});
com.google.cloud.automl.v1.TextSegmentProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}