Debian Codegraph @

automl/apiv1beta1/automlpb/regression.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/automl/v1beta1/regression.proto
20
21 package automlpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Metrics for regression problems.
38 type RegressionEvaluationMetrics struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Output only. Root Mean Squared Error (RMSE).
44 RootMeanSquaredError float32 `protobuf:"fixed32,1,opt,name=root_mean_squared_error,json=rootMeanSquaredError,proto3" json:"root_mean_squared_error,omitempty"`
45 // Output only. Mean Absolute Error (MAE).
46 MeanAbsoluteError float32 `protobuf:"fixed32,2,opt,name=mean_absolute_error,json=meanAbsoluteError,proto3" json:"mean_absolute_error,omitempty"`
47 // Output only. Mean absolute percentage error. Only set if all ground truth
48 // values are are positive.
49 MeanAbsolutePercentageError float32 `protobuf:"fixed32,3,opt,name=mean_absolute_percentage_error,json=meanAbsolutePercentageError,proto3" json:"mean_absolute_percentage_error,omitempty"`
50 // Output only. R squared.
51 RSquared float32 `protobuf:"fixed32,4,opt,name=r_squared,json=rSquared,proto3" json:"r_squared,omitempty"`
52 // Output only. Root mean squared log error.
53 RootMeanSquaredLogError float32 `protobuf:"fixed32,5,opt,name=root_mean_squared_log_error,json=rootMeanSquaredLogError,proto3" json:"root_mean_squared_log_error,omitempty"`
54 }
55
56 func (x *RegressionEvaluationMetrics) Reset() {
57 *x = RegressionEvaluationMetrics{}
58 mi := &file_google_cloud_automl_v1beta1_regression_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
61 }
62
63 func (x *RegressionEvaluationMetrics) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*RegressionEvaluationMetrics) ProtoMessage() {}
68
69 func (x *RegressionEvaluationMetrics) ProtoReflect() protoreflect.Message {
70 mi := &file_google_cloud_automl_v1beta1_regression_proto_msgTypes[0]
71 if x != nil {
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 if ms.LoadMessageInfo() == nil {
74 ms.StoreMessageInfo(mi)
75 }
76 return ms
77 }
78 return mi.MessageOf(x)
79 }
80
81 // Deprecated: Use RegressionEvaluationMetrics.ProtoReflect.Descriptor instead.
82 func (*RegressionEvaluationMetrics) Descriptor() ([]byte, []int) {
83 return file_google_cloud_automl_v1beta1_regression_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (x *RegressionEvaluationMetrics) GetRootMeanSquaredError() float32 {
87 if x != nil {
88 return x.RootMeanSquaredError
89 }
90 return 0
91 }
92
93 func (x *RegressionEvaluationMetrics) GetMeanAbsoluteError() float32 {
94 if x != nil {
95 return x.MeanAbsoluteError
96 }
97 return 0
98 }
99
100 func (x *RegressionEvaluationMetrics) GetMeanAbsolutePercentageError() float32 {
101 if x != nil {
102 return x.MeanAbsolutePercentageError
103 }
104 return 0
105 }
106
107 func (x *RegressionEvaluationMetrics) GetRSquared() float32 {
108 if x != nil {
109 return x.RSquared
110 }
111 return 0
112 }
113
114 func (x *RegressionEvaluationMetrics) GetRootMeanSquaredLogError() float32 {
115 if x != nil {
116 return x.RootMeanSquaredLogError
117 }
118 return 0
119 }
120
121 var File_google_cloud_automl_v1beta1_regression_proto protoreflect.FileDescriptor
122
123 var file_google_cloud_automl_v1beta1_regression_proto_rawDesc = []byte{
124 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
125 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x72, 0x65,
126 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b,
127 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
128 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0xa4, 0x02, 0x0a, 0x1b,
129 0x52, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61,
130 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x72,
131 0x6f, 0x6f, 0x74, 0x5f, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x73, 0x71, 0x75, 0x61, 0x72, 0x65, 0x64,
132 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x14, 0x72, 0x6f,
133 0x6f, 0x74, 0x4d, 0x65, 0x61, 0x6e, 0x53, 0x71, 0x75, 0x61, 0x72, 0x65, 0x64, 0x45, 0x72, 0x72,
134 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x62, 0x73, 0x6f, 0x6c,
135 0x75, 0x74, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52,
136 0x11, 0x6d, 0x65, 0x61, 0x6e, 0x41, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x45, 0x72, 0x72,
137 0x6f, 0x72, 0x12, 0x43, 0x0a, 0x1e, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x62, 0x73, 0x6f, 0x6c,
138 0x75, 0x74, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x65,
139 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x1b, 0x6d, 0x65, 0x61, 0x6e,
140 0x41, 0x62, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61,
141 0x67, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x5f, 0x73, 0x71, 0x75,
142 0x61, 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x72, 0x53, 0x71, 0x75,
143 0x61, 0x72, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6d, 0x65, 0x61,
144 0x6e, 0x5f, 0x73, 0x71, 0x75, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x72,
145 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x17, 0x72, 0x6f, 0x6f, 0x74, 0x4d,
146 0x65, 0x61, 0x6e, 0x53, 0x71, 0x75, 0x61, 0x72, 0x65, 0x64, 0x4c, 0x6f, 0x67, 0x45, 0x72, 0x72,
147 0x6f, 0x72, 0x42, 0xaa, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
148 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
149 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69,
150 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
151 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74,
152 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
153 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62,
154 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
155 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02,
156 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
157 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62,
158 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
159 }
160
161 var (
162 file_google_cloud_automl_v1beta1_regression_proto_rawDescOnce sync.Once
163 file_google_cloud_automl_v1beta1_regression_proto_rawDescData = file_google_cloud_automl_v1beta1_regression_proto_rawDesc
164 )
165
166 func file_google_cloud_automl_v1beta1_regression_proto_rawDescGZIP() []byte {
167 file_google_cloud_automl_v1beta1_regression_proto_rawDescOnce.Do(func() {
168 file_google_cloud_automl_v1beta1_regression_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_regression_proto_rawDescData)
169 })
170 return file_google_cloud_automl_v1beta1_regression_proto_rawDescData
171 }
172
173 var file_google_cloud_automl_v1beta1_regression_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
174 var file_google_cloud_automl_v1beta1_regression_proto_goTypes = []any{
175 (*RegressionEvaluationMetrics)(nil), // 0: google.cloud.automl.v1beta1.RegressionEvaluationMetrics
176 }
177 var file_google_cloud_automl_v1beta1_regression_proto_depIdxs = []int32{
178 0, // [0:0] is the sub-list for method output_type
179 0, // [0:0] is the sub-list for method input_type
180 0, // [0:0] is the sub-list for extension type_name
181 0, // [0:0] is the sub-list for extension extendee
182 0, // [0:0] is the sub-list for field type_name
183 }
184
185 func init() { file_google_cloud_automl_v1beta1_regression_proto_init() }
186 func file_google_cloud_automl_v1beta1_regression_proto_init() {
187 if File_google_cloud_automl_v1beta1_regression_proto != nil {
188 return
189 }
190 type x struct{}
191 out := protoimpl.TypeBuilder{
192 File: protoimpl.DescBuilder{
193 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
194 RawDescriptor: file_google_cloud_automl_v1beta1_regression_proto_rawDesc,
195 NumEnums: 0,
196 NumMessages: 1,
197 NumExtensions: 0,
198 NumServices: 0,
199 },
200 GoTypes: file_google_cloud_automl_v1beta1_regression_proto_goTypes,
201 DependencyIndexes: file_google_cloud_automl_v1beta1_regression_proto_depIdxs,
202 MessageInfos: file_google_cloud_automl_v1beta1_regression_proto_msgTypes,
203 }.Build()
204 File_google_cloud_automl_v1beta1_regression_proto = out.File
205 file_google_cloud_automl_v1beta1_regression_proto_rawDesc = nil
206 file_google_cloud_automl_v1beta1_regression_proto_goTypes = nil
207 file_google_cloud_automl_v1beta1_regression_proto_depIdxs = nil
208 }