Debian Codegraph @

googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_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/v1/schema/predict/prediction/tabular_classification.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 )
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 output format for Tabular Classification.
39 type TabularClassificationPredictionResult struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // The name of the classes being classified, contains all possible values of
45 // the target column.
46 Classes []string `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"`
47 // The model's confidence in each class being correct, higher
48 // value means higher confidence. The N-th score corresponds to
49 // the N-th class in classes.
50 Scores []float32 `protobuf:"fixed32,2,rep,packed,name=scores,proto3" json:"scores,omitempty"`
51 }
52
53 func (x *TabularClassificationPredictionResult) Reset() {
54 *x = TabularClassificationPredictionResult{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *TabularClassificationPredictionResult) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*TabularClassificationPredictionResult) ProtoMessage() {}
67
68 func (x *TabularClassificationPredictionResult) ProtoReflect() protoreflect.Message {
69 mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_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 // Deprecated: Use TabularClassificationPredictionResult.ProtoReflect.Descriptor instead.
81 func (*TabularClassificationPredictionResult) Descriptor() ([]byte, []int) {
82 return file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *TabularClassificationPredictionResult) GetClasses() []string {
86 if x != nil {
87 return x.Classes
88 }
89 return nil
90 }
91
92 func (x *TabularClassificationPredictionResult) GetScores() []float32 {
93 if x != nil {
94 return x.Scores
95 }
96 return nil
97 }
98
99 var File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto protoreflect.FileDescriptor
100
101 var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc = []byte{
102 0x0a, 0x51, 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, 0x2f, 0x73, 0x63, 0x68,
104 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64,
105 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x63,
106 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
107 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
108 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
109 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70,
110 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x59, 0x0a, 0x25, 0x54, 0x61, 0x62,
111 0x75, 0x6c, 0x61, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
112 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75,
113 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20,
114 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06,
115 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x02, 0x52, 0x06, 0x73, 0x63,
116 0x6f, 0x72, 0x65, 0x73, 0x42, 0xf3, 0x02, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
117 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
118 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
119 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f,
120 0x6e, 0x42, 0x2a, 0x54, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69,
121 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69,
122 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
123 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
124 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
125 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70,
126 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d,
127 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
128 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa,
129 0x02, 0x34, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41,
130 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x63, 0x68,
131 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x72, 0x65, 0x64,
132 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x34, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
133 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
134 0x5c, 0x56, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69,
135 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02, 0x3a,
136 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41,
137 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53,
138 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a,
139 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
140 0x6f, 0x33,
141 }
142
143 var (
144 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescOnce sync.Once
145 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc
146 )
147
148 func file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescGZIP() []byte {
149 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescOnce.Do(func() {
150 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData)
151 })
152 return file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData
153 }
154
155 var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
156 var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_goTypes = []interface{}{
157 (*TabularClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.TabularClassificationPredictionResult
158 }
159 var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_depIdxs = []int32{
160 0, // [0:0] is the sub-list for method output_type
161 0, // [0:0] is the sub-list for method input_type
162 0, // [0:0] is the sub-list for extension type_name
163 0, // [0:0] is the sub-list for extension extendee
164 0, // [0:0] is the sub-list for field type_name
165 }
166
167 func init() {
168 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_init()
169 }
170 func file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_init() {
171 if File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto != nil {
172 return
173 }
174 if !protoimpl.UnsafeEnabled {
175 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
176 switch v := v.(*TabularClassificationPredictionResult); i {
177 case 0:
178 return &v.state
179 case 1:
180 return &v.sizeCache
181 case 2:
182 return &v.unknownFields
183 default:
184 return nil
185 }
186 }
187 }
188 type x struct{}
189 out := protoimpl.TypeBuilder{
190 File: protoimpl.DescBuilder{
191 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
192 RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc,
193 NumEnums: 0,
194 NumMessages: 1,
195 NumExtensions: 0,
196 NumServices: 0,
197 },
198 GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_goTypes,
199 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_depIdxs,
200 MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes,
201 }.Build()
202 File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto = out.File
203 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc = nil
204 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_goTypes = nil
205 file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_depIdxs = nil
206 }