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 durationpb "google.golang.org/protobuf/types/known/durationpb"
30 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41 type VideoClassificationPredictionResult struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
48
49 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
50
51
52
53
54
55 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
56
57
58
59
60
61
62
63 TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
64
65
66
67
68
69
70
71 TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
72
73
74 Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
75 }
76
77 func (x *VideoClassificationPredictionResult) Reset() {
78 *x = VideoClassificationPredictionResult{}
79 if protoimpl.UnsafeEnabled {
80 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes[0]
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 ms.StoreMessageInfo(mi)
83 }
84 }
85
86 func (x *VideoClassificationPredictionResult) String() string {
87 return protoimpl.X.MessageStringOf(x)
88 }
89
90 func (*VideoClassificationPredictionResult) ProtoMessage() {}
91
92 func (x *VideoClassificationPredictionResult) ProtoReflect() protoreflect.Message {
93 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes[0]
94 if protoimpl.UnsafeEnabled && x != nil {
95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96 if ms.LoadMessageInfo() == nil {
97 ms.StoreMessageInfo(mi)
98 }
99 return ms
100 }
101 return mi.MessageOf(x)
102 }
103
104
105 func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int) {
106 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescGZIP(), []int{0}
107 }
108
109 func (x *VideoClassificationPredictionResult) GetId() string {
110 if x != nil {
111 return x.Id
112 }
113 return ""
114 }
115
116 func (x *VideoClassificationPredictionResult) GetDisplayName() string {
117 if x != nil {
118 return x.DisplayName
119 }
120 return ""
121 }
122
123 func (x *VideoClassificationPredictionResult) GetType() string {
124 if x != nil {
125 return x.Type
126 }
127 return ""
128 }
129
130 func (x *VideoClassificationPredictionResult) GetTimeSegmentStart() *durationpb.Duration {
131 if x != nil {
132 return x.TimeSegmentStart
133 }
134 return nil
135 }
136
137 func (x *VideoClassificationPredictionResult) GetTimeSegmentEnd() *durationpb.Duration {
138 if x != nil {
139 return x.TimeSegmentEnd
140 }
141 return nil
142 }
143
144 func (x *VideoClassificationPredictionResult) GetConfidence() *wrapperspb.FloatValue {
145 if x != nil {
146 return x.Confidence
147 }
148 return nil
149 }
150
151 var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto protoreflect.FileDescriptor
152
153 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc = []byte{
154 0x0a, 0x54, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
155 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
156 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
157 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x69, 0x64, 0x65,
158 0x6f, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
159 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
160 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
161 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
162 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
163 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
164 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
165 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
166 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
167 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x23, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73,
168 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
169 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
170 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73,
171 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
172 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
173 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
174 0x12, 0x47, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
175 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
176 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
177 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67,
178 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x43, 0x0a, 0x10, 0x74, 0x69, 0x6d,
179 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20,
180 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
181 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e,
182 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x12, 0x3b,
183 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01,
184 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
185 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
186 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x8a, 0x03, 0x0a, 0x3d,
187 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
188 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65,
189 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69,
190 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x28, 0x56,
191 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
192 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75,
193 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x63, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
194 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
195 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
196 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
197 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
198 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
199 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02,
200 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49,
201 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31,
202 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e,
203 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x39, 0x47, 0x6f, 0x6f,
204 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74,
205 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68,
206 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64,
207 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02, 0x3f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
208 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
209 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68,
210 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x72,
211 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
212 }
213
214 var (
215 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescOnce sync.Once
216 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc
217 )
218
219 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescGZIP() []byte {
220 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescOnce.Do(func() {
221 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData)
222 })
223 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData
224 }
225
226 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
227 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_goTypes = []interface{}{
228 (*VideoClassificationPredictionResult)(nil),
229 (*durationpb.Duration)(nil),
230 (*wrapperspb.FloatValue)(nil),
231 }
232 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_depIdxs = []int32{
233 1,
234 1,
235 2,
236 3,
237 3,
238 3,
239 3,
240 0,
241 }
242
243 func init() {
244 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_init()
245 }
246 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_init() {
247 if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto != nil {
248 return
249 }
250 if !protoimpl.UnsafeEnabled {
251 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
252 switch v := v.(*VideoClassificationPredictionResult); i {
253 case 0:
254 return &v.state
255 case 1:
256 return &v.sizeCache
257 case 2:
258 return &v.unknownFields
259 default:
260 return nil
261 }
262 }
263 }
264 type x struct{}
265 out := protoimpl.TypeBuilder{
266 File: protoimpl.DescBuilder{
267 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
268 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc,
269 NumEnums: 0,
270 NumMessages: 1,
271 NumExtensions: 0,
272 NumServices: 0,
273 },
274 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_goTypes,
275 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_depIdxs,
276 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes,
277 }.Build()
278 File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto = out.File
279 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc = nil
280 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_goTypes = nil
281 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_depIdxs = nil
282 }
283
View as plain text