• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/automl/v1beta1/data_items.proto
18 
19 package com.google.cloud.automl.v1beta1;
20 
21 /**
22  *
23  *
24  * <pre>
25  * A representation of a row in a relational table.
26  * </pre>
27  *
28  * Protobuf type {@code google.cloud.automl.v1beta1.Row}
29  */
30 public final class Row extends com.google.protobuf.GeneratedMessageV3
31     implements
32     // @@protoc_insertion_point(message_implements:google.cloud.automl.v1beta1.Row)
33     RowOrBuilder {
34   private static final long serialVersionUID = 0L;
35   // Use Row.newBuilder() to construct.
Row(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)36   private Row(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
37     super(builder);
38   }
39 
Row()40   private Row() {
41     columnSpecIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
42     values_ = java.util.Collections.emptyList();
43   }
44 
45   @java.lang.Override
46   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)47   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
48     return new Row();
49   }
50 
51   @java.lang.Override
getUnknownFields()52   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
53     return this.unknownFields;
54   }
55 
getDescriptor()56   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
57     return com.google.cloud.automl.v1beta1.DataItems
58         .internal_static_google_cloud_automl_v1beta1_Row_descriptor;
59   }
60 
61   @java.lang.Override
62   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()63       internalGetFieldAccessorTable() {
64     return com.google.cloud.automl.v1beta1.DataItems
65         .internal_static_google_cloud_automl_v1beta1_Row_fieldAccessorTable
66         .ensureFieldAccessorsInitialized(
67             com.google.cloud.automl.v1beta1.Row.class,
68             com.google.cloud.automl.v1beta1.Row.Builder.class);
69   }
70 
71   public static final int COLUMN_SPEC_IDS_FIELD_NUMBER = 2;
72 
73   @SuppressWarnings("serial")
74   private com.google.protobuf.LazyStringList columnSpecIds_;
75   /**
76    *
77    *
78    * <pre>
79    * The resource IDs of the column specs describing the columns of the row.
80    * If set must contain, but possibly in a different order, all input
81    * feature
82    * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
83    * of the Model this row is being passed to.
84    * Note: The below `values` field must match order of this field, if this
85    * field is set.
86    * </pre>
87    *
88    * <code>repeated string column_spec_ids = 2;</code>
89    *
90    * @return A list containing the columnSpecIds.
91    */
getColumnSpecIdsList()92   public com.google.protobuf.ProtocolStringList getColumnSpecIdsList() {
93     return columnSpecIds_;
94   }
95   /**
96    *
97    *
98    * <pre>
99    * The resource IDs of the column specs describing the columns of the row.
100    * If set must contain, but possibly in a different order, all input
101    * feature
102    * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
103    * of the Model this row is being passed to.
104    * Note: The below `values` field must match order of this field, if this
105    * field is set.
106    * </pre>
107    *
108    * <code>repeated string column_spec_ids = 2;</code>
109    *
110    * @return The count of columnSpecIds.
111    */
getColumnSpecIdsCount()112   public int getColumnSpecIdsCount() {
113     return columnSpecIds_.size();
114   }
115   /**
116    *
117    *
118    * <pre>
119    * The resource IDs of the column specs describing the columns of the row.
120    * If set must contain, but possibly in a different order, all input
121    * feature
122    * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
123    * of the Model this row is being passed to.
124    * Note: The below `values` field must match order of this field, if this
125    * field is set.
126    * </pre>
127    *
128    * <code>repeated string column_spec_ids = 2;</code>
129    *
130    * @param index The index of the element to return.
131    * @return The columnSpecIds at the given index.
132    */
getColumnSpecIds(int index)133   public java.lang.String getColumnSpecIds(int index) {
134     return columnSpecIds_.get(index);
135   }
136   /**
137    *
138    *
139    * <pre>
140    * The resource IDs of the column specs describing the columns of the row.
141    * If set must contain, but possibly in a different order, all input
142    * feature
143    * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
144    * of the Model this row is being passed to.
145    * Note: The below `values` field must match order of this field, if this
146    * field is set.
147    * </pre>
148    *
149    * <code>repeated string column_spec_ids = 2;</code>
150    *
151    * @param index The index of the value to return.
152    * @return The bytes of the columnSpecIds at the given index.
153    */
getColumnSpecIdsBytes(int index)154   public com.google.protobuf.ByteString getColumnSpecIdsBytes(int index) {
155     return columnSpecIds_.getByteString(index);
156   }
157 
158   public static final int VALUES_FIELD_NUMBER = 3;
159 
160   @SuppressWarnings("serial")
161   private java.util.List<com.google.protobuf.Value> values_;
162   /**
163    *
164    *
165    * <pre>
166    * Required. The values of the row cells, given in the same order as the
167    * column_spec_ids, or, if not set, then in the same order as input
168    * feature
169    * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
170    * of the Model this row is being passed to.
171    * </pre>
172    *
173    * <code>repeated .google.protobuf.Value values = 3;</code>
174    */
175   @java.lang.Override
getValuesList()176   public java.util.List<com.google.protobuf.Value> getValuesList() {
177     return values_;
178   }
179   /**
180    *
181    *
182    * <pre>
183    * Required. The values of the row cells, given in the same order as the
184    * column_spec_ids, or, if not set, then in the same order as input
185    * feature
186    * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
187    * of the Model this row is being passed to.
188    * </pre>
189    *
190    * <code>repeated .google.protobuf.Value values = 3;</code>
191    */
192   @java.lang.Override
getValuesOrBuilderList()193   public java.util.List<? extends com.google.protobuf.ValueOrBuilder> getValuesOrBuilderList() {
194     return values_;
195   }
196   /**
197    *
198    *
199    * <pre>
200    * Required. The values of the row cells, given in the same order as the
201    * column_spec_ids, or, if not set, then in the same order as input
202    * feature
203    * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
204    * of the Model this row is being passed to.
205    * </pre>
206    *
207    * <code>repeated .google.protobuf.Value values = 3;</code>
208    */
209   @java.lang.Override
getValuesCount()210   public int getValuesCount() {
211     return values_.size();
212   }
213   /**
214    *
215    *
216    * <pre>
217    * Required. The values of the row cells, given in the same order as the
218    * column_spec_ids, or, if not set, then in the same order as input
219    * feature
220    * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
221    * of the Model this row is being passed to.
222    * </pre>
223    *
224    * <code>repeated .google.protobuf.Value values = 3;</code>
225    */
226   @java.lang.Override
getValues(int index)227   public com.google.protobuf.Value getValues(int index) {
228     return values_.get(index);
229   }
230   /**
231    *
232    *
233    * <pre>
234    * Required. The values of the row cells, given in the same order as the
235    * column_spec_ids, or, if not set, then in the same order as input
236    * feature
237    * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
238    * of the Model this row is being passed to.
239    * </pre>
240    *
241    * <code>repeated .google.protobuf.Value values = 3;</code>
242    */
243   @java.lang.Override
getValuesOrBuilder(int index)244   public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
245     return values_.get(index);
246   }
247 
248   private byte memoizedIsInitialized = -1;
249 
250   @java.lang.Override
isInitialized()251   public final boolean isInitialized() {
252     byte isInitialized = memoizedIsInitialized;
253     if (isInitialized == 1) return true;
254     if (isInitialized == 0) return false;
255 
256     memoizedIsInitialized = 1;
257     return true;
258   }
259 
260   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)261   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
262     for (int i = 0; i < columnSpecIds_.size(); i++) {
263       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, columnSpecIds_.getRaw(i));
264     }
265     for (int i = 0; i < values_.size(); i++) {
266       output.writeMessage(3, values_.get(i));
267     }
268     getUnknownFields().writeTo(output);
269   }
270 
271   @java.lang.Override
getSerializedSize()272   public int getSerializedSize() {
273     int size = memoizedSize;
274     if (size != -1) return size;
275 
276     size = 0;
277     {
278       int dataSize = 0;
279       for (int i = 0; i < columnSpecIds_.size(); i++) {
280         dataSize += computeStringSizeNoTag(columnSpecIds_.getRaw(i));
281       }
282       size += dataSize;
283       size += 1 * getColumnSpecIdsList().size();
284     }
285     for (int i = 0; i < values_.size(); i++) {
286       size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, values_.get(i));
287     }
288     size += getUnknownFields().getSerializedSize();
289     memoizedSize = size;
290     return size;
291   }
292 
293   @java.lang.Override
equals(final java.lang.Object obj)294   public boolean equals(final java.lang.Object obj) {
295     if (obj == this) {
296       return true;
297     }
298     if (!(obj instanceof com.google.cloud.automl.v1beta1.Row)) {
299       return super.equals(obj);
300     }
301     com.google.cloud.automl.v1beta1.Row other = (com.google.cloud.automl.v1beta1.Row) obj;
302 
303     if (!getColumnSpecIdsList().equals(other.getColumnSpecIdsList())) return false;
304     if (!getValuesList().equals(other.getValuesList())) return false;
305     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
306     return true;
307   }
308 
309   @java.lang.Override
hashCode()310   public int hashCode() {
311     if (memoizedHashCode != 0) {
312       return memoizedHashCode;
313     }
314     int hash = 41;
315     hash = (19 * hash) + getDescriptor().hashCode();
316     if (getColumnSpecIdsCount() > 0) {
317       hash = (37 * hash) + COLUMN_SPEC_IDS_FIELD_NUMBER;
318       hash = (53 * hash) + getColumnSpecIdsList().hashCode();
319     }
320     if (getValuesCount() > 0) {
321       hash = (37 * hash) + VALUES_FIELD_NUMBER;
322       hash = (53 * hash) + getValuesList().hashCode();
323     }
324     hash = (29 * hash) + getUnknownFields().hashCode();
325     memoizedHashCode = hash;
326     return hash;
327   }
328 
parseFrom(java.nio.ByteBuffer data)329   public static com.google.cloud.automl.v1beta1.Row parseFrom(java.nio.ByteBuffer data)
330       throws com.google.protobuf.InvalidProtocolBufferException {
331     return PARSER.parseFrom(data);
332   }
333 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)334   public static com.google.cloud.automl.v1beta1.Row parseFrom(
335       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
336       throws com.google.protobuf.InvalidProtocolBufferException {
337     return PARSER.parseFrom(data, extensionRegistry);
338   }
339 
parseFrom(com.google.protobuf.ByteString data)340   public static com.google.cloud.automl.v1beta1.Row parseFrom(com.google.protobuf.ByteString data)
341       throws com.google.protobuf.InvalidProtocolBufferException {
342     return PARSER.parseFrom(data);
343   }
344 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)345   public static com.google.cloud.automl.v1beta1.Row parseFrom(
346       com.google.protobuf.ByteString data,
347       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
348       throws com.google.protobuf.InvalidProtocolBufferException {
349     return PARSER.parseFrom(data, extensionRegistry);
350   }
351 
parseFrom(byte[] data)352   public static com.google.cloud.automl.v1beta1.Row parseFrom(byte[] data)
353       throws com.google.protobuf.InvalidProtocolBufferException {
354     return PARSER.parseFrom(data);
355   }
356 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)357   public static com.google.cloud.automl.v1beta1.Row parseFrom(
358       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
359       throws com.google.protobuf.InvalidProtocolBufferException {
360     return PARSER.parseFrom(data, extensionRegistry);
361   }
362 
parseFrom(java.io.InputStream input)363   public static com.google.cloud.automl.v1beta1.Row parseFrom(java.io.InputStream input)
364       throws java.io.IOException {
365     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
366   }
367 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)368   public static com.google.cloud.automl.v1beta1.Row parseFrom(
369       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
370       throws java.io.IOException {
371     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
372         PARSER, input, extensionRegistry);
373   }
374 
parseDelimitedFrom(java.io.InputStream input)375   public static com.google.cloud.automl.v1beta1.Row parseDelimitedFrom(java.io.InputStream input)
376       throws java.io.IOException {
377     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
378   }
379 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)380   public static com.google.cloud.automl.v1beta1.Row parseDelimitedFrom(
381       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
382       throws java.io.IOException {
383     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
384         PARSER, input, extensionRegistry);
385   }
386 
parseFrom( com.google.protobuf.CodedInputStream input)387   public static com.google.cloud.automl.v1beta1.Row parseFrom(
388       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
389     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
390   }
391 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)392   public static com.google.cloud.automl.v1beta1.Row parseFrom(
393       com.google.protobuf.CodedInputStream input,
394       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
395       throws java.io.IOException {
396     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
397         PARSER, input, extensionRegistry);
398   }
399 
400   @java.lang.Override
newBuilderForType()401   public Builder newBuilderForType() {
402     return newBuilder();
403   }
404 
newBuilder()405   public static Builder newBuilder() {
406     return DEFAULT_INSTANCE.toBuilder();
407   }
408 
newBuilder(com.google.cloud.automl.v1beta1.Row prototype)409   public static Builder newBuilder(com.google.cloud.automl.v1beta1.Row prototype) {
410     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
411   }
412 
413   @java.lang.Override
toBuilder()414   public Builder toBuilder() {
415     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
416   }
417 
418   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)419   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
420     Builder builder = new Builder(parent);
421     return builder;
422   }
423   /**
424    *
425    *
426    * <pre>
427    * A representation of a row in a relational table.
428    * </pre>
429    *
430    * Protobuf type {@code google.cloud.automl.v1beta1.Row}
431    */
432   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
433       implements
434       // @@protoc_insertion_point(builder_implements:google.cloud.automl.v1beta1.Row)
435       com.google.cloud.automl.v1beta1.RowOrBuilder {
getDescriptor()436     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
437       return com.google.cloud.automl.v1beta1.DataItems
438           .internal_static_google_cloud_automl_v1beta1_Row_descriptor;
439     }
440 
441     @java.lang.Override
442     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()443         internalGetFieldAccessorTable() {
444       return com.google.cloud.automl.v1beta1.DataItems
445           .internal_static_google_cloud_automl_v1beta1_Row_fieldAccessorTable
446           .ensureFieldAccessorsInitialized(
447               com.google.cloud.automl.v1beta1.Row.class,
448               com.google.cloud.automl.v1beta1.Row.Builder.class);
449     }
450 
451     // Construct using com.google.cloud.automl.v1beta1.Row.newBuilder()
Builder()452     private Builder() {}
453 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)454     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
455       super(parent);
456     }
457 
458     @java.lang.Override
clear()459     public Builder clear() {
460       super.clear();
461       bitField0_ = 0;
462       columnSpecIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
463       bitField0_ = (bitField0_ & ~0x00000001);
464       if (valuesBuilder_ == null) {
465         values_ = java.util.Collections.emptyList();
466       } else {
467         values_ = null;
468         valuesBuilder_.clear();
469       }
470       bitField0_ = (bitField0_ & ~0x00000002);
471       return this;
472     }
473 
474     @java.lang.Override
getDescriptorForType()475     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
476       return com.google.cloud.automl.v1beta1.DataItems
477           .internal_static_google_cloud_automl_v1beta1_Row_descriptor;
478     }
479 
480     @java.lang.Override
getDefaultInstanceForType()481     public com.google.cloud.automl.v1beta1.Row getDefaultInstanceForType() {
482       return com.google.cloud.automl.v1beta1.Row.getDefaultInstance();
483     }
484 
485     @java.lang.Override
build()486     public com.google.cloud.automl.v1beta1.Row build() {
487       com.google.cloud.automl.v1beta1.Row result = buildPartial();
488       if (!result.isInitialized()) {
489         throw newUninitializedMessageException(result);
490       }
491       return result;
492     }
493 
494     @java.lang.Override
buildPartial()495     public com.google.cloud.automl.v1beta1.Row buildPartial() {
496       com.google.cloud.automl.v1beta1.Row result = new com.google.cloud.automl.v1beta1.Row(this);
497       buildPartialRepeatedFields(result);
498       if (bitField0_ != 0) {
499         buildPartial0(result);
500       }
501       onBuilt();
502       return result;
503     }
504 
buildPartialRepeatedFields(com.google.cloud.automl.v1beta1.Row result)505     private void buildPartialRepeatedFields(com.google.cloud.automl.v1beta1.Row result) {
506       if (((bitField0_ & 0x00000001) != 0)) {
507         columnSpecIds_ = columnSpecIds_.getUnmodifiableView();
508         bitField0_ = (bitField0_ & ~0x00000001);
509       }
510       result.columnSpecIds_ = columnSpecIds_;
511       if (valuesBuilder_ == null) {
512         if (((bitField0_ & 0x00000002) != 0)) {
513           values_ = java.util.Collections.unmodifiableList(values_);
514           bitField0_ = (bitField0_ & ~0x00000002);
515         }
516         result.values_ = values_;
517       } else {
518         result.values_ = valuesBuilder_.build();
519       }
520     }
521 
buildPartial0(com.google.cloud.automl.v1beta1.Row result)522     private void buildPartial0(com.google.cloud.automl.v1beta1.Row result) {
523       int from_bitField0_ = bitField0_;
524     }
525 
526     @java.lang.Override
clone()527     public Builder clone() {
528       return super.clone();
529     }
530 
531     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)532     public Builder setField(
533         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
534       return super.setField(field, value);
535     }
536 
537     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)538     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
539       return super.clearField(field);
540     }
541 
542     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)543     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
544       return super.clearOneof(oneof);
545     }
546 
547     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)548     public Builder setRepeatedField(
549         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
550       return super.setRepeatedField(field, index, value);
551     }
552 
553     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)554     public Builder addRepeatedField(
555         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
556       return super.addRepeatedField(field, value);
557     }
558 
559     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)560     public Builder mergeFrom(com.google.protobuf.Message other) {
561       if (other instanceof com.google.cloud.automl.v1beta1.Row) {
562         return mergeFrom((com.google.cloud.automl.v1beta1.Row) other);
563       } else {
564         super.mergeFrom(other);
565         return this;
566       }
567     }
568 
mergeFrom(com.google.cloud.automl.v1beta1.Row other)569     public Builder mergeFrom(com.google.cloud.automl.v1beta1.Row other) {
570       if (other == com.google.cloud.automl.v1beta1.Row.getDefaultInstance()) return this;
571       if (!other.columnSpecIds_.isEmpty()) {
572         if (columnSpecIds_.isEmpty()) {
573           columnSpecIds_ = other.columnSpecIds_;
574           bitField0_ = (bitField0_ & ~0x00000001);
575         } else {
576           ensureColumnSpecIdsIsMutable();
577           columnSpecIds_.addAll(other.columnSpecIds_);
578         }
579         onChanged();
580       }
581       if (valuesBuilder_ == null) {
582         if (!other.values_.isEmpty()) {
583           if (values_.isEmpty()) {
584             values_ = other.values_;
585             bitField0_ = (bitField0_ & ~0x00000002);
586           } else {
587             ensureValuesIsMutable();
588             values_.addAll(other.values_);
589           }
590           onChanged();
591         }
592       } else {
593         if (!other.values_.isEmpty()) {
594           if (valuesBuilder_.isEmpty()) {
595             valuesBuilder_.dispose();
596             valuesBuilder_ = null;
597             values_ = other.values_;
598             bitField0_ = (bitField0_ & ~0x00000002);
599             valuesBuilder_ =
600                 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
601                     ? getValuesFieldBuilder()
602                     : null;
603           } else {
604             valuesBuilder_.addAllMessages(other.values_);
605           }
606         }
607       }
608       this.mergeUnknownFields(other.getUnknownFields());
609       onChanged();
610       return this;
611     }
612 
613     @java.lang.Override
isInitialized()614     public final boolean isInitialized() {
615       return true;
616     }
617 
618     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)619     public Builder mergeFrom(
620         com.google.protobuf.CodedInputStream input,
621         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
622         throws java.io.IOException {
623       if (extensionRegistry == null) {
624         throw new java.lang.NullPointerException();
625       }
626       try {
627         boolean done = false;
628         while (!done) {
629           int tag = input.readTag();
630           switch (tag) {
631             case 0:
632               done = true;
633               break;
634             case 18:
635               {
636                 java.lang.String s = input.readStringRequireUtf8();
637                 ensureColumnSpecIdsIsMutable();
638                 columnSpecIds_.add(s);
639                 break;
640               } // case 18
641             case 26:
642               {
643                 com.google.protobuf.Value m =
644                     input.readMessage(com.google.protobuf.Value.parser(), extensionRegistry);
645                 if (valuesBuilder_ == null) {
646                   ensureValuesIsMutable();
647                   values_.add(m);
648                 } else {
649                   valuesBuilder_.addMessage(m);
650                 }
651                 break;
652               } // case 26
653             default:
654               {
655                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
656                   done = true; // was an endgroup tag
657                 }
658                 break;
659               } // default:
660           } // switch (tag)
661         } // while (!done)
662       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
663         throw e.unwrapIOException();
664       } finally {
665         onChanged();
666       } // finally
667       return this;
668     }
669 
670     private int bitField0_;
671 
672     private com.google.protobuf.LazyStringList columnSpecIds_ =
673         com.google.protobuf.LazyStringArrayList.EMPTY;
674 
ensureColumnSpecIdsIsMutable()675     private void ensureColumnSpecIdsIsMutable() {
676       if (!((bitField0_ & 0x00000001) != 0)) {
677         columnSpecIds_ = new com.google.protobuf.LazyStringArrayList(columnSpecIds_);
678         bitField0_ |= 0x00000001;
679       }
680     }
681     /**
682      *
683      *
684      * <pre>
685      * The resource IDs of the column specs describing the columns of the row.
686      * If set must contain, but possibly in a different order, all input
687      * feature
688      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
689      * of the Model this row is being passed to.
690      * Note: The below `values` field must match order of this field, if this
691      * field is set.
692      * </pre>
693      *
694      * <code>repeated string column_spec_ids = 2;</code>
695      *
696      * @return A list containing the columnSpecIds.
697      */
getColumnSpecIdsList()698     public com.google.protobuf.ProtocolStringList getColumnSpecIdsList() {
699       return columnSpecIds_.getUnmodifiableView();
700     }
701     /**
702      *
703      *
704      * <pre>
705      * The resource IDs of the column specs describing the columns of the row.
706      * If set must contain, but possibly in a different order, all input
707      * feature
708      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
709      * of the Model this row is being passed to.
710      * Note: The below `values` field must match order of this field, if this
711      * field is set.
712      * </pre>
713      *
714      * <code>repeated string column_spec_ids = 2;</code>
715      *
716      * @return The count of columnSpecIds.
717      */
getColumnSpecIdsCount()718     public int getColumnSpecIdsCount() {
719       return columnSpecIds_.size();
720     }
721     /**
722      *
723      *
724      * <pre>
725      * The resource IDs of the column specs describing the columns of the row.
726      * If set must contain, but possibly in a different order, all input
727      * feature
728      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
729      * of the Model this row is being passed to.
730      * Note: The below `values` field must match order of this field, if this
731      * field is set.
732      * </pre>
733      *
734      * <code>repeated string column_spec_ids = 2;</code>
735      *
736      * @param index The index of the element to return.
737      * @return The columnSpecIds at the given index.
738      */
getColumnSpecIds(int index)739     public java.lang.String getColumnSpecIds(int index) {
740       return columnSpecIds_.get(index);
741     }
742     /**
743      *
744      *
745      * <pre>
746      * The resource IDs of the column specs describing the columns of the row.
747      * If set must contain, but possibly in a different order, all input
748      * feature
749      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
750      * of the Model this row is being passed to.
751      * Note: The below `values` field must match order of this field, if this
752      * field is set.
753      * </pre>
754      *
755      * <code>repeated string column_spec_ids = 2;</code>
756      *
757      * @param index The index of the value to return.
758      * @return The bytes of the columnSpecIds at the given index.
759      */
getColumnSpecIdsBytes(int index)760     public com.google.protobuf.ByteString getColumnSpecIdsBytes(int index) {
761       return columnSpecIds_.getByteString(index);
762     }
763     /**
764      *
765      *
766      * <pre>
767      * The resource IDs of the column specs describing the columns of the row.
768      * If set must contain, but possibly in a different order, all input
769      * feature
770      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
771      * of the Model this row is being passed to.
772      * Note: The below `values` field must match order of this field, if this
773      * field is set.
774      * </pre>
775      *
776      * <code>repeated string column_spec_ids = 2;</code>
777      *
778      * @param index The index to set the value at.
779      * @param value The columnSpecIds to set.
780      * @return This builder for chaining.
781      */
setColumnSpecIds(int index, java.lang.String value)782     public Builder setColumnSpecIds(int index, java.lang.String value) {
783       if (value == null) {
784         throw new NullPointerException();
785       }
786       ensureColumnSpecIdsIsMutable();
787       columnSpecIds_.set(index, value);
788       onChanged();
789       return this;
790     }
791     /**
792      *
793      *
794      * <pre>
795      * The resource IDs of the column specs describing the columns of the row.
796      * If set must contain, but possibly in a different order, all input
797      * feature
798      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
799      * of the Model this row is being passed to.
800      * Note: The below `values` field must match order of this field, if this
801      * field is set.
802      * </pre>
803      *
804      * <code>repeated string column_spec_ids = 2;</code>
805      *
806      * @param value The columnSpecIds to add.
807      * @return This builder for chaining.
808      */
addColumnSpecIds(java.lang.String value)809     public Builder addColumnSpecIds(java.lang.String value) {
810       if (value == null) {
811         throw new NullPointerException();
812       }
813       ensureColumnSpecIdsIsMutable();
814       columnSpecIds_.add(value);
815       onChanged();
816       return this;
817     }
818     /**
819      *
820      *
821      * <pre>
822      * The resource IDs of the column specs describing the columns of the row.
823      * If set must contain, but possibly in a different order, all input
824      * feature
825      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
826      * of the Model this row is being passed to.
827      * Note: The below `values` field must match order of this field, if this
828      * field is set.
829      * </pre>
830      *
831      * <code>repeated string column_spec_ids = 2;</code>
832      *
833      * @param values The columnSpecIds to add.
834      * @return This builder for chaining.
835      */
addAllColumnSpecIds(java.lang.Iterable<java.lang.String> values)836     public Builder addAllColumnSpecIds(java.lang.Iterable<java.lang.String> values) {
837       ensureColumnSpecIdsIsMutable();
838       com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columnSpecIds_);
839       onChanged();
840       return this;
841     }
842     /**
843      *
844      *
845      * <pre>
846      * The resource IDs of the column specs describing the columns of the row.
847      * If set must contain, but possibly in a different order, all input
848      * feature
849      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
850      * of the Model this row is being passed to.
851      * Note: The below `values` field must match order of this field, if this
852      * field is set.
853      * </pre>
854      *
855      * <code>repeated string column_spec_ids = 2;</code>
856      *
857      * @return This builder for chaining.
858      */
clearColumnSpecIds()859     public Builder clearColumnSpecIds() {
860       columnSpecIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
861       bitField0_ = (bitField0_ & ~0x00000001);
862       onChanged();
863       return this;
864     }
865     /**
866      *
867      *
868      * <pre>
869      * The resource IDs of the column specs describing the columns of the row.
870      * If set must contain, but possibly in a different order, all input
871      * feature
872      * [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
873      * of the Model this row is being passed to.
874      * Note: The below `values` field must match order of this field, if this
875      * field is set.
876      * </pre>
877      *
878      * <code>repeated string column_spec_ids = 2;</code>
879      *
880      * @param value The bytes of the columnSpecIds to add.
881      * @return This builder for chaining.
882      */
addColumnSpecIdsBytes(com.google.protobuf.ByteString value)883     public Builder addColumnSpecIdsBytes(com.google.protobuf.ByteString value) {
884       if (value == null) {
885         throw new NullPointerException();
886       }
887       checkByteStringIsUtf8(value);
888       ensureColumnSpecIdsIsMutable();
889       columnSpecIds_.add(value);
890       onChanged();
891       return this;
892     }
893 
894     private java.util.List<com.google.protobuf.Value> values_ = java.util.Collections.emptyList();
895 
ensureValuesIsMutable()896     private void ensureValuesIsMutable() {
897       if (!((bitField0_ & 0x00000002) != 0)) {
898         values_ = new java.util.ArrayList<com.google.protobuf.Value>(values_);
899         bitField0_ |= 0x00000002;
900       }
901     }
902 
903     private com.google.protobuf.RepeatedFieldBuilderV3<
904             com.google.protobuf.Value,
905             com.google.protobuf.Value.Builder,
906             com.google.protobuf.ValueOrBuilder>
907         valuesBuilder_;
908 
909     /**
910      *
911      *
912      * <pre>
913      * Required. The values of the row cells, given in the same order as the
914      * column_spec_ids, or, if not set, then in the same order as input
915      * feature
916      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
917      * of the Model this row is being passed to.
918      * </pre>
919      *
920      * <code>repeated .google.protobuf.Value values = 3;</code>
921      */
getValuesList()922     public java.util.List<com.google.protobuf.Value> getValuesList() {
923       if (valuesBuilder_ == null) {
924         return java.util.Collections.unmodifiableList(values_);
925       } else {
926         return valuesBuilder_.getMessageList();
927       }
928     }
929     /**
930      *
931      *
932      * <pre>
933      * Required. The values of the row cells, given in the same order as the
934      * column_spec_ids, or, if not set, then in the same order as input
935      * feature
936      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
937      * of the Model this row is being passed to.
938      * </pre>
939      *
940      * <code>repeated .google.protobuf.Value values = 3;</code>
941      */
getValuesCount()942     public int getValuesCount() {
943       if (valuesBuilder_ == null) {
944         return values_.size();
945       } else {
946         return valuesBuilder_.getCount();
947       }
948     }
949     /**
950      *
951      *
952      * <pre>
953      * Required. The values of the row cells, given in the same order as the
954      * column_spec_ids, or, if not set, then in the same order as input
955      * feature
956      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
957      * of the Model this row is being passed to.
958      * </pre>
959      *
960      * <code>repeated .google.protobuf.Value values = 3;</code>
961      */
getValues(int index)962     public com.google.protobuf.Value getValues(int index) {
963       if (valuesBuilder_ == null) {
964         return values_.get(index);
965       } else {
966         return valuesBuilder_.getMessage(index);
967       }
968     }
969     /**
970      *
971      *
972      * <pre>
973      * Required. The values of the row cells, given in the same order as the
974      * column_spec_ids, or, if not set, then in the same order as input
975      * feature
976      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
977      * of the Model this row is being passed to.
978      * </pre>
979      *
980      * <code>repeated .google.protobuf.Value values = 3;</code>
981      */
setValues(int index, com.google.protobuf.Value value)982     public Builder setValues(int index, com.google.protobuf.Value value) {
983       if (valuesBuilder_ == null) {
984         if (value == null) {
985           throw new NullPointerException();
986         }
987         ensureValuesIsMutable();
988         values_.set(index, value);
989         onChanged();
990       } else {
991         valuesBuilder_.setMessage(index, value);
992       }
993       return this;
994     }
995     /**
996      *
997      *
998      * <pre>
999      * Required. The values of the row cells, given in the same order as the
1000      * column_spec_ids, or, if not set, then in the same order as input
1001      * feature
1002      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1003      * of the Model this row is being passed to.
1004      * </pre>
1005      *
1006      * <code>repeated .google.protobuf.Value values = 3;</code>
1007      */
setValues(int index, com.google.protobuf.Value.Builder builderForValue)1008     public Builder setValues(int index, com.google.protobuf.Value.Builder builderForValue) {
1009       if (valuesBuilder_ == null) {
1010         ensureValuesIsMutable();
1011         values_.set(index, builderForValue.build());
1012         onChanged();
1013       } else {
1014         valuesBuilder_.setMessage(index, builderForValue.build());
1015       }
1016       return this;
1017     }
1018     /**
1019      *
1020      *
1021      * <pre>
1022      * Required. The values of the row cells, given in the same order as the
1023      * column_spec_ids, or, if not set, then in the same order as input
1024      * feature
1025      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1026      * of the Model this row is being passed to.
1027      * </pre>
1028      *
1029      * <code>repeated .google.protobuf.Value values = 3;</code>
1030      */
addValues(com.google.protobuf.Value value)1031     public Builder addValues(com.google.protobuf.Value value) {
1032       if (valuesBuilder_ == null) {
1033         if (value == null) {
1034           throw new NullPointerException();
1035         }
1036         ensureValuesIsMutable();
1037         values_.add(value);
1038         onChanged();
1039       } else {
1040         valuesBuilder_.addMessage(value);
1041       }
1042       return this;
1043     }
1044     /**
1045      *
1046      *
1047      * <pre>
1048      * Required. The values of the row cells, given in the same order as the
1049      * column_spec_ids, or, if not set, then in the same order as input
1050      * feature
1051      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1052      * of the Model this row is being passed to.
1053      * </pre>
1054      *
1055      * <code>repeated .google.protobuf.Value values = 3;</code>
1056      */
addValues(int index, com.google.protobuf.Value value)1057     public Builder addValues(int index, com.google.protobuf.Value value) {
1058       if (valuesBuilder_ == null) {
1059         if (value == null) {
1060           throw new NullPointerException();
1061         }
1062         ensureValuesIsMutable();
1063         values_.add(index, value);
1064         onChanged();
1065       } else {
1066         valuesBuilder_.addMessage(index, value);
1067       }
1068       return this;
1069     }
1070     /**
1071      *
1072      *
1073      * <pre>
1074      * Required. The values of the row cells, given in the same order as the
1075      * column_spec_ids, or, if not set, then in the same order as input
1076      * feature
1077      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1078      * of the Model this row is being passed to.
1079      * </pre>
1080      *
1081      * <code>repeated .google.protobuf.Value values = 3;</code>
1082      */
addValues(com.google.protobuf.Value.Builder builderForValue)1083     public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
1084       if (valuesBuilder_ == null) {
1085         ensureValuesIsMutable();
1086         values_.add(builderForValue.build());
1087         onChanged();
1088       } else {
1089         valuesBuilder_.addMessage(builderForValue.build());
1090       }
1091       return this;
1092     }
1093     /**
1094      *
1095      *
1096      * <pre>
1097      * Required. The values of the row cells, given in the same order as the
1098      * column_spec_ids, or, if not set, then in the same order as input
1099      * feature
1100      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1101      * of the Model this row is being passed to.
1102      * </pre>
1103      *
1104      * <code>repeated .google.protobuf.Value values = 3;</code>
1105      */
addValues(int index, com.google.protobuf.Value.Builder builderForValue)1106     public Builder addValues(int index, com.google.protobuf.Value.Builder builderForValue) {
1107       if (valuesBuilder_ == null) {
1108         ensureValuesIsMutable();
1109         values_.add(index, builderForValue.build());
1110         onChanged();
1111       } else {
1112         valuesBuilder_.addMessage(index, builderForValue.build());
1113       }
1114       return this;
1115     }
1116     /**
1117      *
1118      *
1119      * <pre>
1120      * Required. The values of the row cells, given in the same order as the
1121      * column_spec_ids, or, if not set, then in the same order as input
1122      * feature
1123      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1124      * of the Model this row is being passed to.
1125      * </pre>
1126      *
1127      * <code>repeated .google.protobuf.Value values = 3;</code>
1128      */
addAllValues(java.lang.Iterable<? extends com.google.protobuf.Value> values)1129     public Builder addAllValues(java.lang.Iterable<? extends com.google.protobuf.Value> values) {
1130       if (valuesBuilder_ == null) {
1131         ensureValuesIsMutable();
1132         com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
1133         onChanged();
1134       } else {
1135         valuesBuilder_.addAllMessages(values);
1136       }
1137       return this;
1138     }
1139     /**
1140      *
1141      *
1142      * <pre>
1143      * Required. The values of the row cells, given in the same order as the
1144      * column_spec_ids, or, if not set, then in the same order as input
1145      * feature
1146      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1147      * of the Model this row is being passed to.
1148      * </pre>
1149      *
1150      * <code>repeated .google.protobuf.Value values = 3;</code>
1151      */
clearValues()1152     public Builder clearValues() {
1153       if (valuesBuilder_ == null) {
1154         values_ = java.util.Collections.emptyList();
1155         bitField0_ = (bitField0_ & ~0x00000002);
1156         onChanged();
1157       } else {
1158         valuesBuilder_.clear();
1159       }
1160       return this;
1161     }
1162     /**
1163      *
1164      *
1165      * <pre>
1166      * Required. The values of the row cells, given in the same order as the
1167      * column_spec_ids, or, if not set, then in the same order as input
1168      * feature
1169      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1170      * of the Model this row is being passed to.
1171      * </pre>
1172      *
1173      * <code>repeated .google.protobuf.Value values = 3;</code>
1174      */
removeValues(int index)1175     public Builder removeValues(int index) {
1176       if (valuesBuilder_ == null) {
1177         ensureValuesIsMutable();
1178         values_.remove(index);
1179         onChanged();
1180       } else {
1181         valuesBuilder_.remove(index);
1182       }
1183       return this;
1184     }
1185     /**
1186      *
1187      *
1188      * <pre>
1189      * Required. The values of the row cells, given in the same order as the
1190      * column_spec_ids, or, if not set, then in the same order as input
1191      * feature
1192      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1193      * of the Model this row is being passed to.
1194      * </pre>
1195      *
1196      * <code>repeated .google.protobuf.Value values = 3;</code>
1197      */
getValuesBuilder(int index)1198     public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
1199       return getValuesFieldBuilder().getBuilder(index);
1200     }
1201     /**
1202      *
1203      *
1204      * <pre>
1205      * Required. The values of the row cells, given in the same order as the
1206      * column_spec_ids, or, if not set, then in the same order as input
1207      * feature
1208      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1209      * of the Model this row is being passed to.
1210      * </pre>
1211      *
1212      * <code>repeated .google.protobuf.Value values = 3;</code>
1213      */
getValuesOrBuilder(int index)1214     public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
1215       if (valuesBuilder_ == null) {
1216         return values_.get(index);
1217       } else {
1218         return valuesBuilder_.getMessageOrBuilder(index);
1219       }
1220     }
1221     /**
1222      *
1223      *
1224      * <pre>
1225      * Required. The values of the row cells, given in the same order as the
1226      * column_spec_ids, or, if not set, then in the same order as input
1227      * feature
1228      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1229      * of the Model this row is being passed to.
1230      * </pre>
1231      *
1232      * <code>repeated .google.protobuf.Value values = 3;</code>
1233      */
getValuesOrBuilderList()1234     public java.util.List<? extends com.google.protobuf.ValueOrBuilder> getValuesOrBuilderList() {
1235       if (valuesBuilder_ != null) {
1236         return valuesBuilder_.getMessageOrBuilderList();
1237       } else {
1238         return java.util.Collections.unmodifiableList(values_);
1239       }
1240     }
1241     /**
1242      *
1243      *
1244      * <pre>
1245      * Required. The values of the row cells, given in the same order as the
1246      * column_spec_ids, or, if not set, then in the same order as input
1247      * feature
1248      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1249      * of the Model this row is being passed to.
1250      * </pre>
1251      *
1252      * <code>repeated .google.protobuf.Value values = 3;</code>
1253      */
addValuesBuilder()1254     public com.google.protobuf.Value.Builder addValuesBuilder() {
1255       return getValuesFieldBuilder().addBuilder(com.google.protobuf.Value.getDefaultInstance());
1256     }
1257     /**
1258      *
1259      *
1260      * <pre>
1261      * Required. The values of the row cells, given in the same order as the
1262      * column_spec_ids, or, if not set, then in the same order as input
1263      * feature
1264      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1265      * of the Model this row is being passed to.
1266      * </pre>
1267      *
1268      * <code>repeated .google.protobuf.Value values = 3;</code>
1269      */
addValuesBuilder(int index)1270     public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
1271       return getValuesFieldBuilder()
1272           .addBuilder(index, com.google.protobuf.Value.getDefaultInstance());
1273     }
1274     /**
1275      *
1276      *
1277      * <pre>
1278      * Required. The values of the row cells, given in the same order as the
1279      * column_spec_ids, or, if not set, then in the same order as input
1280      * feature
1281      * [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
1282      * of the Model this row is being passed to.
1283      * </pre>
1284      *
1285      * <code>repeated .google.protobuf.Value values = 3;</code>
1286      */
getValuesBuilderList()1287     public java.util.List<com.google.protobuf.Value.Builder> getValuesBuilderList() {
1288       return getValuesFieldBuilder().getBuilderList();
1289     }
1290 
1291     private com.google.protobuf.RepeatedFieldBuilderV3<
1292             com.google.protobuf.Value,
1293             com.google.protobuf.Value.Builder,
1294             com.google.protobuf.ValueOrBuilder>
getValuesFieldBuilder()1295         getValuesFieldBuilder() {
1296       if (valuesBuilder_ == null) {
1297         valuesBuilder_ =
1298             new com.google.protobuf.RepeatedFieldBuilderV3<
1299                 com.google.protobuf.Value,
1300                 com.google.protobuf.Value.Builder,
1301                 com.google.protobuf.ValueOrBuilder>(
1302                 values_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
1303         values_ = null;
1304       }
1305       return valuesBuilder_;
1306     }
1307 
1308     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)1309     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
1310       return super.setUnknownFields(unknownFields);
1311     }
1312 
1313     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)1314     public final Builder mergeUnknownFields(
1315         final com.google.protobuf.UnknownFieldSet unknownFields) {
1316       return super.mergeUnknownFields(unknownFields);
1317     }
1318 
1319     // @@protoc_insertion_point(builder_scope:google.cloud.automl.v1beta1.Row)
1320   }
1321 
1322   // @@protoc_insertion_point(class_scope:google.cloud.automl.v1beta1.Row)
1323   private static final com.google.cloud.automl.v1beta1.Row DEFAULT_INSTANCE;
1324 
1325   static {
1326     DEFAULT_INSTANCE = new com.google.cloud.automl.v1beta1.Row();
1327   }
1328 
getDefaultInstance()1329   public static com.google.cloud.automl.v1beta1.Row getDefaultInstance() {
1330     return DEFAULT_INSTANCE;
1331   }
1332 
1333   private static final com.google.protobuf.Parser<Row> PARSER =
1334       new com.google.protobuf.AbstractParser<Row>() {
1335         @java.lang.Override
1336         public Row parsePartialFrom(
1337             com.google.protobuf.CodedInputStream input,
1338             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1339             throws com.google.protobuf.InvalidProtocolBufferException {
1340           Builder builder = newBuilder();
1341           try {
1342             builder.mergeFrom(input, extensionRegistry);
1343           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1344             throw e.setUnfinishedMessage(builder.buildPartial());
1345           } catch (com.google.protobuf.UninitializedMessageException e) {
1346             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1347           } catch (java.io.IOException e) {
1348             throw new com.google.protobuf.InvalidProtocolBufferException(e)
1349                 .setUnfinishedMessage(builder.buildPartial());
1350           }
1351           return builder.buildPartial();
1352         }
1353       };
1354 
parser()1355   public static com.google.protobuf.Parser<Row> parser() {
1356     return PARSER;
1357   }
1358 
1359   @java.lang.Override
getParserForType()1360   public com.google.protobuf.Parser<Row> getParserForType() {
1361     return PARSER;
1362   }
1363 
1364   @java.lang.Override
getDefaultInstanceForType()1365   public com.google.cloud.automl.v1beta1.Row getDefaultInstanceForType() {
1366     return DEFAULT_INSTANCE;
1367   }
1368 }
1369