public static final class Protocol.ReadRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.ReadRequest.Builder> implements Protocol.ReadRequestOrBuilder
alluxio.proto.dataserver.ReadRequest
The read request. next available id: 8
Modifier and Type | Method and Description |
---|---|
Protocol.ReadRequest |
build() |
Protocol.ReadRequest |
buildPartial() |
Protocol.ReadRequest.Builder |
clear() |
Protocol.ReadRequest.Builder |
clearBlockId()
optional int64 block_id = 1; |
Protocol.ReadRequest.Builder |
clearCancel()
optional bool cancel = 4; |
Protocol.ReadRequest.Builder |
clearLength()
optional int64 length = 3; |
Protocol.ReadRequest.Builder |
clearOffset()
optional int64 offset = 2; |
Protocol.ReadRequest.Builder |
clearOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
Protocol.ReadRequest.Builder |
clearPacketSize()
optional int64 packet_size = 5; |
Protocol.ReadRequest.Builder |
clearPromote()
optional bool promote = 7; |
Protocol.ReadRequest.Builder |
clone() |
long |
getBlockId()
optional int64 block_id = 1; |
boolean |
getCancel()
optional bool cancel = 4; |
Protocol.ReadRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.OpenUfsBlockOptions.Builder |
getOpenUfsBlockOptionsBuilder()
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; |
boolean |
getPromote()
optional bool promote = 7; |
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() |
Protocol.ReadRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.ReadRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.ReadRequest.Builder |
mergeFrom(Protocol.ReadRequest other) |
Protocol.ReadRequest.Builder |
mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
Protocol.ReadRequest.Builder |
setBlockId(long value)
optional int64 block_id = 1; |
Protocol.ReadRequest.Builder |
setCancel(boolean value)
optional bool cancel = 4; |
Protocol.ReadRequest.Builder |
setLength(long value)
optional int64 length = 3; |
Protocol.ReadRequest.Builder |
setOffset(long value)
optional int64 offset = 2; |
Protocol.ReadRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
Protocol.ReadRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6; |
Protocol.ReadRequest.Builder |
setPacketSize(long value)
optional int64 packet_size = 5; |
Protocol.ReadRequest.Builder |
setPromote(boolean value)
optional bool promote = 7; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protocol.ReadRequest.Builder>
public Protocol.ReadRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protocol.ReadRequest.Builder>
public Protocol.ReadRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protocol.ReadRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Protocol.ReadRequest.Builder>
public Protocol.ReadRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.ReadRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.ReadRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.ReadRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.ReadRequest.Builder>
public Protocol.ReadRequest.Builder mergeFrom(Protocol.ReadRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protocol.ReadRequest.Builder>
public Protocol.ReadRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.ReadRequest.Builder>
IOException
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 Protocol.ReadRequest.Builder setBlockId(long value)
optional int64 block_id = 1;
public Protocol.ReadRequest.Builder clearBlockId()
optional int64 block_id = 1;
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 Protocol.ReadRequest.Builder setOffset(long value)
optional int64 offset = 2;
public Protocol.ReadRequest.Builder clearOffset()
optional int64 offset = 2;
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 Protocol.ReadRequest.Builder setLength(long value)
optional int64 length = 3;
public Protocol.ReadRequest.Builder clearLength()
optional int64 length = 3;
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 Protocol.ReadRequest.Builder setCancel(boolean value)
optional bool cancel = 4;
If set, this request is to cancel the reading request for the id.
public Protocol.ReadRequest.Builder clearCancel()
optional bool cancel = 4;
If set, this request is to cancel the reading request for the id.
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 Protocol.ReadRequest.Builder setPromote(boolean value)
optional bool promote = 7;
Whether the block should be promoted before reading
public Protocol.ReadRequest.Builder clearPromote()
optional bool promote = 7;
Whether the block should be promoted before reading
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 Protocol.ReadRequest.Builder setPacketSize(long value)
optional int64 packet_size = 5;
If set, the server should send packets in the specified packet size.
public Protocol.ReadRequest.Builder clearPacketSize()
optional int64 packet_size = 5;
If set, the server should send packets in the specified packet size.
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.ReadRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
public Protocol.ReadRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
public Protocol.ReadRequest.Builder mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
public Protocol.ReadRequest.Builder clearOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
public Protocol.OpenUfsBlockOptions.Builder getOpenUfsBlockOptionsBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
This is only set for UFS block read.
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
Copyright © 2023. All Rights Reserved.