Class Row (2.3.6)

public final class Row extends GeneratedMessageV3 implements RowOrBuilder

A representation of a row in a relational table.

Protobuf type google.cloud.automl.v1beta1.Row

Implements

RowOrBuilder

Static Fields

COLUMN_SPEC_IDS_FIELD_NUMBER

public static final int COLUMN_SPEC_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Row getDefaultInstance()
Returns
TypeDescription
Row

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Row.Builder newBuilder()
Returns
TypeDescription
Row.Builder

newBuilder(Row prototype)

public static Row.Builder newBuilder(Row prototype)
Parameter
NameDescription
prototypeRow
Returns
TypeDescription
Row.Builder

parseDelimitedFrom(InputStream input)

public static Row parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Row parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Row parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Row parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Row parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Row parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Row parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Row> parser()
Returns
TypeDescription
Parser<Row>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<Row> getParserForType()
Returns
TypeDescription
Parser<Row>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Row.Builder newBuilderForType()
Returns
TypeDescription
Row.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Row.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Row.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Row.Builder toBuilder()
Returns
TypeDescription
Row.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException