Class Row.Builder (2.3.6)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The columnSpecIds to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.protobuf.Value>
Returns
TypeDescription
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
NameDescription
valueString

The columnSpecIds to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the columnSpecIds to add.

Returns
TypeDescription
Row.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Builder

build()

public Row build()
Returns
TypeDescription
Row

buildPartial()

public Row buildPartial()
Returns
TypeDescription
Row

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Row.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Row.Builder

clone()

public Row.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the columnSpecIds.

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.protobuf.ValueOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
NameDescription
otherRow
Returns
TypeDescription
Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The columnSpecIds to set.

Returns
TypeDescription
Row.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Row.Builder
Overrides

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

public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
Row.Builder