Class Row.Builder (2.43.0)

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

Implements

RowOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Name Description
values Iterable<String>

The columnSpecIds to add.

Returns
Type Description
Row.Builder

This builder for chaining.

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
Type Description
Row.Builder

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
Type Description
Row.Builder

This builder for chaining.

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
Type Description
Row.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Row.Builder
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
Type Description
Row.Builder

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
Type Description
Row.Builder

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
Name Description
index int
value Value
Returns
Type Description
Row.Builder

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
Name Description
index int
builderForValue Builder
Returns
Type Description
Row.Builder

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
Type Description
Builder

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
Name Description
index int
Returns
Type Description
Builder

build()

public Row build()
Returns
Type Description
Row

buildPartial()

public Row buildPartial()
Returns
Type Description
Row

clear()

public Row.Builder clear()
Returns
Type Description
Row.Builder
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
Type Description
Row.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Row.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Row.Builder
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
Type Description
Row.Builder

clone()

public Row.Builder clone()
Returns
Type Description
Row.Builder
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
Type Description
ProtocolStringList

A list containing the columnSpecIds.

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
Type Description
Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
Value

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
Name Description
index int
Returns
Type Description
Builder

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<Value>

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
Name Description
index int
Returns
Type Description
ValueOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
Name Description
other Row
Returns
Type Description
Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Row.Builder
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
Name Description
index int
Returns
Type Description
Row.Builder

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
Type Description
Row.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Row.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Row.Builder
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
Name Description
index int
value Value
Returns
Type Description
Row.Builder

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
Name Description
index int
builderForValue Builder
Returns
Type Description
Row.Builder