Package com.google.cloud.automl.v1beta1
Class Row.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Row.Builder>
com.google.cloud.automl.v1beta1.Row.Builder
- All Implemented Interfaces:
RowOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Row
public static final class Row.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Row.Builder>
implements RowOrBuilder
A representation of a row in a relational table.Protobuf type
google.cloud.automl.v1beta1.Row-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumnSpecIds(Iterable<String> values) The resource IDs of the column specs describing the columns of the row.addAllValues(Iterable<? extends com.google.protobuf.Value> values) Required.addColumnSpecIds(String value) The resource IDs of the column specs describing the columns of the row.addColumnSpecIdsBytes(com.google.protobuf.ByteString value) The resource IDs of the column specs describing the columns of the row.addValues(int index, com.google.protobuf.Value value) Required.addValues(int index, com.google.protobuf.Value.Builder builderForValue) Required.addValues(com.google.protobuf.Value value) Required.addValues(com.google.protobuf.Value.Builder builderForValue) Required.com.google.protobuf.Value.BuilderRequired.com.google.protobuf.Value.BuilderaddValuesBuilder(int index) Required.build()clear()The resource IDs of the column specs describing the columns of the row.Required.getColumnSpecIds(int index) The resource IDs of the column specs describing the columns of the row.com.google.protobuf.ByteStringgetColumnSpecIdsBytes(int index) The resource IDs of the column specs describing the columns of the row.intThe resource IDs of the column specs describing the columns of the row.com.google.protobuf.ProtocolStringListThe resource IDs of the column specs describing the columns of the row.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ValuegetValues(int index) Required.com.google.protobuf.Value.BuildergetValuesBuilder(int index) Required.List<com.google.protobuf.Value.Builder>Required.intRequired.List<com.google.protobuf.Value>Required.com.google.protobuf.ValueOrBuildergetValuesOrBuilder(int index) Required.List<? extends com.google.protobuf.ValueOrBuilder>Required.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeValues(int index) Required.setColumnSpecIds(int index, String value) The resource IDs of the column specs describing the columns of the row.setValues(int index, com.google.protobuf.Value value) Required.setValues(int index, com.google.protobuf.Value.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
mergeFrom
public Row.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>- Throws:
IOException
-
getColumnSpecIdsList
public com.google.protobuf.ProtocolStringList getColumnSpecIdsList()The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Specified by:
getColumnSpecIdsListin interfaceRowOrBuilder- Returns:
- A list containing the columnSpecIds.
-
getColumnSpecIdsCount
public int getColumnSpecIdsCount()The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Specified by:
getColumnSpecIdsCountin interfaceRowOrBuilder- Returns:
- The count of columnSpecIds.
-
getColumnSpecIds
The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Specified by:
getColumnSpecIdsin interfaceRowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The columnSpecIds at the given index.
-
getColumnSpecIdsBytes
public com.google.protobuf.ByteString getColumnSpecIdsBytes(int index) The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Specified by:
getColumnSpecIdsBytesin interfaceRowOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the columnSpecIds at the given index.
-
setColumnSpecIds
The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Parameters:
index- The index to set the value at.value- The columnSpecIds to set.- Returns:
- This builder for chaining.
-
addColumnSpecIds
The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Parameters:
value- The columnSpecIds to add.- Returns:
- This builder for chaining.
-
addAllColumnSpecIds
The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Parameters:
values- The columnSpecIds to add.- Returns:
- This builder for chaining.
-
clearColumnSpecIds
The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Returns:
- This builder for chaining.
-
addColumnSpecIdsBytes
The resource IDs of the column specs describing the columns of the row. If set must contain, but possibly in a different order, all input feature [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to. Note: The below `values` field must match order of this field, if this field is set.
repeated string column_spec_ids = 2;- Parameters:
value- The bytes of the columnSpecIds to add.- Returns:
- This builder for chaining.
-
getValuesList
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;- Specified by:
getValuesListin interfaceRowOrBuilder
-
getValuesCount
public int getValuesCount()Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;- Specified by:
getValuesCountin interfaceRowOrBuilder
-
getValues
public com.google.protobuf.Value getValues(int index) Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;- Specified by:
getValuesin interfaceRowOrBuilder
-
setValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
setValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
addValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
addValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
addValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
addValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
addAllValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
clearValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
removeValues
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
getValuesBuilder
public com.google.protobuf.Value.Builder getValuesBuilder(int index) Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
getValuesOrBuilder
public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;- Specified by:
getValuesOrBuilderin interfaceRowOrBuilder
-
getValuesOrBuilderList
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;- Specified by:
getValuesOrBuilderListin interfaceRowOrBuilder
-
addValuesBuilder
public com.google.protobuf.Value.Builder addValuesBuilder()Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
addValuesBuilder
public com.google.protobuf.Value.Builder addValuesBuilder(int index) Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3; -
getValuesBuilderList
Required. The values of the row cells, given in the same order as the column_spec_ids, or, if not set, then in the same order as input feature [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
-