public final class ReadRequest extends com.google.protobuf.GeneratedMessageV3 implements ReadRequestOrBuilder
The read request. next available id: 9Protobuf type
alluxio.grpc.block.ReadRequest
Modifier and Type | Class and Description |
---|---|
static class |
ReadRequest.Builder
The read request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_ID_FIELD_NUMBER |
static int |
CHUNK_SIZE_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
OFFSET_RECEIVED_FIELD_NUMBER |
static int |
OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<ReadRequest> |
PARSER
Deprecated.
|
static int |
POSITION_SHORT_FIELD_NUMBER |
static int |
PROMOTE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getBlockId()
optional int64 block_id = 1; |
long |
getChunkSize()
optional int64 chunk_size = 5; |
static ReadRequest |
getDefaultInstance() |
ReadRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLength()
optional int64 length = 3; |
long |
getOffset()
optional int64 offset = 2; |
long |
getOffsetReceived()
Read receipt
|
Protocol.OpenUfsBlockOptions |
getOpenUfsBlockOptions()
This is only set for UFS block read.
|
Protocol.OpenUfsBlockOptionsOrBuilder |
getOpenUfsBlockOptionsOrBuilder()
This is only set for UFS block read.
|
com.google.protobuf.Parser<ReadRequest> |
getParserForType() |
boolean |
getPositionShort()
Is position read to a small buffer
|
boolean |
getPromote()
Whether the block should be promoted before reading
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlockId()
optional int64 block_id = 1; |
boolean |
hasChunkSize()
optional int64 chunk_size = 5; |
int |
hashCode() |
boolean |
hasLength()
optional int64 length = 3; |
boolean |
hasOffset()
optional int64 offset = 2; |
boolean |
hasOffsetReceived()
Read receipt
|
boolean |
hasOpenUfsBlockOptions()
This is only set for UFS block read.
|
boolean |
hasPositionShort()
Is position read to a small buffer
|
boolean |
hasPromote()
Whether the block should be promoted before reading
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadRequest.Builder |
newBuilder() |
static ReadRequest.Builder |
newBuilder(ReadRequest prototype) |
ReadRequest.Builder |
newBuilderForType() |
protected ReadRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadRequest |
parseDelimitedFrom(InputStream input) |
static ReadRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRequest |
parseFrom(byte[] data) |
static ReadRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRequest |
parseFrom(ByteBuffer data) |
static ReadRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ReadRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadRequest |
parseFrom(InputStream input) |
static ReadRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadRequest> |
parser() |
ReadRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int BLOCK_ID_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int PROMOTE_FIELD_NUMBER
public static final int CHUNK_SIZE_FIELD_NUMBER
public static final int OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER
public static final int OFFSET_RECEIVED_FIELD_NUMBER
public static final int POSITION_SHORT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<ReadRequest> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasBlockId()
optional int64 block_id = 1;
hasBlockId
in interface ReadRequestOrBuilder
public long getBlockId()
optional int64 block_id = 1;
getBlockId
in interface ReadRequestOrBuilder
public boolean hasOffset()
optional int64 offset = 2;
hasOffset
in interface ReadRequestOrBuilder
public long getOffset()
optional int64 offset = 2;
getOffset
in interface ReadRequestOrBuilder
public boolean hasLength()
optional int64 length = 3;
hasLength
in interface ReadRequestOrBuilder
public long getLength()
optional int64 length = 3;
getLength
in interface ReadRequestOrBuilder
public boolean hasPromote()
Whether the block should be promoted before reading
optional bool promote = 4;
hasPromote
in interface ReadRequestOrBuilder
public boolean getPromote()
Whether the block should be promoted before reading
optional bool promote = 4;
getPromote
in interface ReadRequestOrBuilder
public boolean hasChunkSize()
optional int64 chunk_size = 5;
hasChunkSize
in interface ReadRequestOrBuilder
public long getChunkSize()
optional int64 chunk_size = 5;
getChunkSize
in interface ReadRequestOrBuilder
public boolean hasOpenUfsBlockOptions()
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
hasOpenUfsBlockOptions
in interface ReadRequestOrBuilder
public Protocol.OpenUfsBlockOptions getOpenUfsBlockOptions()
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
getOpenUfsBlockOptions
in interface ReadRequestOrBuilder
public Protocol.OpenUfsBlockOptionsOrBuilder getOpenUfsBlockOptionsOrBuilder()
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
getOpenUfsBlockOptionsOrBuilder
in interface ReadRequestOrBuilder
public boolean hasOffsetReceived()
Read receipt
optional int64 offset_received = 7;
hasOffsetReceived
in interface ReadRequestOrBuilder
public long getOffsetReceived()
Read receipt
optional int64 offset_received = 7;
getOffsetReceived
in interface ReadRequestOrBuilder
public boolean hasPositionShort()
Is position read to a small buffer
optional bool position_short = 8;
hasPositionShort
in interface ReadRequestOrBuilder
public boolean getPositionShort()
Is position read to a small buffer
optional bool position_short = 8;
getPositionShort
in interface ReadRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ReadRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ReadRequest parseFrom(InputStream input) throws IOException
IOException
public static ReadRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ReadRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ReadRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ReadRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ReadRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ReadRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ReadRequest.Builder newBuilder()
public static ReadRequest.Builder newBuilder(ReadRequest prototype)
public ReadRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ReadRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ReadRequest getDefaultInstance()
public static com.google.protobuf.Parser<ReadRequest> parser()
public com.google.protobuf.Parser<ReadRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ReadRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.