Debian Codegraph @

googleapis/cloud/aiplatform/v1/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/v1/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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_schema_trainingjob_definition_automl_text_sentiment_proto protoreflect.FileDescriptor
142
143 var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = []byte{
144 0x0a, 0x54, 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, 0x2f, 0x73, 0x63, 0x68,
146 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f,
147 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d,
148 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74,
149 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
150 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
151 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69,
152 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e,
153 0x22, 0x82, 0x01, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53,
154 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x6b, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75,
155 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
156 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
157 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61,
158 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
159 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65,
160 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69,
161 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54,
162 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75,
163 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
164 0x6d, 0x61, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x74, 0x69,
165 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x42, 0xf5, 0x02, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e,
166 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70,
167 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d,
168 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65,
169 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x18, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c,
170 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f,
171 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
172 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
173 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
174 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f,
175 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a,
176 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65,
177 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x38, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
178 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
179 0x72, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x72, 0x61,
180 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4a, 0x6f, 0x62, 0x2e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
181 0x69, 0x6f, 0x6e, 0xca, 0x02, 0x38, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
182 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, 0x31,
183 0x5c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67,
184 0x4a, 0x6f, 0x62, 0x5c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0xea, 0x02,
185 0x3e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
186 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a,
187 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3a, 0x3a, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67,
188 0x4a, 0x6f, 0x62, 0x3a, 0x3a, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62,
189 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
190 }
191
192 var (
193 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce sync.Once
194 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc
195 )
196
197 func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP() []byte {
198 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce.Do(func() {
199 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData)
200 })
201 return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData
202 }
203
204 var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
205 var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = []interface{}{
206 (*AutoMlTextSentiment)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentiment
207 (*AutoMlTextSentimentInputs)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs
208 }
209 var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = []int32{
210 1, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentiment.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs
211 1, // [1:1] is the sub-list for method output_type
212 1, // [1:1] is the sub-list for method input_type
213 1, // [1:1] is the sub-list for extension type_name
214 1, // [1:1] is the sub-list for extension extendee
215 0, // [0:1] is the sub-list for field type_name
216 }
217
218 func init() {
219 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_init()
220 }
221 func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_init() {
222 if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto != nil {
223 return
224 }
225 if !protoimpl.UnsafeEnabled {
226 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
227 switch v := v.(*AutoMlTextSentiment); i {
228 case 0:
229 return &v.state
230 case 1:
231 return &v.sizeCache
232 case 2:
233 return &v.unknownFields
234 default:
235 return nil
236 }
237 }
238 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
239 switch v := v.(*AutoMlTextSentimentInputs); i {
240 case 0:
241 return &v.state
242 case 1:
243 return &v.sizeCache
244 case 2:
245 return &v.unknownFields
246 default:
247 return nil
248 }
249 }
250 }
251 type x struct{}
252 out := protoimpl.TypeBuilder{
253 File: protoimpl.DescBuilder{
254 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
255 RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc,
256 NumEnums: 0,
257 NumMessages: 2,
258 NumExtensions: 0,
259 NumServices: 0,
260 },
261 GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes,
262 DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs,
263 MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes,
264 }.Build()
265 File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto = out.File
266 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = nil
267 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = nil
268 file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = nil
269 }