Debian Codegraph @

googleapis/cloud/aiplatform/v1beta1/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/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_video_action_recognition_proto protoreflect.FileDescriptor
133
134 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc = []byte{
135 0x0a, 0x58, 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, 0x62, 0x65, 0x74, 0x61,
137 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
138 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x69, 0x64, 0x65,
139 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69,
140 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x39, 0x67, 0x6f, 0x6f, 0x67,
141 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
142 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65,
143 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69,
144 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
145 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
146 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
147 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e,
148 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x02, 0x0a, 0x26, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41,
149 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
150 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
151 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
152 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
153 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
154 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d,
155 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
156 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
157 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65,
158 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x43, 0x0a, 0x10,
159 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64,
160 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
161 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
162 0x6e, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e,
163 0x64, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18,
164 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
165 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c,
166 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x8d,
167 0x03, 0x0a, 0x3d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
168 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76,
169 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72,
170 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
171 0x42, 0x2b, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63,
172 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69,
173 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
174 0x63, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
175 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
176 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70,
177 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
178 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70,
179 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
180 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
181 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56,
182 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72,
183 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
184 0xca, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
185 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74,
186 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63,
187 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02, 0x3f, 0x47,
188 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49,
189 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
190 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69,
191 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06,
192 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
193 }
194
195 var (
196 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce sync.Once
197 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc
198 )
199
200 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescGZIP() []byte {
201 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce.Do(func() {
202 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData)
203 })
204 return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData
205 }
206
207 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
208 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_goTypes = []interface{}{
209 (*VideoActionRecognitionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult
210 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
211 (*wrapperspb.FloatValue)(nil), // 2: google.protobuf.FloatValue
212 }
213 var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_depIdxs = []int32{
214 1, // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_start:type_name -> google.protobuf.Duration
215 1, // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_end:type_name -> google.protobuf.Duration
216 2, // 2: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult.confidence:type_name -> google.protobuf.FloatValue
217 3, // [3:3] is the sub-list for method output_type
218 3, // [3:3] is the sub-list for method input_type
219 3, // [3:3] is the sub-list for extension type_name
220 3, // [3:3] is the sub-list for extension extendee
221 0, // [0:3] is the sub-list for field type_name
222 }
223
224 func init() {
225 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_init()
226 }
227 func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_init() {
228 if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto != nil {
229 return
230 }
231 if !protoimpl.UnsafeEnabled {
232 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
233 switch v := v.(*VideoActionRecognitionPredictionResult); i {
234 case 0:
235 return &v.state
236 case 1:
237 return &v.sizeCache
238 case 2:
239 return &v.unknownFields
240 default:
241 return nil
242 }
243 }
244 }
245 type x struct{}
246 out := protoimpl.TypeBuilder{
247 File: protoimpl.DescBuilder{
248 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
249 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc,
250 NumEnums: 0,
251 NumMessages: 1,
252 NumExtensions: 0,
253 NumServices: 0,
254 },
255 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_goTypes,
256 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_depIdxs,
257 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_msgTypes,
258 }.Build()
259 File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto = out.File
260 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc = nil
261 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_goTypes = nil
262 file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_depIdxs = nil
263 }