Package com.google.spanner.v1
Class ReadRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.v1.ReadRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ReadRequestOrBuilder,Serializable
public final class ReadRequest
extends com.google.protobuf.GeneratedMessageV3
implements ReadRequestOrBuilder
The request for [Read][google.spanner.v1.Spanner.Read] and [StreamingRead][google.spanner.v1.Spanner.StreamingRead].Protobuf type
google.spanner.v1.ReadRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe request for [Read][google.spanner.v1.Spanner.Read] and [StreamingRead][google.spanner.v1.Spanner.StreamingRead].static enumA lock hint mechanism for reads done within a transaction.static enumAn option to control the order in which rows are returned from a read.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 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 TypeMethodDescriptionbooleangetColumns(int index) Required.com.google.protobuf.ByteStringgetColumnsBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.booleanIf this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources.static ReadRequeststatic final com.google.protobuf.Descriptors.DescriptorDirected read options for this request.Directed read options for this request.getIndex()If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table].com.google.protobuf.ByteStringIf non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table].Required.Required.longgetLimit()If greater than zero, only the first `limit` rows are yielded.Optional.intOptional.Optional.intOptional.com.google.protobuf.Parser<ReadRequest>com.google.protobuf.ByteStringIf present, results will be restricted to the specified partition previously created using PartitionRead().Common options for this request.Common options for this request.com.google.protobuf.ByteStringIf this request is resuming a previously interrupted read, `resume_token` should be copied from the last [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption.intRequired.com.google.protobuf.ByteStringRequired.getTable()Required.com.google.protobuf.ByteStringRequired.The transaction to use.The transaction to use.booleanDirected read options for this request.inthashCode()booleanRequired.booleanCommon options for this request.booleanThe transaction to use.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ReadRequest.Builderstatic ReadRequest.BuildernewBuilder(ReadRequest prototype) protected ReadRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ReadRequestparseDelimitedFrom(InputStream input) static ReadRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRequestparseFrom(byte[] data) static ReadRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRequestparseFrom(com.google.protobuf.ByteString data) static ReadRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRequestparseFrom(com.google.protobuf.CodedInputStream input) static ReadRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRequestparseFrom(InputStream input) static ReadRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRequestparseFrom(ByteBuffer data) static ReadRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReadRequest>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
-
SESSION_FIELD_NUMBER
public static final int SESSION_FIELD_NUMBER- See Also:
-
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER- See Also:
-
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER- See Also:
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER- See Also:
-
KEY_SET_FIELD_NUMBER
public static final int KEY_SET_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
RESUME_TOKEN_FIELD_NUMBER
public static final int RESUME_TOKEN_FIELD_NUMBER- See Also:
-
PARTITION_TOKEN_FIELD_NUMBER
public static final int PARTITION_TOKEN_FIELD_NUMBER- See Also:
-
REQUEST_OPTIONS_FIELD_NUMBER
public static final int REQUEST_OPTIONS_FIELD_NUMBER- See Also:
-
DIRECTED_READ_OPTIONS_FIELD_NUMBER
public static final int DIRECTED_READ_OPTIONS_FIELD_NUMBER- See Also:
-
DATA_BOOST_ENABLED_FIELD_NUMBER
public static final int DATA_BOOST_ENABLED_FIELD_NUMBER- See Also:
-
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER- See Also:
-
LOCK_HINT_FIELD_NUMBER
public static final int LOCK_HINT_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
-
getSession
Required. The session in which the read should be performed.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getSessionin interfaceReadRequestOrBuilder- Returns:
- The session.
-
getSessionBytes
public com.google.protobuf.ByteString getSessionBytes()Required. The session in which the read should be performed.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getSessionBytesin interfaceReadRequestOrBuilder- Returns:
- The bytes for session.
-
hasTransaction
public boolean hasTransaction()The transaction to use. If none is provided, the default is a temporary read-only transaction with strong concurrency.
.google.spanner.v1.TransactionSelector transaction = 2;- Specified by:
hasTransactionin interfaceReadRequestOrBuilder- Returns:
- Whether the transaction field is set.
-
getTransaction
The transaction to use. If none is provided, the default is a temporary read-only transaction with strong concurrency.
.google.spanner.v1.TransactionSelector transaction = 2;- Specified by:
getTransactionin interfaceReadRequestOrBuilder- Returns:
- The transaction.
-
getTransactionOrBuilder
The transaction to use. If none is provided, the default is a temporary read-only transaction with strong concurrency.
.google.spanner.v1.TransactionSelector transaction = 2;- Specified by:
getTransactionOrBuilderin interfaceReadRequestOrBuilder
-
getTable
Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTablein interfaceReadRequestOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()Required. The name of the table in the database to be read.
string table = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTableBytesin interfaceReadRequestOrBuilder- Returns:
- The bytes for table.
-
getIndex
If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.ReadRequest.key_set] for further information.
string index = 4;- Specified by:
getIndexin interfaceReadRequestOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set] and sorting result rows. See [key_set][google.spanner.v1.ReadRequest.key_set] for further information.
string index = 4;- Specified by:
getIndexBytesin interfaceReadRequestOrBuilder- Returns:
- The bytes for index.
-
getColumnsList
public com.google.protobuf.ProtocolStringList getColumnsList()Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getColumnsListin interfaceReadRequestOrBuilder- Returns:
- A list containing the columns.
-
getColumnsCount
public int getColumnsCount()Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getColumnsCountin interfaceReadRequestOrBuilder- Returns:
- The count of columns.
-
getColumns
Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getColumnsin interfaceReadRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The columns at the given index.
-
getColumnsBytes
public com.google.protobuf.ByteString getColumnsBytes(int index) Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching this request.
repeated string columns = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getColumnsBytesin interfaceReadRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the columns at the given index.
-
hasKeySet
public boolean hasKeySet()Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index] is present. If [index][google.spanner.v1.ReadRequest.index] is present, then [key_set][google.spanner.v1.ReadRequest.key_set] instead names index keys in [index][google.spanner.v1.ReadRequest.index]. If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is empty, rows are yielded in table primary key order (if [index][google.spanner.v1.ReadRequest.index] is empty) or index key order (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is not empty, rows will be yielded in an unspecified order. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasKeySetin interfaceReadRequestOrBuilder- Returns:
- Whether the keySet field is set.
-
getKeySet
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index] is present. If [index][google.spanner.v1.ReadRequest.index] is present, then [key_set][google.spanner.v1.ReadRequest.key_set] instead names index keys in [index][google.spanner.v1.ReadRequest.index]. If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is empty, rows are yielded in table primary key order (if [index][google.spanner.v1.ReadRequest.index] is empty) or index key order (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is not empty, rows will be yielded in an unspecified order. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKeySetin interfaceReadRequestOrBuilder- Returns:
- The keySet.
-
getKeySetOrBuilder
Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index] is present. If [index][google.spanner.v1.ReadRequest.index] is present, then [key_set][google.spanner.v1.ReadRequest.key_set] instead names index keys in [index][google.spanner.v1.ReadRequest.index]. If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is empty, rows are yielded in table primary key order (if [index][google.spanner.v1.ReadRequest.index] is empty) or index key order (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is not empty, rows will be yielded in an unspecified order. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
.google.spanner.v1.KeySet key_set = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getKeySetOrBuilderin interfaceReadRequestOrBuilder
-
getLimit
public long getLimit()If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit cannot be specified if `partition_token` is set.
int64 limit = 8;- Specified by:
getLimitin interfaceReadRequestOrBuilder- Returns:
- The limit.
-
getResumeToken
public com.google.protobuf.ByteString getResumeToken()If this request is resuming a previously interrupted read, `resume_token` should be copied from the last [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this enables the new read to resume where the last read left off. The rest of the request parameters must exactly match the request that yielded this token.
bytes resume_token = 9;- Specified by:
getResumeTokenin interfaceReadRequestOrBuilder- Returns:
- The resumeToken.
-
getPartitionToken
public com.google.protobuf.ByteString getPartitionToken()If present, results will be restricted to the specified partition previously created using PartitionRead(). There must be an exact match for the values of fields common to this message and the PartitionReadRequest message used to create this partition_token.
bytes partition_token = 10;- Specified by:
getPartitionTokenin interfaceReadRequestOrBuilder- Returns:
- The partitionToken.
-
hasRequestOptions
public boolean hasRequestOptions()Common options for this request.
.google.spanner.v1.RequestOptions request_options = 11;- Specified by:
hasRequestOptionsin interfaceReadRequestOrBuilder- Returns:
- Whether the requestOptions field is set.
-
getRequestOptions
Common options for this request.
.google.spanner.v1.RequestOptions request_options = 11;- Specified by:
getRequestOptionsin interfaceReadRequestOrBuilder- Returns:
- The requestOptions.
-
getRequestOptionsOrBuilder
Common options for this request.
.google.spanner.v1.RequestOptions request_options = 11;- Specified by:
getRequestOptionsOrBuilderin interfaceReadRequestOrBuilder
-
hasDirectedReadOptions
public boolean hasDirectedReadOptions()Directed read options for this request.
.google.spanner.v1.DirectedReadOptions directed_read_options = 14;- Specified by:
hasDirectedReadOptionsin interfaceReadRequestOrBuilder- Returns:
- Whether the directedReadOptions field is set.
-
getDirectedReadOptions
Directed read options for this request.
.google.spanner.v1.DirectedReadOptions directed_read_options = 14;- Specified by:
getDirectedReadOptionsin interfaceReadRequestOrBuilder- Returns:
- The directedReadOptions.
-
getDirectedReadOptionsOrBuilder
Directed read options for this request.
.google.spanner.v1.DirectedReadOptions directed_read_options = 14;- Specified by:
getDirectedReadOptionsOrBuilderin interfaceReadRequestOrBuilder
-
getDataBoostEnabled
public boolean getDataBoostEnabled()If this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request does not set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
bool data_boost_enabled = 15;- Specified by:
getDataBoostEnabledin interfaceReadRequestOrBuilder- Returns:
- The dataBoostEnabled.
-
getOrderByValue
public int getOrderByValue()Optional. Order for the returned rows. By default, Spanner will return result rows in primary key order except for PartitionRead requests. For applications that do not require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (e.g. bulk point lookups).
.google.spanner.v1.ReadRequest.OrderBy order_by = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderByValuein interfaceReadRequestOrBuilder- Returns:
- The enum numeric value on the wire for orderBy.
-
getOrderBy
Optional. Order for the returned rows. By default, Spanner will return result rows in primary key order except for PartitionRead requests. For applications that do not require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (e.g. bulk point lookups).
.google.spanner.v1.ReadRequest.OrderBy order_by = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderByin interfaceReadRequestOrBuilder- Returns:
- The orderBy.
-
getLockHintValue
public int getLockHintValue()Optional. Lock Hint for the request, it can only be used with read-write transactions.
.google.spanner.v1.ReadRequest.LockHint lock_hint = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLockHintValuein interfaceReadRequestOrBuilder- Returns:
- The enum numeric value on the wire for lockHint.
-
getLockHint
Optional. Lock Hint for the request, it can only be used with read-write transactions.
.google.spanner.v1.ReadRequest.LockHint lock_hint = 17 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLockHintin interfaceReadRequestOrBuilder- Returns:
- The lockHint.
-
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 ReadRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReadRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ReadRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReadRequest 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 ReadRequest.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
-