Debian Codegraph @

googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.pb.go

raw symbols SCIP
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/trainingjob/definition/automl_text_sentiment.proto
20
21 package definition
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 // A TrainingJob that trains and uploads an AutoML Text Sentiment Model.
39 type AutoMlTextSentiment struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // The input parameters of this TrainingJob.
45 Inputs *AutoMlTextSentimentInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"`
46 }
47
48 func (x *AutoMlTextSentiment) Reset() {
49 *x = AutoMlTextSentiment{}
50 if protoimpl.UnsafeEnabled {
51 mi := &file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0]
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 ms.StoreMessageInfo(mi)
54 }
55 }
56
57 func (x *AutoMlTextSentiment) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*AutoMlTextSentiment) ProtoMessage() {}
62
63 func (x *AutoMlTextSentiment) ProtoReflect() protoreflect.Message {
64 mi := &file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0]
65 if protoimpl.UnsafeEnabled && x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75 // Deprecated: Use AutoMlTextSentiment.ProtoReflect.Descriptor instead.
76 func (*AutoMlTextSentiment) Descriptor() ([]byte, []int) {
77 return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *AutoMlTextSentiment) GetInputs() *AutoMlTextSentimentInputs {
81 if x != nil {
82 return x.Inputs
83 }
84 return nil
85 }
86
87 type AutoMlTextSentimentInputs struct {
88 state protoimpl.MessageState
89 sizeCache protoimpl.SizeCache
90 unknownFields protoimpl.UnknownFields
91
92 // A sentiment is expressed as an integer ordinal, where higher value
93 // means a more positive sentiment. The range of sentiments that will be used
94 // is between 0 and sentimentMax (inclusive on both ends), and all the values
95 // in the range must be represented in the dataset before a model can be
96 // created.
97 // Only the Annotations with this sentimentMax will be used for training.
98 // sentimentMax value must be between 1 and 10 (inclusive).
99 SentimentMax int32 `protobuf:"varint,1,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"`
100 }
101
102 func (x *AutoMlTextSentimentInputs) Reset() {
103 *x = AutoMlTextSentimentInputs{}
104 if protoimpl.UnsafeEnabled {
105 mi := &file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1]
106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107 ms.StoreMessageInfo(mi)
108 }
109 }
110
111 func (x *AutoMlTextSentimentInputs) String() string {
112 return protoimpl.X.MessageStringOf(x)
113 }
114
115 func (*AutoMlTextSentimentInputs) ProtoMessage() {}
116
117 func (x *AutoMlTextSentimentInputs) ProtoReflect() protoreflect.Message {
118 mi := &file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1]
119 if protoimpl.UnsafeEnabled && x != nil {
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 if ms.LoadMessageInfo() == nil {
122 ms.StoreMessageInfo(mi)
123 }
124 return ms
125 }
126 return mi.MessageOf(x)
127 }
128
129 // Deprecated: Use AutoMlTextSentimentInputs.ProtoReflect.Descriptor instead.
130 func (*AutoMlTextSentimentInputs) Descriptor() ([]byte, []int) {
131 return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP(), []int{1}
132 }
133
134 func (x *AutoMlTextSentimentInputs) GetSentimentMax() int32 {
135 if x != nil {
136 return x.SentimentMax
137 }
138 return 0
139 }
140
141 var File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto protoreflect.FileDescriptor
142
143 var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = []byte{
144 0x0a, 0x59, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
145 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
146 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e,
147 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
148 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74,
149 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3d, 0x67, 0x6f, 0x6f,
150 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74,
151 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68,
152 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e,
153 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x13, 0x41,
154 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65,
155 0x6e, 0x74, 0x12, 0x70, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01,
156 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
157 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62,
158 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69,
159 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
160 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e,
161 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e,
162 0x70, 0x75, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65,
163 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74,
164 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d,
165 0x61, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d,
166 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x42, 0x8e, 0x03, 0x0a, 0x41, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
167 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c,
168 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73,
169 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f,
170 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x18, 0x41, 0x75,
171 0x74, 0x6f, 0x4d, 0x4c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e,
172 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x67, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
173 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
174 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
175 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
176 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f,
177 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69,
178 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
179 0x6e, 0xaa, 0x02, 0x3d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
180 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x42, 0x65,
181 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e,
182 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x2e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
183 0x6e, 0xca, 0x02, 0x3d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
184 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31, 0x62, 0x65,
185 0x74, 0x61, 0x31, 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x54, 0x72, 0x61, 0x69, 0x6e,
186 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x5c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f,
187 0x6e, 0xea, 0x02, 0x43, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
188 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56,
189 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3a, 0x3a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a,
190 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x3a, 0x3a, 0x44, 0x65, 0x66,
191 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
192 }
193
194 var (
195 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce sync.Once
196 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc
197 )
198
199 func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP() []byte {
200 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce.Do(func() {
201 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData)
202 })
203 return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData
204 }
205
206 var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
207 var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = []interface{}{
208 (*AutoMlTextSentiment)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentiment
209 (*AutoMlTextSentimentInputs)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentimentInputs
210 }
211 var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = []int32{
212 1, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentiment.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentimentInputs
213 1, // [1:1] is the sub-list for method output_type
214 1, // [1:1] is the sub-list for method input_type
215 1, // [1:1] is the sub-list for extension type_name
216 1, // [1:1] is the sub-list for extension extendee
217 0, // [0:1] is the sub-list for field type_name
218 }
219
220 func init() {
221 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_init()
222 }
223 func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_init() {
224 if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto != nil {
225 return
226 }
227 if !protoimpl.UnsafeEnabled {
228 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
229 switch v := v.(*AutoMlTextSentiment); i {
230 case 0:
231 return &v.state
232 case 1:
233 return &v.sizeCache
234 case 2:
235 return &v.unknownFields
236 default:
237 return nil
238 }
239 }
240 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
241 switch v := v.(*AutoMlTextSentimentInputs); i {
242 case 0:
243 return &v.state
244 case 1:
245 return &v.sizeCache
246 case 2:
247 return &v.unknownFields
248 default:
249 return nil
250 }
251 }
252 }
253 type x struct{}
254 out := protoimpl.TypeBuilder{
255 File: protoimpl.DescBuilder{
256 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
257 RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc,
258 NumEnums: 0,
259 NumMessages: 2,
260 NumExtensions: 0,
261 NumServices: 0,
262 },
263 GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes,
264 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs,
265 MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes,
266 }.Build()
267 File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto = out.File
268 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = nil
269 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = nil
270 file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = nil
271 }