public static final class ReadRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder> implements ReadRequestOrBuilder
The read request. next available id: 6Protobuf type
alluxio.grpc.block.ReadRequest
Modifier and Type | Method and Description |
---|---|
ReadRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadRequest |
build() |
ReadRequest |
buildPartial() |
ReadRequest.Builder |
clear() |
ReadRequest.Builder |
clearBlockId()
optional int64 block_id = 1; |
ReadRequest.Builder |
clearChunkSize()
optional int64 chunk_size = 5; |
ReadRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReadRequest.Builder |
clearLength()
optional int64 length = 3; |
ReadRequest.Builder |
clearOffset()
optional int64 offset = 2; |
ReadRequest.Builder |
clearOffsetReceived()
Read receipt
|
ReadRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReadRequest.Builder |
clearOpenUfsBlockOptions()
This is only set for UFS block read.
|
ReadRequest.Builder |
clearPromote()
Whether the block should be promoted before reading
|
ReadRequest.Builder |
clone() |
long |
getBlockId()
optional int64 block_id = 1; |
long |
getChunkSize()
optional int64 chunk_size = 5; |
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; |
long |
getOffsetReceived()
Read receipt
|
Protocol.OpenUfsBlockOptions |
getOpenUfsBlockOptions()
This is only set for UFS block read.
|
Protocol.OpenUfsBlockOptions.Builder |
getOpenUfsBlockOptionsBuilder()
This is only set for UFS block read.
|
Protocol.OpenUfsBlockOptionsOrBuilder |
getOpenUfsBlockOptionsOrBuilder()
This is only set for UFS block read.
|
boolean |
getPromote()
Whether the block should be promoted before reading
|
boolean |
hasBlockId()
optional int64 block_id = 1; |
boolean |
hasChunkSize()
optional int64 chunk_size = 5; |
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 |
hasPromote()
Whether the block should be promoted before reading
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReadRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReadRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReadRequest.Builder |
mergeFrom(ReadRequest other) |
ReadRequest.Builder |
mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
This is only set for UFS block read.
|
ReadRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReadRequest.Builder |
setBlockId(long value)
optional int64 block_id = 1; |
ReadRequest.Builder |
setChunkSize(long value)
optional int64 chunk_size = 5; |
ReadRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadRequest.Builder |
setLength(long value)
optional int64 length = 3; |
ReadRequest.Builder |
setOffset(long value)
optional int64 offset = 2; |
ReadRequest.Builder |
setOffsetReceived(long value)
Read receipt
|
ReadRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
This is only set for UFS block read.
|
ReadRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
This is only set for UFS block read.
|
ReadRequest.Builder |
setPromote(boolean value)
Whether the block should be promoted before reading
|
ReadRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReadRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public 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.GeneratedMessageV3.Builder<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.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ReadRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ReadRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public ReadRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ReadRequest.Builder>
public ReadRequest.Builder mergeFrom(ReadRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public 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<ReadRequest.Builder>
IOException
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 ReadRequest.Builder setBlockId(long value)
optional int64 block_id = 1;
public ReadRequest.Builder clearBlockId()
optional int64 block_id = 1;
public boolean hasOffset()
optional int64 offset = 2;
hasOffset
in interface ReadRequestOrBuilder
public long getOffset()
optional int64 offset = 2;
getOffset
in interface ReadRequestOrBuilder
public ReadRequest.Builder setOffset(long value)
optional int64 offset = 2;
public ReadRequest.Builder clearOffset()
optional int64 offset = 2;
public boolean hasLength()
optional int64 length = 3;
hasLength
in interface ReadRequestOrBuilder
public long getLength()
optional int64 length = 3;
getLength
in interface ReadRequestOrBuilder
public ReadRequest.Builder setLength(long value)
optional int64 length = 3;
public ReadRequest.Builder clearLength()
optional int64 length = 3;
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 ReadRequest.Builder setPromote(boolean value)
Whether the block should be promoted before reading
optional bool promote = 4;
public ReadRequest.Builder clearPromote()
Whether the block should be promoted before reading
optional bool promote = 4;
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 ReadRequest.Builder setChunkSize(long value)
optional int64 chunk_size = 5;
public ReadRequest.Builder clearChunkSize()
optional int64 chunk_size = 5;
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 ReadRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
public ReadRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
public ReadRequest.Builder mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
public ReadRequest.Builder clearOpenUfsBlockOptions()
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
public Protocol.OpenUfsBlockOptions.Builder getOpenUfsBlockOptionsBuilder()
This is only set for UFS block read.
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 6;
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 ReadRequest.Builder setOffsetReceived(long value)
Read receipt
optional int64 offset_received = 7;
public ReadRequest.Builder clearOffsetReceived()
Read receipt
optional int64 offset_received = 7;
public final ReadRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
public final ReadRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRequest.Builder>
Copyright © 2023. All Rights Reserved.