...

Source file src/google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction

     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/prediction/tabular_regression.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 Regression.
    39  type TabularRegressionPredictionResult struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The regression value.
    45  	Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
    46  	// The lower bound of the prediction interval.
    47  	LowerBound float32 `protobuf:"fixed32,2,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
    48  	// The upper bound of the prediction interval.
    49  	UpperBound float32 `protobuf:"fixed32,3,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
    50  }
    51  
    52  func (x *TabularRegressionPredictionResult) Reset() {
    53  	*x = TabularRegressionPredictionResult{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *TabularRegressionPredictionResult) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*TabularRegressionPredictionResult) ProtoMessage() {}
    66  
    67  func (x *TabularRegressionPredictionResult) ProtoReflect() protoreflect.Message {
    68  	mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use TabularRegressionPredictionResult.ProtoReflect.Descriptor instead.
    80  func (*TabularRegressionPredictionResult) Descriptor() ([]byte, []int) {
    81  	return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *TabularRegressionPredictionResult) GetValue() float32 {
    85  	if x != nil {
    86  		return x.Value
    87  	}
    88  	return 0
    89  }
    90  
    91  func (x *TabularRegressionPredictionResult) GetLowerBound() float32 {
    92  	if x != nil {
    93  		return x.LowerBound
    94  	}
    95  	return 0
    96  }
    97  
    98  func (x *TabularRegressionPredictionResult) GetUpperBound() float32 {
    99  	if x != nil {
   100  		return x.UpperBound
   101  	}
   102  	return 0
   103  }
   104  
   105  var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto protoreflect.FileDescriptor
   106  
   107  var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc = []byte{
   108  	0x0a, 0x52, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
   109  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   110  	0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
   111  	0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x62, 0x75,
   112  	0x6c, 0x61, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
   113  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
   114  	0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31,
   115  	0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65,
   116  	0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22,
   117  	0x7b, 0x0a, 0x21, 0x54, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x65, 0x67, 0x72, 0x65, 0x73,
   118  	0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
   119  	0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
   120  	0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f,
   121  	0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52,
   122  	0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x75,
   123  	0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02,
   124  	0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x88, 0x03, 0x0a,
   125  	0x3d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   126  	0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62,
   127  	0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64,
   128  	0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x26,
   129  	0x54, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f,
   130  	0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c,
   131  	0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x63, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   132  	0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
   133  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
   134  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   135  	0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f,
   136  	0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69,
   137  	0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x39,
   138  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50,
   139  	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e,
   140  	0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50,
   141  	0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67,
   142  	0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66,
   143  	0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65,
   144  	0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69,
   145  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02, 0x3f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
   146  	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
   147  	0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65,
   148  	0x6d, 0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x72, 0x65,
   149  	0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   150  }
   151  
   152  var (
   153  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescOnce sync.Once
   154  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc
   155  )
   156  
   157  func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescGZIP() []byte {
   158  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescOnce.Do(func() {
   159  		file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData)
   160  	})
   161  	return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData
   162  }
   163  
   164  var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   165  var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_goTypes = []interface{}{
   166  	(*TabularRegressionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TabularRegressionPredictionResult
   167  }
   168  var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_depIdxs = []int32{
   169  	0, // [0:0] is the sub-list for method output_type
   170  	0, // [0:0] is the sub-list for method input_type
   171  	0, // [0:0] is the sub-list for extension type_name
   172  	0, // [0:0] is the sub-list for extension extendee
   173  	0, // [0:0] is the sub-list for field type_name
   174  }
   175  
   176  func init() {
   177  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_init()
   178  }
   179  func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_init() {
   180  	if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto != nil {
   181  		return
   182  	}
   183  	if !protoimpl.UnsafeEnabled {
   184  		file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   185  			switch v := v.(*TabularRegressionPredictionResult); i {
   186  			case 0:
   187  				return &v.state
   188  			case 1:
   189  				return &v.sizeCache
   190  			case 2:
   191  				return &v.unknownFields
   192  			default:
   193  				return nil
   194  			}
   195  		}
   196  	}
   197  	type x struct{}
   198  	out := protoimpl.TypeBuilder{
   199  		File: protoimpl.DescBuilder{
   200  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   201  			RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc,
   202  			NumEnums:      0,
   203  			NumMessages:   1,
   204  			NumExtensions: 0,
   205  			NumServices:   0,
   206  		},
   207  		GoTypes:           file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_goTypes,
   208  		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_depIdxs,
   209  		MessageInfos:      file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes,
   210  	}.Build()
   211  	File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto = out.File
   212  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc = nil
   213  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_goTypes = nil
   214  	file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_depIdxs = nil
   215  }
   216  

View as plain text