Debian Codegraph @

googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.pb.go

raw symbols SCIP
1 // Copyright 2021 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto
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 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // Prediction output format for Video Action Recognition.
41 type VideoActionRecognitionPredictionResult struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // The resource ID of the AnnotationSpec that had been identified.
47 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
48 // The display name of the AnnotationSpec that had been identified.
49 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
50 // The beginning, inclusive, of the video's time segment in which the
51 // AnnotationSpec has been identified. Expressed as a number of seconds as
52 // measured from the start of the video, with fractions up to a microsecond
53 // precision, and with "s" appended at the end.
54 TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
55 // The end, exclusive, of the video's time segment in which the
56 // AnnotationSpec has been identified. Expressed as a number of seconds as
57 // measured from the start of the video, with fractions up to a microsecond
58 // precision, and with "s" appended at the end.
59 TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
60 // The Model's confidence in correction of this prediction, higher
61 // value means higher confidence.
62 Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"`
63 }
64
65 func (x *VideoActionRecognitionPredictionResult) Reset() {
66 *x = VideoActionRecognitionPredictionResult{}
67 if protoimpl.UnsafeEnabled {
68 mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0]
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 ms.StoreMessageInfo(mi)
71 }
72 }
73
74 func (x *VideoActionRecognitionPredictionResult) String() string {
75 return protoimpl.X.MessageStringOf(x)
76 }
77
78 func (*VideoActionRecognitionPredictionResult) ProtoMessage() {}
79
80 func (x *VideoActionRecognitionPredictionResult) ProtoReflect() protoreflect.Message {
81 mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0]
82 if protoimpl.UnsafeEnabled && x != nil {
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 if ms.LoadMessageInfo() == nil {
85 ms.StoreMessageInfo(mi)
86 }
87 return ms
88 }
89 return mi.MessageOf(x)
90 }
91
92 // Deprecated: Use VideoActionRecognitionPredictionResult.ProtoReflect.Descriptor instead.
93 func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int) {
94 return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescGZIP(), []int{0}
95 }
96
97 func (x *VideoActionRecognitionPredictionResult) GetId() string {
98 if x != nil {
99 return x.Id
100 }
101 return ""
102 }
103
104 func (x *VideoActionRecognitionPredictionResult) GetDisplayName() string {
105 if x != nil {
106 return x.DisplayName
107 }
108 return ""
109 }
110
111 func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentStart() *durationpb.Duration {
112 if x != nil {
113 return x.TimeSegmentStart
114 }
115 return nil
116 }
117
118 func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentEnd() *durationpb.Duration {
119 if x != nil {
120 return x.TimeSegmentEnd
121 }
122 return nil
123 }
124
125 func (x *VideoActionRecognitionPredictionResult) GetConfidence() *wrapperspb.FloatValue {
126 if x != nil {
127 return x.Confidence
128 }
129 return nil
130 }
131
132 var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto protoreflect.FileDescriptor
133
134 var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc = []byte{
135 0x0a, 0x53, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
136 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68,
137 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64,
138 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x61, 0x63, 0x74,
139 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
140 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
141 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76,
142 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
143 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
144 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72,
145 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
146 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61,
147 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x02, 0x0a, 0x26,
148 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67,
149 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
150 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
151 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
152 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
153 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x74, 0x69, 0x6d,
154 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
155 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
156 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
157 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61,
158 0x72, 0x74, 0x12, 0x43, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65,
159 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
160 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
161 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67,
162 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69,
163 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
164 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c,
165 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64,
166 0x65, 0x6e, 0x63, 0x65, 0x42, 0xf4, 0x02, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
167 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
168 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
169 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
170 0x6e, 0x42, 0x2b, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
171 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
172 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
173 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
174 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
175 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69,
176 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65,
177 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69,
178 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
179 0xaa, 0x02, 0x34, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
180 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x63,
181 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x72, 0x65,
182 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x34, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
183 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
184 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64,
185 0x69, 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02,
186 0x3a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
187 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a,
188 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a,
189 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
190 0x74, 0x6f, 0x33,
191 }
192
193 var (
194 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce sync.Once
195 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc
196 )
197
198 func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescGZIP() []byte {
199 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce.Do(func() {
200 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData)
201 })
202 return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData
203 }
204
205 var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
206 var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_goTypes = []interface{}{
207 (*VideoActionRecognitionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult
208 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
209 (*wrapperspb.FloatValue)(nil), // 2: google.protobuf.FloatValue
210 }
211 var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_depIdxs = []int32{
212 1, // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_start:type_name -> google.protobuf.Duration
213 1, // 1: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_end:type_name -> google.protobuf.Duration
214 2, // 2: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.confidence:type_name -> google.protobuf.FloatValue
215 3, // [3:3] is the sub-list for method output_type
216 3, // [3:3] is the sub-list for method input_type
217 3, // [3:3] is the sub-list for extension type_name
218 3, // [3:3] is the sub-list for extension extendee
219 0, // [0:3] is the sub-list for field type_name
220 }
221
222 func init() {
223 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_init()
224 }
225 func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_init() {
226 if File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto != nil {
227 return
228 }
229 if !protoimpl.UnsafeEnabled {
230 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
231 switch v := v.(*VideoActionRecognitionPredictionResult); i {
232 case 0:
233 return &v.state
234 case 1:
235 return &v.sizeCache
236 case 2:
237 return &v.unknownFields
238 default:
239 return nil
240 }
241 }
242 }
243 type x struct{}
244 out := protoimpl.TypeBuilder{
245 File: protoimpl.DescBuilder{
246 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
247 RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc,
248 NumEnums: 0,
249 NumMessages: 1,
250 NumExtensions: 0,
251 NumServices: 0,
252 },
253 GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_goTypes,
254 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_depIdxs,
255 MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes,
256 }.Build()
257 File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto = out.File
258 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc = nil
259 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_goTypes = nil
260 file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_depIdxs = nil
261 }