1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package instance
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 TextSentimentPredictionInstance struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
46
47
48
49 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
50 }
51
52 func (x *TextSentimentPredictionInstance) Reset() {
53 *x = TextSentimentPredictionInstance{}
54 if protoimpl.UnsafeEnabled {
55 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59 }
60
61 func (x *TextSentimentPredictionInstance) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*TextSentimentPredictionInstance) ProtoMessage() {}
66
67 func (x *TextSentimentPredictionInstance) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_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 (*TextSentimentPredictionInstance) Descriptor() ([]byte, []int) {
81 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *TextSentimentPredictionInstance) GetContent() string {
85 if x != nil {
86 return x.Content
87 }
88 return ""
89 }
90
91 func (x *TextSentimentPredictionInstance) GetMimeType() string {
92 if x != nil {
93 return x.MimeType
94 }
95 return ""
96 }
97
98 var File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto protoreflect.FileDescriptor
99
100 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc = []byte{
101 0x0a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
102 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
103 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
104 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73,
105 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37,
106 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70,
107 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
108 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69,
109 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x58, 0x0a, 0x1f, 0x54, 0x65, 0x78, 0x74, 0x53,
110 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69,
111 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
112 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e,
113 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70,
114 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70,
115 0x65, 0x42, 0xfa, 0x02, 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
116 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
117 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
118 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
119 0x65, 0x42, 0x24, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
120 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
121 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
122 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
123 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
124 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
125 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
126 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
127 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xaa, 0x02, 0x37, 0x47, 0x6f, 0x6f,
128 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74,
129 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68,
130 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74,
131 0x61, 0x6e, 0x63, 0x65, 0xca, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
132 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56,
133 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72,
134 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xea, 0x02,
135 0x3d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
136 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65,
137 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65,
138 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06,
139 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
140 }
141
142 var (
143 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescOnce sync.Once
144 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc
145 )
146
147 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescGZIP() []byte {
148 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescOnce.Do(func() {
149 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData)
150 })
151 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData
152 }
153
154 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
155 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_goTypes = []interface{}{
156 (*TextSentimentPredictionInstance)(nil),
157 }
158 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_depIdxs = []int32{
159 0,
160 0,
161 0,
162 0,
163 0,
164 }
165
166 func init() { file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_init() }
167 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_init() {
168 if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto != nil {
169 return
170 }
171 if !protoimpl.UnsafeEnabled {
172 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
173 switch v := v.(*TextSentimentPredictionInstance); i {
174 case 0:
175 return &v.state
176 case 1:
177 return &v.sizeCache
178 case 2:
179 return &v.unknownFields
180 default:
181 return nil
182 }
183 }
184 }
185 type x struct{}
186 out := protoimpl.TypeBuilder{
187 File: protoimpl.DescBuilder{
188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
189 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc,
190 NumEnums: 0,
191 NumMessages: 1,
192 NumExtensions: 0,
193 NumServices: 0,
194 },
195 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_goTypes,
196 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_depIdxs,
197 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_msgTypes,
198 }.Build()
199 File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto = out.File
200 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc = nil
201 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_goTypes = nil
202 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_depIdxs = nil
203 }
204
View as plain text