• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/automl/v1/text_sentiment.proto
18 
19 package com.google.cloud.automl.v1;
20 
21 public final class TextSentimentProto {
TextSentimentProto()22   private TextSentimentProto() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_automl_v1_TextSentimentAnnotation_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_automl_v1_TextSentimentAnnotation_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_automl_v1_TextSentimentEvaluationMetrics_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_automl_v1_TextSentimentEvaluationMetrics_fieldAccessorTable;
38 
getDescriptor()39   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
40     return descriptor;
41   }
42 
43   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
44 
45   static {
46     java.lang.String[] descriptorData = {
47       "\n+google/cloud/automl/v1/text_sentiment."
48           + "proto\022\026google.cloud.automl.v1\032+google/cl"
49           + "oud/automl/v1/classification.proto\",\n\027Te"
50           + "xtSentimentAnnotation\022\021\n\tsentiment\030\001 \001(\005"
51           + "\"\240\002\n\036TextSentimentEvaluationMetrics\022\021\n\tp"
52           + "recision\030\001 \001(\002\022\016\n\006recall\030\002 \001(\002\022\020\n\010f1_sco"
53           + "re\030\003 \001(\002\022\033\n\023mean_absolute_error\030\004 \001(\002\022\032\n"
54           + "\022mean_squared_error\030\005 \001(\002\022\024\n\014linear_kapp"
55           + "a\030\006 \001(\002\022\027\n\017quadratic_kappa\030\007 \001(\002\022a\n\020conf"
56           + "usion_matrix\030\010 \001(\0132G.google.cloud.automl"
57           + ".v1.ClassificationEvaluationMetrics.Conf"
58           + "usionMatrixB\264\001\n\032com.google.cloud.automl."
59           + "v1B\022TextSentimentProtoP\001Z2cloud.google.c"
60           + "om/go/automl/apiv1/automlpb;automlpb\252\002\026G"
61           + "oogle.Cloud.AutoML.V1\312\002\026Google\\Cloud\\Aut"
62           + "oMl\\V1\352\002\031Google::Cloud::AutoML::V1b\006prot"
63           + "o3"
64     };
65     descriptor =
66         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
67             descriptorData,
68             new com.google.protobuf.Descriptors.FileDescriptor[] {
69               com.google.cloud.automl.v1.ClassificationProto.getDescriptor(),
70             });
71     internal_static_google_cloud_automl_v1_TextSentimentAnnotation_descriptor =
72         getDescriptor().getMessageTypes().get(0);
73     internal_static_google_cloud_automl_v1_TextSentimentAnnotation_fieldAccessorTable =
74         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
75             internal_static_google_cloud_automl_v1_TextSentimentAnnotation_descriptor,
76             new java.lang.String[] {
77               "Sentiment",
78             });
79     internal_static_google_cloud_automl_v1_TextSentimentEvaluationMetrics_descriptor =
80         getDescriptor().getMessageTypes().get(1);
81     internal_static_google_cloud_automl_v1_TextSentimentEvaluationMetrics_fieldAccessorTable =
82         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
83             internal_static_google_cloud_automl_v1_TextSentimentEvaluationMetrics_descriptor,
84             new java.lang.String[] {
85               "Precision",
86               "Recall",
87               "F1Score",
88               "MeanAbsoluteError",
89               "MeanSquaredError",
90               "LinearKappa",
91               "QuadraticKappa",
92               "ConfusionMatrix",
93             });
com.google.cloud.automl.v1.ClassificationProto.getDescriptor()94     com.google.cloud.automl.v1.ClassificationProto.getDescriptor();
95   }
96 
97   // @@protoc_insertion_point(outer_class_scope)
98 }
99