public final class Row extends GeneratedMessageV3 implements RowOrBuilder
A representation of a row in a relational table.
Protobuf type google.cloud.automl.v1beta1.Row
Static Fields
COLUMN_SPEC_IDS_FIELD_NUMBER
public static final int COLUMN_SPEC_IDS_FIELD_NUMBER
Field Value
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Row getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Row.Builder newBuilder()
Returns
newBuilder(Row prototype)
public static Row.Builder newBuilder(Row prototype)
Parameter
Name | Description |
prototype | Row
|
Returns
public static Row parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Row parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Row parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Row parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Row parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Row parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Row> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getParserForType()
public Parser<Row> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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
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> | |
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Row.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Row.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions