Debian Codegraph @

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

raw
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/instance/video_action_recognition.proto
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 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Prediction input format for Video Action Recognition.
39 type VideoActionRecognitionPredictionInstance struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // The Google Cloud Storage location of the video on which to perform the
45 // prediction.
46 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
47 // The MIME type of the content of the video. Only the following are
48 // supported: video/mp4 video/avi video/quicktime
49 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
50 // The beginning, inclusive, of the video's time segment on which to perform
51 // the prediction. Expressed as a number of seconds as measured from the
52 // start of the video, with "s" appended at the end. Fractions are allowed,
53 // up to a microsecond precision.
54 TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"`
55 // The end, exclusive, of the video's time segment on which to perform
56 // the prediction. Expressed as a number of seconds as measured from the
57 // start of the video, with "s" appended at the end. Fractions are allowed,
58 // up to a microsecond precision, and "inf" or "Infinity" is allowed, which
59 // means the end of the video.
60 TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"`
61 }
62
63 func (x *VideoActionRecognitionPredictionInstance) Reset() {
64 *x = VideoActionRecognitionPredictionInstance{}
65 if protoimpl.UnsafeEnabled {
66 mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70 }
71
72 func (x *VideoActionRecognitionPredictionInstance) String() string {
73 return protoimpl.X.MessageStringOf(x)
74 }
75
76 func (*VideoActionRecognitionPredictionInstance) ProtoMessage() {}
77
78 func (x *VideoActionRecognitionPredictionInstance) ProtoReflect() protoreflect.Message {
79 mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_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 // Deprecated: Use VideoActionRecognitionPredictionInstance.ProtoReflect.Descriptor instead.
91 func (*VideoActionRecognitionPredictionInstance) Descriptor() ([]byte, []int) {
92 return file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescGZIP(), []int{0}
93 }
94
95 func (x *VideoActionRecognitionPredictionInstance) GetContent() string {
96 if x != nil {
97 return x.Content
98 }
99 return ""
100 }
101
102 func (x *VideoActionRecognitionPredictionInstance) GetMimeType() string {
103 if x != nil {
104 return x.MimeType
105 }
106 return ""
107 }
108
109 func (x *VideoActionRecognitionPredictionInstance) GetTimeSegmentStart() string {
110 if x != nil {
111 return x.TimeSegmentStart
112 }
113 return ""
114 }
115
116 func (x *VideoActionRecognitionPredictionInstance) GetTimeSegmentEnd() string {
117 if x != nil {
118 return x.TimeSegmentEnd
119 }
120 return ""
121 }
122
123 var File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto protoreflect.FileDescriptor
124
125 var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc = []byte{
126 0x0a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
127 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68,
128 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74,
129 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f,
130 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
131 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
132 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
133 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69,
134 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x28, 0x56, 0x69, 0x64, 0x65,
135 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69,
136 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74,
137 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
138 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b,
139 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
140 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74,
141 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72,
142 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67,
143 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x69, 0x6d,
144 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20,
145 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
146 0x45, 0x6e, 0x64, 0x42, 0xea, 0x02, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
147 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66,
148 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72,
149 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2d,
150 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67,
151 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
152 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
153 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
154 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
155 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70,
156 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d,
157 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
158 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xaa, 0x02, 0x32, 0x47, 0x6f,
159 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61,
160 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e,
161 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
162 0xca, 0x02, 0x32, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
163 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x63,
164 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x49, 0x6e, 0x73,
165 0x74, 0x61, 0x6e, 0x63, 0x65, 0xea, 0x02, 0x38, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
166 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
167 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50,
168 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
169 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
170 }
171
172 var (
173 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescOnce sync.Once
174 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc
175 )
176
177 func file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescGZIP() []byte {
178 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescOnce.Do(func() {
179 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData)
180 })
181 return file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData
182 }
183
184 var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
185 var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_goTypes = []interface{}{
186 (*VideoActionRecognitionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.VideoActionRecognitionPredictionInstance
187 }
188 var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_depIdxs = []int32{
189 0, // [0:0] is the sub-list for method output_type
190 0, // [0:0] is the sub-list for method input_type
191 0, // [0:0] is the sub-list for extension type_name
192 0, // [0:0] is the sub-list for extension extendee
193 0, // [0:0] is the sub-list for field type_name
194 }
195
196 func init() {
197 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_init()
198 }
199 func file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_init() {
200 if File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto != nil {
201 return
202 }
203 if !protoimpl.UnsafeEnabled {
204 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
205 switch v := v.(*VideoActionRecognitionPredictionInstance); i {
206 case 0:
207 return &v.state
208 case 1:
209 return &v.sizeCache
210 case 2:
211 return &v.unknownFields
212 default:
213 return nil
214 }
215 }
216 }
217 type x struct{}
218 out := protoimpl.TypeBuilder{
219 File: protoimpl.DescBuilder{
220 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
221 RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc,
222 NumEnums: 0,
223 NumMessages: 1,
224 NumExtensions: 0,
225 NumServices: 0,
226 },
227 GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_goTypes,
228 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_depIdxs,
229 MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes,
230 }.Build()
231 File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto = out.File
232 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc = nil
233 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_goTypes = nil
234 file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_depIdxs = nil
235 }