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()
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>
|
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)
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
|
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
|
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
|
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
|
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;
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
|
build()
Returns |
---|
Type | Description |
Row | |
buildPartial()
public Row buildPartial()
Returns |
---|
Type | Description |
Row | |
clear()
public Row.Builder clear()
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)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public Row.Builder clone()
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;
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns |
---|
Type | Description |
Row | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter |
---|
Name | Description |
other | Row
|
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|