...

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

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

     1  // Copyright 2020 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/params/image_segmentation.proto
    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  	// 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 model parameters for Image Segmentation.
    39  type ImageSegmentationPredictionParams struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// When the model predicts category of pixels of the image, it will only
    45  	// provide predictions for pixels that it is at least this much confident
    46  	// about. All other pixels will be classified as background. Default value is
    47  	// 0.5.
    48  	ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
    49  }
    50  
    51  func (x *ImageSegmentationPredictionParams) Reset() {
    52  	*x = ImageSegmentationPredictionParams{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *ImageSegmentationPredictionParams) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*ImageSegmentationPredictionParams) ProtoMessage() {}
    65  
    66  func (x *ImageSegmentationPredictionParams) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use ImageSegmentationPredictionParams.ProtoReflect.Descriptor instead.
    79  func (*ImageSegmentationPredictionParams) Descriptor() ([]byte, []int) {
    80  	return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *ImageSegmentationPredictionParams) GetConfidenceThreshold() float32 {
    84  	if x != nil {
    85  		return x.ConfidenceThreshold
    86  	}
    87  	return 0
    88  }
    89  
    90  var File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto protoreflect.FileDescriptor
    91  
    92  var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc = []byte{
    93  	0x0a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
    94  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
    95  	0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
    96  	0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
    97  	0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
    98  	0x12, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
    99  	0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   100  	0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
   101  	0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x56, 0x0a, 0x21, 0x49, 0x6d, 0x61, 0x67, 0x65,
   102  	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64,
   103  	0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14,
   104  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73,
   105  	0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66,
   106  	0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42,
   107  	0xf0, 0x02, 0x0a, 0x39, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   108  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
   109  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
   110  	0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x26, 0x49,
   111  	0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   112  	0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
   113  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   114  	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
   115  	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
   116  	0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f,
   117  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70,
   118  	0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61,
   119  	0x72, 0x61, 0x6d, 0x73, 0xaa, 0x02, 0x35, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
   120  	0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56,
   121  	0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72,
   122  	0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0xca, 0x02, 0x35, 0x47,
   123  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c,
   124  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x53,
   125  	0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c, 0x50, 0x61,
   126  	0x72, 0x61, 0x6d, 0x73, 0xea, 0x02, 0x3b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
   127  	0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
   128  	0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d,
   129  	0x61, 0x3a, 0x3a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x61, 0x72, 0x61,
   130  	0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   131  }
   132  
   133  var (
   134  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescOnce sync.Once
   135  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc
   136  )
   137  
   138  func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescGZIP() []byte {
   139  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescOnce.Do(func() {
   140  		file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData)
   141  	})
   142  	return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData
   143  }
   144  
   145  var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   146  var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_goTypes = []interface{}{
   147  	(*ImageSegmentationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.ImageSegmentationPredictionParams
   148  }
   149  var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_depIdxs = []int32{
   150  	0, // [0:0] is the sub-list for method output_type
   151  	0, // [0:0] is the sub-list for method input_type
   152  	0, // [0:0] is the sub-list for extension type_name
   153  	0, // [0:0] is the sub-list for extension extendee
   154  	0, // [0:0] is the sub-list for field type_name
   155  }
   156  
   157  func init() {
   158  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_init()
   159  }
   160  func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_init() {
   161  	if File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto != nil {
   162  		return
   163  	}
   164  	if !protoimpl.UnsafeEnabled {
   165  		file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   166  			switch v := v.(*ImageSegmentationPredictionParams); i {
   167  			case 0:
   168  				return &v.state
   169  			case 1:
   170  				return &v.sizeCache
   171  			case 2:
   172  				return &v.unknownFields
   173  			default:
   174  				return nil
   175  			}
   176  		}
   177  	}
   178  	type x struct{}
   179  	out := protoimpl.TypeBuilder{
   180  		File: protoimpl.DescBuilder{
   181  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   182  			RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc,
   183  			NumEnums:      0,
   184  			NumMessages:   1,
   185  			NumExtensions: 0,
   186  			NumServices:   0,
   187  		},
   188  		GoTypes:           file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_goTypes,
   189  		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_depIdxs,
   190  		MessageInfos:      file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes,
   191  	}.Build()
   192  	File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto = out.File
   193  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc = nil
   194  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_goTypes = nil
   195  	file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_depIdxs = nil
   196  }
   197  

View as plain text