public static final class Row.Builder extends GeneratedMessageV3.Builder<Row.Builder> implements RowOrBuilder
A representation of a row in a relational table.
Protobuf type google.cloud.automl.v1beta1.Row
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllColumnSpecIds(Iterable<String> values)
public Row.Builder addAllColumnSpecIds(Iterable<String> values)
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
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;
Parameter
Returns
addAllValues(Iterable<? extends Value> values)
public Row.Builder addAllValues(Iterable<? extends Value> values)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Name | Description |
values | Iterable<? extends com.google.protobuf.Value>
|
Returns
addColumnSpecIds(String value)
public Row.Builder addColumnSpecIds(String value)
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
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;
Parameter
Name | Description |
value | String
The columnSpecIds to add.
|
Returns
addColumnSpecIdsBytes(ByteString value)
public Row.Builder addColumnSpecIdsBytes(ByteString value)
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
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;
Parameter
Name | Description |
value | ByteString
The bytes of the columnSpecIds to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addValues(Value value)
public Row.Builder addValues(Value value)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Name | Description |
value | Value
|
Returns
addValues(Value.Builder builderForValue)
public Row.Builder addValues(Value.Builder builderForValue)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
addValues(int index, Value value)
public Row.Builder addValues(int index, Value value)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameters
Returns
addValues(int index, Value.Builder builderForValue)
public Row.Builder addValues(int index, Value.Builder builderForValue)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameters
Returns
addValuesBuilder()
public 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Returns
addValuesBuilder(int index)
public 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Returns
build()
Returns
buildPartial()
public Row buildPartial()
Returns
clear()
public Row.Builder clear()
Returns
Overrides
clearColumnSpecIds()
public Row.Builder 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
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
clearField(Descriptors.FieldDescriptor field)
public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValues()
public Row.Builder 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Returns
clone()
public Row.Builder clone()
Returns
Overrides
getColumnSpecIds(int index)
public String getColumnSpecIds(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
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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The columnSpecIds at the given index.
|
getColumnSpecIdsBytes(int index)
public 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
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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the columnSpecIds at the given index.
|
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
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
Type | Description |
int | The count of columnSpecIds.
|
getColumnSpecIdsList()
public 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
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
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getValues(int index)
public 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Returns
getValuesBuilder(int index)
public 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Returns
getValuesBuilderList()
public List<Value.Builder> 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Returns
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Returns
getValuesList()
public List<Value> 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Returns
getValuesOrBuilder(int index)
public 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Returns
getValuesOrBuilderList()
public List<? extends ValueOrBuilder> 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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Returns
Type | Description |
List<? extends com.google.protobuf.ValueOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter
Returns
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeValues(int index)
public Row.Builder removeValues(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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameter
Returns
setColumnSpecIds(int index, String value)
public Row.Builder setColumnSpecIds(int index, String value)
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
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
Name | Description |
index | int
The index to set the value at.
|
value | String
The columnSpecIds to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValues(int index, Value value)
public Row.Builder setValues(int index, Value value)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameters
Returns
setValues(int index, Value.Builder builderForValue)
public Row.Builder setValues(int index, Value.Builder builderForValue)
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
of the Model this row is being passed to.
repeated .google.protobuf.Value values = 3;
Parameters
Returns