Debian Codegraph @

googleapis/cloud/aiplatform/v1/schema/predict/params/image_segmentation.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/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_v1_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_v1_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_v1_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_v1_schema_predict_params_image_segmentation_proto protoreflect.FileDescriptor
91
92 var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc = []byte{
93 0x0a, 0x49, 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, 0x2f, 0x73, 0x63, 0x68,
95 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61,
96 0x6d, 0x73, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
97 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x67, 0x6f, 0x6f,
98 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
99 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70,
100 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x56, 0x0a,
101 0x21, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69,
102 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61,
103 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65,
104 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02,
105 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65,
106 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42, 0xd7, 0x02, 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
107 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61,
108 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e,
109 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x26,
110 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f,
111 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d,
112 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
113 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
114 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
115 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
116 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69,
117 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
118 0xaa, 0x02, 0x30, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
119 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x63,
120 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x72,
121 0x61, 0x6d, 0x73, 0xca, 0x02, 0x30, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
122 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31,
123 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x5c,
124 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0xea, 0x02, 0x36, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
125 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
126 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a,
127 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x3a, 0x3a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x62,
128 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
129 }
130
131 var (
132 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescOnce sync.Once
133 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc
134 )
135
136 func file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescGZIP() []byte {
137 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescOnce.Do(func() {
138 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData)
139 })
140 return file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData
141 }
142
143 var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
144 var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_goTypes = []interface{}{
145 (*ImageSegmentationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.ImageSegmentationPredictionParams
146 }
147 var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_depIdxs = []int32{
148 0, // [0:0] is the sub-list for method output_type
149 0, // [0:0] is the sub-list for method input_type
150 0, // [0:0] is the sub-list for extension type_name
151 0, // [0:0] is the sub-list for extension extendee
152 0, // [0:0] is the sub-list for field type_name
153 }
154
155 func init() { file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_init() }
156 func file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_init() {
157 if File_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto != nil {
158 return
159 }
160 if !protoimpl.UnsafeEnabled {
161 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
162 switch v := v.(*ImageSegmentationPredictionParams); i {
163 case 0:
164 return &v.state
165 case 1:
166 return &v.sizeCache
167 case 2:
168 return &v.unknownFields
169 default:
170 return nil
171 }
172 }
173 }
174 type x struct{}
175 out := protoimpl.TypeBuilder{
176 File: protoimpl.DescBuilder{
177 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
178 RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc,
179 NumEnums: 0,
180 NumMessages: 1,
181 NumExtensions: 0,
182 NumServices: 0,
183 },
184 GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_goTypes,
185 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_depIdxs,
186 MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes,
187 }.Build()
188 File_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto = out.File
189 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc = nil
190 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_goTypes = nil
191 file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_depIdxs = nil
192 }