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 TextExtractionPredictionResult struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46 Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
47
48
49 DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
50
51
52
53 TextSegmentStartOffsets []int64 `protobuf:"varint,3,rep,packed,name=text_segment_start_offsets,json=textSegmentStartOffsets,proto3" json:"text_segment_start_offsets,omitempty"`
54
55
56
57 TextSegmentEndOffsets []int64 `protobuf:"varint,4,rep,packed,name=text_segment_end_offsets,json=textSegmentEndOffsets,proto3" json:"text_segment_end_offsets,omitempty"`
58
59
60 Confidences []float32 `protobuf:"fixed32,5,rep,packed,name=confidences,proto3" json:"confidences,omitempty"`
61 }
62
63 func (x *TextExtractionPredictionResult) Reset() {
64 *x = TextExtractionPredictionResult{}
65 if protoimpl.UnsafeEnabled {
66 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70 }
71
72 func (x *TextExtractionPredictionResult) String() string {
73 return protoimpl.X.MessageStringOf(x)
74 }
75
76 func (*TextExtractionPredictionResult) ProtoMessage() {}
77
78 func (x *TextExtractionPredictionResult) ProtoReflect() protoreflect.Message {
79 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes[0]
80 if protoimpl.UnsafeEnabled && x != nil {
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 if ms.LoadMessageInfo() == nil {
83 ms.StoreMessageInfo(mi)
84 }
85 return ms
86 }
87 return mi.MessageOf(x)
88 }
89
90
91 func (*TextExtractionPredictionResult) Descriptor() ([]byte, []int) {
92 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescGZIP(), []int{0}
93 }
94
95 func (x *TextExtractionPredictionResult) GetIds() []int64 {
96 if x != nil {
97 return x.Ids
98 }
99 return nil
100 }
101
102 func (x *TextExtractionPredictionResult) GetDisplayNames() []string {
103 if x != nil {
104 return x.DisplayNames
105 }
106 return nil
107 }
108
109 func (x *TextExtractionPredictionResult) GetTextSegmentStartOffsets() []int64 {
110 if x != nil {
111 return x.TextSegmentStartOffsets
112 }
113 return nil
114 }
115
116 func (x *TextExtractionPredictionResult) GetTextSegmentEndOffsets() []int64 {
117 if x != nil {
118 return x.TextSegmentEndOffsets
119 }
120 return nil
121 }
122
123 func (x *TextExtractionPredictionResult) GetConfidences() []float32 {
124 if x != nil {
125 return x.Confidences
126 }
127 return nil
128 }
129
130 var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto protoreflect.FileDescriptor
131
132 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc = []byte{
133 0x0a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
134 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
135 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
136 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x65, 0x78, 0x74,
137 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
138 0x6f, 0x12, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
139 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
140 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
141 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xef, 0x01, 0x0a,
142 0x1e, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50,
143 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
144 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x03, 0x69, 0x64,
145 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
146 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
147 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73,
148 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66,
149 0x73, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x17, 0x74, 0x65, 0x78, 0x74,
150 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73,
151 0x65, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d,
152 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18,
153 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65,
154 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b,
155 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
156 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x85,
157 0x03, 0x0a, 0x3d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
158 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76,
159 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72,
160 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
161 0x42, 0x23, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
162 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
163 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x63, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
164 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
165 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
166 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f,
167 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70,
168 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
169 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x39, 0x47,
170 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c,
171 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53,
172 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x72,
173 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
174 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
175 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d,
176 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
177 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02, 0x3f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
178 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
179 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d,
180 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64,
181 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
182 }
183
184 var (
185 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescOnce sync.Once
186 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc
187 )
188
189 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescGZIP() []byte {
190 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescOnce.Do(func() {
191 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData)
192 })
193 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData
194 }
195
196 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
197 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_goTypes = []interface{}{
198 (*TextExtractionPredictionResult)(nil),
199 }
200 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_depIdxs = []int32{
201 0,
202 0,
203 0,
204 0,
205 0,
206 }
207
208 func init() {
209 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_init()
210 }
211 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_init() {
212 if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto != nil {
213 return
214 }
215 if !protoimpl.UnsafeEnabled {
216 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
217 switch v := v.(*TextExtractionPredictionResult); i {
218 case 0:
219 return &v.state
220 case 1:
221 return &v.sizeCache
222 case 2:
223 return &v.unknownFields
224 default:
225 return nil
226 }
227 }
228 }
229 type x struct{}
230 out := protoimpl.TypeBuilder{
231 File: protoimpl.DescBuilder{
232 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
233 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc,
234 NumEnums: 0,
235 NumMessages: 1,
236 NumExtensions: 0,
237 NumServices: 0,
238 },
239 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_goTypes,
240 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_depIdxs,
241 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes,
242 }.Build()
243 File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto = out.File
244 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc = nil
245 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_goTypes = nil
246 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_depIdxs = nil
247 }
248
View as plain text