public static final class Protocol.ReadRequest extends com.google.protobuf.GeneratedMessage implements Protocol.ReadRequestOrBuilder
alluxio.proto.dataserver.ReadRequest
The read request. next available id: 8
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.ReadRequest.Builder
Protobuf type
alluxio.proto.dataserver.ReadRequest |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_ID_FIELD_NUMBER |
static int |
CANCEL_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER |
static int |
PACKET_SIZE_FIELD_NUMBER |
static com.google.protobuf.Parser<Protocol.ReadRequest> |
PARSER |
static int |
PROMOTE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
long |
getBlockId()
optional int64 block_id = 1; |
boolean |
getCancel()
optional bool cancel = 4; |
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()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
Protocol.OpenUfsBlockOptionsOrBuilder |
getOpenUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
long |
getPacketSize()
optional int64 packet_size = 5; |
com.google.protobuf.Parser<Protocol.ReadRequest> |
getParserForType() |
boolean |
getPromote()
optional bool promote = 7; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlockId()
optional int64 block_id = 1; |
boolean |
hasCancel()
optional bool cancel = 4; |
boolean |
hasLength()
optional int64 length = 3; |
boolean |
hasOffset()
optional int64 offset = 2; |
boolean |
hasOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
boolean |
hasPacketSize()
optional int64 packet_size = 5; |
boolean |
hasPromote()
optional bool promote = 7; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) |
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(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) |
Protocol.ReadRequest.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Protocol.ReadRequest> PARSER
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 PACKET_SIZE_FIELD_NUMBER
public static final int OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER
public static Protocol.ReadRequest getDefaultInstance()
public Protocol.ReadRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
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.GeneratedMessage
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()
optional bool cancel = 4;
If set, this request is to cancel the reading request for the id.
hasCancel
in interface Protocol.ReadRequestOrBuilder
public boolean getCancel()
optional bool cancel = 4;
If set, this request is to cancel the reading request for the id.
getCancel
in interface Protocol.ReadRequestOrBuilder
public boolean hasPromote()
optional bool promote = 7;
Whether the block should be promoted before reading
hasPromote
in interface Protocol.ReadRequestOrBuilder
public boolean getPromote()
optional bool promote = 7;
Whether the block should be promoted before reading
getPromote
in interface Protocol.ReadRequestOrBuilder
public boolean hasPacketSize()
optional int64 packet_size = 5;
If set, the server should send packets in the specified packet size.
hasPacketSize
in interface Protocol.ReadRequestOrBuilder
public long getPacketSize()
optional int64 packet_size = 5;
If set, the server should send packets in the specified packet size.
getPacketSize
in interface Protocol.ReadRequestOrBuilder
public boolean hasOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
hasOpenUfsBlockOptions
in interface Protocol.ReadRequestOrBuilder
public Protocol.OpenUfsBlockOptions getOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
getOpenUfsBlockOptions
in interface Protocol.ReadRequestOrBuilder
public Protocol.OpenUfsBlockOptionsOrBuilder getOpenUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
getOpenUfsBlockOptionsOrBuilder
in interface Protocol.ReadRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
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 static Protocol.ReadRequest.Builder newBuilder()
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(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.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2023. All Rights Reserved.