1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package params
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
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type VideoClassificationPredictionParams struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46 ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
47
48
49
50 MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"`
51
52
53
54
55 SegmentClassification bool `protobuf:"varint,3,opt,name=segment_classification,json=segmentClassification,proto3" json:"segment_classification,omitempty"`
56
57
58
59
60
61
62
63
64
65 ShotClassification bool `protobuf:"varint,4,opt,name=shot_classification,json=shotClassification,proto3" json:"shot_classification,omitempty"`
66
67
68
69
70
71
72 OneSecIntervalClassification bool `protobuf:"varint,5,opt,name=one_sec_interval_classification,json=oneSecIntervalClassification,proto3" json:"one_sec_interval_classification,omitempty"`
73 }
74
75 func (x *VideoClassificationPredictionParams) Reset() {
76 *x = VideoClassificationPredictionParams{}
77 if protoimpl.UnsafeEnabled {
78 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes[0]
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 ms.StoreMessageInfo(mi)
81 }
82 }
83
84 func (x *VideoClassificationPredictionParams) String() string {
85 return protoimpl.X.MessageStringOf(x)
86 }
87
88 func (*VideoClassificationPredictionParams) ProtoMessage() {}
89
90 func (x *VideoClassificationPredictionParams) ProtoReflect() protoreflect.Message {
91 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes[0]
92 if protoimpl.UnsafeEnabled && x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100 }
101
102
103 func (*VideoClassificationPredictionParams) Descriptor() ([]byte, []int) {
104 return file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescGZIP(), []int{0}
105 }
106
107 func (x *VideoClassificationPredictionParams) GetConfidenceThreshold() float32 {
108 if x != nil {
109 return x.ConfidenceThreshold
110 }
111 return 0
112 }
113
114 func (x *VideoClassificationPredictionParams) GetMaxPredictions() int32 {
115 if x != nil {
116 return x.MaxPredictions
117 }
118 return 0
119 }
120
121 func (x *VideoClassificationPredictionParams) GetSegmentClassification() bool {
122 if x != nil {
123 return x.SegmentClassification
124 }
125 return false
126 }
127
128 func (x *VideoClassificationPredictionParams) GetShotClassification() bool {
129 if x != nil {
130 return x.ShotClassification
131 }
132 return false
133 }
134
135 func (x *VideoClassificationPredictionParams) GetOneSecIntervalClassification() bool {
136 if x != nil {
137 return x.OneSecIntervalClassification
138 }
139 return false
140 }
141
142 var File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto protoreflect.FileDescriptor
143
144 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDesc = []byte{
145 0x0a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
146 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
147 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
148 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c,
149 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
150 0x74, 0x6f, 0x12, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
151 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65,
152 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69,
153 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xb0, 0x02, 0x0a, 0x23, 0x56, 0x69,
154 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
155 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d,
156 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f,
157 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52,
158 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73,
159 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x64,
160 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d,
161 0x61, 0x78, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a,
162 0x16, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,
163 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73,
164 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
165 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x63, 0x6c, 0x61,
166 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
167 0x08, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
168 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x1f, 0x6f, 0x6e, 0x65, 0x5f, 0x73, 0x65, 0x63,
169 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69,
170 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c,
171 0x6f, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x43, 0x6c,
172 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xf2, 0x02, 0x0a,
173 0x39, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
174 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62,
175 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64,
176 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x28, 0x56, 0x69, 0x64, 0x65,
177 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50,
178 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50,
179 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
180 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
181 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
182 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76,
183 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72,
184 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72,
185 0x61, 0x6d, 0x73, 0xaa, 0x02, 0x35, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
186 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31,
187 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65,
188 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0xca, 0x02, 0x35, 0x47, 0x6f,
189 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61,
190 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63,
191 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x61, 0x72,
192 0x61, 0x6d, 0x73, 0xea, 0x02, 0x3b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
193 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a,
194 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
195 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x61, 0x72, 0x61, 0x6d,
196 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
197 }
198
199 var (
200 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescOnce sync.Once
201 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDesc
202 )
203
204 func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescGZIP() []byte {
205 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescOnce.Do(func() {
206 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData)
207 })
208 return file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData
209 }
210
211 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
212 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_goTypes = []interface{}{
213 (*VideoClassificationPredictionParams)(nil),
214 }
215 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_depIdxs = []int32{
216 0,
217 0,
218 0,
219 0,
220 0,
221 }
222
223 func init() {
224 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_init()
225 }
226 func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_init() {
227 if File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto != nil {
228 return
229 }
230 if !protoimpl.UnsafeEnabled {
231 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
232 switch v := v.(*VideoClassificationPredictionParams); i {
233 case 0:
234 return &v.state
235 case 1:
236 return &v.sizeCache
237 case 2:
238 return &v.unknownFields
239 default:
240 return nil
241 }
242 }
243 }
244 type x struct{}
245 out := protoimpl.TypeBuilder{
246 File: protoimpl.DescBuilder{
247 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
248 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDesc,
249 NumEnums: 0,
250 NumMessages: 1,
251 NumExtensions: 0,
252 NumServices: 0,
253 },
254 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_goTypes,
255 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_depIdxs,
256 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes,
257 }.Build()
258 File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto = out.File
259 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDesc = nil
260 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_goTypes = nil
261 file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_depIdxs = nil
262 }
263
View as plain text