Debian Codegraph @

googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.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/v1beta1/schema/predict/instance/video_classification.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 Classification.
39 type VideoClassificationPredictionInstance 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 *VideoClassificationPredictionInstance) Reset() {
64 *x = VideoClassificationPredictionInstance{}
65 if protoimpl.UnsafeEnabled {
66 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70 }
71
72 func (x *VideoClassificationPredictionInstance) String() string {
73 return protoimpl.X.MessageStringOf(x)
74 }
75
76 func (*VideoClassificationPredictionInstance) ProtoMessage() {}
77
78 func (x *VideoClassificationPredictionInstance) ProtoReflect() protoreflect.Message {
79 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_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 VideoClassificationPredictionInstance.ProtoReflect.Descriptor instead.
91 func (*VideoClassificationPredictionInstance) Descriptor() ([]byte, []int) {
92 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescGZIP(), []int{0}
93 }
94
95 func (x *VideoClassificationPredictionInstance) GetContent() string {
96 if x != nil {
97 return x.Content
98 }
99 return ""
100 }
101
102 func (x *VideoClassificationPredictionInstance) GetMimeType() string {
103 if x != nil {
104 return x.MimeType
105 }
106 return ""
107 }
108
109 func (x *VideoClassificationPredictionInstance) GetTimeSegmentStart() string {
110 if x != nil {
111 return x.TimeSegmentStart
112 }
113 return ""
114 }
115
116 func (x *VideoClassificationPredictionInstance) GetTimeSegmentEnd() string {
117 if x != nil {
118 return x.TimeSegmentEnd
119 }
120 return ""
121 }
122
123 var File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto protoreflect.FileDescriptor
124
125 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc = []byte{
126 0x0a, 0x52, 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, 0x62, 0x65, 0x74, 0x61,
128 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
129 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f,
130 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
131 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
132 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31,
133 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65,
134 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xb6, 0x01,
135 0x0a, 0x25, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
136 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49,
137 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
138 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
139 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
140 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c,
141 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73,
142 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65,
143 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10,
144 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64,
145 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d,
146 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x42, 0x80, 0x03, 0x0a, 0x3b, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
147 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c,
148 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73,
149 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e,
150 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61,
151 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69,
152 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f,
153 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
154 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
155 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
156 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62,
157 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64,
158 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73,
159 0x74, 0x61, 0x6e, 0x63, 0x65, 0xaa, 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
160 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
161 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50,
162 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xca,
163 0x02, 0x37, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41,
164 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
165 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
166 0x5c, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xea, 0x02, 0x3d, 0x47, 0x6f, 0x6f, 0x67,
167 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61,
168 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a,
169 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a,
170 0x3a, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
171 0x33,
172 }
173
174 var (
175 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescOnce sync.Once
176 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc
177 )
178
179 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescGZIP() []byte {
180 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescOnce.Do(func() {
181 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData)
182 })
183 return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData
184 }
185
186 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
187 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_goTypes = []interface{}{
188 (*VideoClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.VideoClassificationPredictionInstance
189 }
190 var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_depIdxs = []int32{
191 0, // [0:0] is the sub-list for method output_type
192 0, // [0:0] is the sub-list for method input_type
193 0, // [0:0] is the sub-list for extension type_name
194 0, // [0:0] is the sub-list for extension extendee
195 0, // [0:0] is the sub-list for field type_name
196 }
197
198 func init() {
199 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_init()
200 }
201 func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_init() {
202 if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto != nil {
203 return
204 }
205 if !protoimpl.UnsafeEnabled {
206 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
207 switch v := v.(*VideoClassificationPredictionInstance); i {
208 case 0:
209 return &v.state
210 case 1:
211 return &v.sizeCache
212 case 2:
213 return &v.unknownFields
214 default:
215 return nil
216 }
217 }
218 }
219 type x struct{}
220 out := protoimpl.TypeBuilder{
221 File: protoimpl.DescBuilder{
222 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
223 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc,
224 NumEnums: 0,
225 NumMessages: 1,
226 NumExtensions: 0,
227 NumServices: 0,
228 },
229 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_goTypes,
230 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_depIdxs,
231 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_msgTypes,
232 }.Build()
233 File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto = out.File
234 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc = nil
235 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_goTypes = nil
236 file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_depIdxs = nil
237 }