Package com.google.bigtable.v2
Class ReadRowsRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.ReadRowsRequest
- All Implemented Interfaces:
ReadRowsRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReadRowsRequest
extends com.google.protobuf.GeneratedMessageV3
implements ReadRowsRequestOrBuilder
Request message for Bigtable.ReadRows.Protobuf type
google.bigtable.v2.ReadRowsRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest message for Bigtable.ReadRows.static enumThe desired view into RequestStats that should be returned in the response.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis value specifies routing for replication.com.google.protobuf.ByteStringThis value specifies routing for replication.Optional.com.google.protobuf.ByteStringOptional.static ReadRowsRequeststatic final com.google.protobuf.Descriptors.DescriptorThe filter to apply to the contents of the specified row(s).The filter to apply to the contents of the specified row(s).com.google.protobuf.Parser<ReadRowsRequest>The view into RequestStats, as described above.intThe view into RequestStats, as described above.booleanExperimental API - Please note that this API is currently experimental and can change in the future.getRows()The row keys and/or ranges to read sequentially.longThe read will stop after committing to N rows' worth of results.The row keys and/or ranges to read sequentially.intOptional.com.google.protobuf.ByteStringOptional.booleanThe filter to apply to the contents of the specified row(s).inthashCode()booleanhasRows()The row keys and/or ranges to read sequentially.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ReadRowsRequest.Builderstatic ReadRowsRequest.BuildernewBuilder(ReadRowsRequest prototype) protected ReadRowsRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ReadRowsRequestparseDelimitedFrom(InputStream input) static ReadRowsRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsRequestparseFrom(byte[] data) static ReadRowsRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsRequestparseFrom(com.google.protobuf.ByteString data) static ReadRowsRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsRequestparseFrom(com.google.protobuf.CodedInputStream input) static ReadRowsRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsRequestparseFrom(InputStream input) static ReadRowsRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsRequestparseFrom(ByteBuffer data) static ReadRowsRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReadRowsRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER- See Also:
-
AUTHORIZED_VIEW_NAME_FIELD_NUMBER
public static final int AUTHORIZED_VIEW_NAME_FIELD_NUMBER- See Also:
-
APP_PROFILE_ID_FIELD_NUMBER
public static final int APP_PROFILE_ID_FIELD_NUMBER- See Also:
-
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
ROWS_LIMIT_FIELD_NUMBER
public static final int ROWS_LIMIT_FIELD_NUMBER- See Also:
-
REQUEST_STATS_VIEW_FIELD_NUMBER
public static final int REQUEST_STATS_VIEW_FIELD_NUMBER- See Also:
-
REVERSED_FIELD_NUMBER
public static final int REVERSED_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTableName
Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNamein interfaceReadRowsRequestOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNameBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for tableName.
-
getAuthorizedViewName
Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNamein interfaceReadRowsRequestOrBuilder- Returns:
- The authorizedViewName.
-
getAuthorizedViewNameBytes
public com.google.protobuf.ByteString getAuthorizedViewNameBytes()Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNameBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for authorizedViewName.
-
getAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Specified by:
getAppProfileIdin interfaceReadRowsRequestOrBuilder- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public com.google.protobuf.ByteString getAppProfileIdBytes()This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Specified by:
getAppProfileIdBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for appProfileId.
-
hasRows
public boolean hasRows()The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2;- Specified by:
hasRowsin interfaceReadRowsRequestOrBuilder- Returns:
- Whether the rows field is set.
-
getRows
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2;- Specified by:
getRowsin interfaceReadRowsRequestOrBuilder- Returns:
- The rows.
-
getRowsOrBuilder
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2;- Specified by:
getRowsOrBuilderin interfaceReadRowsRequestOrBuilder
-
hasFilter
public boolean hasFilter()The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3;- Specified by:
hasFilterin interfaceReadRowsRequestOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3;- Specified by:
getFilterin interfaceReadRowsRequestOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3;- Specified by:
getFilterOrBuilderin interfaceReadRowsRequestOrBuilder
-
getRowsLimit
public long getRowsLimit()The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.
int64 rows_limit = 4;- Specified by:
getRowsLimitin interfaceReadRowsRequestOrBuilder- Returns:
- The rowsLimit.
-
getRequestStatsViewValue
public int getRequestStatsViewValue()The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Specified by:
getRequestStatsViewValuein interfaceReadRowsRequestOrBuilder- Returns:
- The enum numeric value on the wire for requestStatsView.
-
getRequestStatsView
The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Specified by:
getRequestStatsViewin interfaceReadRowsRequestOrBuilder- Returns:
- The requestStatsView.
-
getReversed
public boolean getReversed()Experimental API - Please note that this API is currently experimental and can change in the future. Return rows in lexiographical descending order of the row keys. The row contents will not be affected by this flag. Example result set: [ {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", "f:col2": "v2"} ]bool reversed = 7;- Specified by:
getReversedin interfaceReadRowsRequestOrBuilder- Returns:
- The reversed.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadRowsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReadRowsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ReadRowsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReadRowsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReadRowsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadRowsRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-