1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package prediction
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type TextSentimentPredictionResult struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46
47
48
49 Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
50 }
51
52 func (x *TextSentimentPredictionResult) Reset() {
53 *x = TextSentimentPredictionResult{}
54 if protoimpl.UnsafeEnabled {
55 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59 }
60
61 func (x *TextSentimentPredictionResult) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*TextSentimentPredictionResult) ProtoMessage() {}
66
67 func (x *TextSentimentPredictionResult) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes[0]
69 if protoimpl.UnsafeEnabled && x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79
80 func (*TextSentimentPredictionResult) Descriptor() ([]byte, []int) {
81 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *TextSentimentPredictionResult) GetSentiment() int32 {
85 if x != nil {
86 return x.Sentiment
87 }
88 return 0
89 }
90
91 var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto protoreflect.FileDescriptor
92
93 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc = []byte{
94 0x0a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
95 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
96 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
97 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x65, 0x78, 0x74,
98 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
99 0x12, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
100 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
101 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
102 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x0a, 0x1d, 0x54,
103 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64,
104 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09,
105 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
106 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x84, 0x03, 0x0a, 0x3d, 0x63,
107 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
108 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
109 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
110 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x22, 0x54, 0x65,
111 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64, 0x69,
112 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
113 0x50, 0x01, 0x5a, 0x63, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
114 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
115 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
116 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
117 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
118 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65,
119 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
120 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
121 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
122 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
123 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
124 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31,
125 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65,
126 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xea,
127 0x02, 0x3f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
128 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62,
129 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72,
130 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
131 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
132 }
133
134 var (
135 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescOnce sync.Once
136 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc
137 )
138
139 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP() []byte {
140 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescOnce.Do(func() {
141 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData)
142 })
143 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData
144 }
145
146 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
147 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_goTypes = []interface{}{
148 (*TextSentimentPredictionResult)(nil),
149 }
150 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_depIdxs = []int32{
151 0,
152 0,
153 0,
154 0,
155 0,
156 }
157
158 func init() {
159 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_init()
160 }
161 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_init() {
162 if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto != nil {
163 return
164 }
165 if !protoimpl.UnsafeEnabled {
166 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
167 switch v := v.(*TextSentimentPredictionResult); i {
168 case 0:
169 return &v.state
170 case 1:
171 return &v.sizeCache
172 case 2:
173 return &v.unknownFields
174 default:
175 return nil
176 }
177 }
178 }
179 type x struct{}
180 out := protoimpl.TypeBuilder{
181 File: protoimpl.DescBuilder{
182 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
183 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc,
184 NumEnums: 0,
185 NumMessages: 1,
186 NumExtensions: 0,
187 NumServices: 0,
188 },
189 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_goTypes,
190 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_depIdxs,
191 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes,
192 }.Build()
193 File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto = out.File
194 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc = nil
195 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_goTypes = nil
196 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_depIdxs = nil
197 }
198
View as plain text