public static final class Protocol.ReadRequest extends com.google.protobuf.GeneratedMessageV3 implements Protocol.ReadRequestOrBuilder
The read request. next available id: 8Protobuf type
alluxio.proto.dataserver.ReadRequest
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.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 |
CANCEL_FIELD_NUMBER |
static int |
CHUNK_SIZE_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<Protocol.ReadRequest> |
PARSER
Deprecated.
|
static int |
PROMOTE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getBlockId()
optional int64 block_id = 1; |
boolean |
getCancel()
If set, this request is to cancel the reading request for the id.
|
long |
getChunkSize()
If set, the server should send packets in the specified packet size.
|
static Protocol.ReadRequest |
getDefaultInstance() |
Protocol.ReadRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLength()
optional int64 length = 3; |
long |
getOffset()
optional int64 offset = 2; |
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<Protocol.ReadRequest> |
getParserForType() |
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 |
hasCancel()
If set, this request is to cancel the reading request for the id.
|
boolean |
hasChunkSize()
If set, the server should send packets in the specified packet size.
|
int |
hashCode() |
boolean |
hasLength()
optional int64 length = 3; |
boolean |
hasOffset()
optional int64 offset = 2; |
boolean |
hasOpenUfsBlockOptions()
This is only set for UFS block read.
|
boolean |
hasPromote()
Whether the block should be promoted before reading
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protocol.ReadRequest.Builder |
newBuilder() |
static Protocol.ReadRequest.Builder |
newBuilder(Protocol.ReadRequest prototype) |
Protocol.ReadRequest.Builder |
newBuilderForType() |
protected Protocol.ReadRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Protocol.ReadRequest |
parseDelimitedFrom(InputStream input) |
static Protocol.ReadRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.ReadRequest |
parseFrom(byte[] data) |
static Protocol.ReadRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.ReadRequest |
parseFrom(ByteBuffer data) |
static Protocol.ReadRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.ReadRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Protocol.ReadRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.ReadRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protocol.ReadRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.ReadRequest |
parseFrom(InputStream input) |
static Protocol.ReadRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protocol.ReadRequest> |
parser() |
Protocol.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 CANCEL_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
@Deprecated public static final com.google.protobuf.Parser<Protocol.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 Protocol.ReadRequestOrBuilder
public long getBlockId()
optional int64 block_id = 1;
getBlockId
in interface Protocol.ReadRequestOrBuilder
public boolean hasOffset()
optional int64 offset = 2;
hasOffset
in interface Protocol.ReadRequestOrBuilder
public long getOffset()
optional int64 offset = 2;
getOffset
in interface Protocol.ReadRequestOrBuilder
public boolean hasLength()
optional int64 length = 3;
hasLength
in interface Protocol.ReadRequestOrBuilder
public long getLength()
optional int64 length = 3;
getLength
in interface Protocol.ReadRequestOrBuilder
public boolean hasCancel()
If set, this request is to cancel the reading request for the id.
optional bool cancel = 4;
hasCancel
in interface Protocol.ReadRequestOrBuilder
public boolean getCancel()
If set, this request is to cancel the reading request for the id.
optional bool cancel = 4;
getCancel
in interface Protocol.ReadRequestOrBuilder
public boolean hasPromote()
Whether the block should be promoted before reading
optional bool promote = 7;
hasPromote
in interface Protocol.ReadRequestOrBuilder
public boolean getPromote()
Whether the block should be promoted before reading
optional bool promote = 7;
getPromote
in interface Protocol.ReadRequestOrBuilder
public boolean hasChunkSize()
If set, the server should send packets in the specified packet size.
optional int64 chunk_size = 5;
hasChunkSize
in interface Protocol.ReadRequestOrBuilder
public long getChunkSize()
If set, the server should send packets in the specified packet size.
optional int64 chunk_size = 5;
getChunkSize
in interface Protocol.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 Protocol.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 Protocol.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 Protocol.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 Protocol.ReadRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.ReadRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.ReadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.ReadRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.ReadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.ReadRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.ReadRequest parseFrom(InputStream input) throws IOException
IOException
public static Protocol.ReadRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.ReadRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protocol.ReadRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.ReadRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protocol.ReadRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Protocol.ReadRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protocol.ReadRequest.Builder newBuilder()
public static Protocol.ReadRequest.Builder newBuilder(Protocol.ReadRequest prototype)
public Protocol.ReadRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protocol.ReadRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Protocol.ReadRequest getDefaultInstance()
public static com.google.protobuf.Parser<Protocol.ReadRequest> parser()
public com.google.protobuf.Parser<Protocol.ReadRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Protocol.ReadRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.