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 ImageClassificationPredictionParams 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 func (x *ImageClassificationPredictionParams) Reset() {
54 *x = ImageClassificationPredictionParams{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *ImageClassificationPredictionParams) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*ImageClassificationPredictionParams) ProtoMessage() {}
67
68 func (x *ImageClassificationPredictionParams) ProtoReflect() protoreflect.Message {
69 mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80
81 func (*ImageClassificationPredictionParams) Descriptor() ([]byte, []int) {
82 return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *ImageClassificationPredictionParams) GetConfidenceThreshold() float32 {
86 if x != nil {
87 return x.ConfidenceThreshold
88 }
89 return 0
90 }
91
92 func (x *ImageClassificationPredictionParams) GetMaxPredictions() int32 {
93 if x != nil {
94 return x.MaxPredictions
95 }
96 return 0
97 }
98
99 var File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto protoreflect.FileDescriptor
100
101 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDesc = []byte{
102 0x0a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
103 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
104 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
105 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c,
106 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
107 0x74, 0x6f, 0x12, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
108 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65,
109 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69,
110 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x23, 0x49, 0x6d,
111 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
112 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d,
113 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f,
114 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52,
115 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73,
116 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x64,
117 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d,
118 0x61, 0x78, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xf2, 0x02,
119 0x0a, 0x39, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
120 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31,
121 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65,
122 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x28, 0x49, 0x6d, 0x61,
123 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
124 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
125 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
126 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
127 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
128 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f,
129 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70,
130 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61,
131 0x72, 0x61, 0x6d, 0x73, 0xaa, 0x02, 0x35, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
132 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56,
133 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72,
134 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0xca, 0x02, 0x35, 0x47,
135 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c,
136 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53,
137 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x61,
138 0x72, 0x61, 0x6d, 0x73, 0xea, 0x02, 0x3b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
139 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
140 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d,
141 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x61, 0x72, 0x61,
142 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
143 }
144
145 var (
146 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescOnce sync.Once
147 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDesc
148 )
149
150 func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescGZIP() []byte {
151 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescOnce.Do(func() {
152 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData)
153 })
154 return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData
155 }
156
157 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
158 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_goTypes = []interface{}{
159 (*ImageClassificationPredictionParams)(nil),
160 }
161 var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_depIdxs = []int32{
162 0,
163 0,
164 0,
165 0,
166 0,
167 }
168
169 func init() {
170 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_init()
171 }
172 func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_init() {
173 if File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto != nil {
174 return
175 }
176 if !protoimpl.UnsafeEnabled {
177 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
178 switch v := v.(*ImageClassificationPredictionParams); i {
179 case 0:
180 return &v.state
181 case 1:
182 return &v.sizeCache
183 case 2:
184 return &v.unknownFields
185 default:
186 return nil
187 }
188 }
189 }
190 type x struct{}
191 out := protoimpl.TypeBuilder{
192 File: protoimpl.DescBuilder{
193 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
194 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDesc,
195 NumEnums: 0,
196 NumMessages: 1,
197 NumExtensions: 0,
198 NumServices: 0,
199 },
200 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_goTypes,
201 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_depIdxs,
202 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes,
203 }.Build()
204 File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto = out.File
205 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDesc = nil
206 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_goTypes = nil
207 file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_depIdxs = nil
208 }
209
View as plain text