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_v1_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_v1_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_v1_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_v1_schema_predict_prediction_text_sentiment_proto protoreflect.FileDescriptor
92
93 var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc = []byte{
94 0x0a, 0x49, 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, 0x2f, 0x73, 0x63, 0x68,
96 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64,
97 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74,
98 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f,
99 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
100 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
101 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
102 0x6e, 0x22, 0x3d, 0x0a, 0x1d, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65,
103 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75,
104 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18,
105 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
106 0x42, 0xeb, 0x02, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
107 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
108 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69,
109 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x22, 0x54,
110 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64,
111 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74,
112 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
113 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
114 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
115 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73,
116 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72,
117 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
118 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x34, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
119 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31,
120 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e,
121 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x34, 0x47, 0x6f, 0x6f,
122 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74,
123 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50,
124 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
125 0x6e, 0xea, 0x02, 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
126 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56,
127 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69,
128 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06,
129 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
130 }
131
132 var (
133 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescOnce sync.Once
134 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc
135 )
136
137 func file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP() []byte {
138 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescOnce.Do(func() {
139 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData)
140 })
141 return file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData
142 }
143
144 var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
145 var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_goTypes = []interface{}{
146 (*TextSentimentPredictionResult)(nil),
147 }
148 var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_depIdxs = []int32{
149 0,
150 0,
151 0,
152 0,
153 0,
154 }
155
156 func init() { file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_init() }
157 func file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_init() {
158 if File_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto != nil {
159 return
160 }
161 if !protoimpl.UnsafeEnabled {
162 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
163 switch v := v.(*TextSentimentPredictionResult); i {
164 case 0:
165 return &v.state
166 case 1:
167 return &v.sizeCache
168 case 2:
169 return &v.unknownFields
170 default:
171 return nil
172 }
173 }
174 }
175 type x struct{}
176 out := protoimpl.TypeBuilder{
177 File: protoimpl.DescBuilder{
178 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
179 RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc,
180 NumEnums: 0,
181 NumMessages: 1,
182 NumExtensions: 0,
183 NumServices: 0,
184 },
185 GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_goTypes,
186 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_depIdxs,
187 MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes,
188 }.Build()
189 File_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto = out.File
190 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc = nil
191 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_goTypes = nil
192 file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_depIdxs = nil
193 }
194
View as plain text