public static final class AsyncCacheRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AsyncCacheRequest.Builder> implements AsyncCacheRequestOrBuilder
Request for caching a block asynchronously Deprecated and will be removed in v3.0Protobuf type
alluxio.grpc.block.AsyncCacheRequest
Modifier and Type | Method and Description |
---|---|
AsyncCacheRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AsyncCacheRequest |
build() |
AsyncCacheRequest |
buildPartial() |
AsyncCacheRequest.Builder |
clear() |
AsyncCacheRequest.Builder |
clearBlockId()
optional int64 block_id = 1; |
AsyncCacheRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AsyncCacheRequest.Builder |
clearLength()
optional int64 length = 5; |
AsyncCacheRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AsyncCacheRequest.Builder |
clearOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
AsyncCacheRequest.Builder |
clearSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
AsyncCacheRequest.Builder |
clearSourcePort()
optional int32 source_port = 3; |
AsyncCacheRequest.Builder |
clone() |
long |
getBlockId()
optional int64 block_id = 1; |
AsyncCacheRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLength()
optional int64 length = 5; |
Protocol.OpenUfsBlockOptions |
getOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.OpenUfsBlockOptions.Builder |
getOpenUfsBlockOptionsBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.OpenUfsBlockOptionsOrBuilder |
getOpenUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
String |
getSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
com.google.protobuf.ByteString |
getSourceHostBytes()
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
int |
getSourcePort()
optional int32 source_port = 3; |
boolean |
hasBlockId()
optional int64 block_id = 1; |
boolean |
hasLength()
optional int64 length = 5; |
boolean |
hasOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
boolean |
hasSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
boolean |
hasSourcePort()
optional int32 source_port = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AsyncCacheRequest.Builder |
mergeFrom(AsyncCacheRequest other) |
AsyncCacheRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AsyncCacheRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AsyncCacheRequest.Builder |
mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
AsyncCacheRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AsyncCacheRequest.Builder |
setBlockId(long value)
optional int64 block_id = 1; |
AsyncCacheRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AsyncCacheRequest.Builder |
setLength(long value)
optional int64 length = 5; |
AsyncCacheRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
AsyncCacheRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
AsyncCacheRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AsyncCacheRequest.Builder |
setSourceHost(String value)
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
AsyncCacheRequest.Builder |
setSourceHostBytes(com.google.protobuf.ByteString value)
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
AsyncCacheRequest.Builder |
setSourcePort(int value)
optional int32 source_port = 3; |
AsyncCacheRequest.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<AsyncCacheRequest.Builder>
public AsyncCacheRequest.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<AsyncCacheRequest.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<AsyncCacheRequest.Builder>
public AsyncCacheRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AsyncCacheRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AsyncCacheRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AsyncCacheRequest.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<AsyncCacheRequest.Builder>
public AsyncCacheRequest.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<AsyncCacheRequest.Builder>
public AsyncCacheRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AsyncCacheRequest.Builder>
public AsyncCacheRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AsyncCacheRequest.Builder>
public AsyncCacheRequest.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<AsyncCacheRequest.Builder>
public AsyncCacheRequest.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<AsyncCacheRequest.Builder>
public AsyncCacheRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AsyncCacheRequest.Builder>
public AsyncCacheRequest.Builder mergeFrom(AsyncCacheRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AsyncCacheRequest.Builder>
public AsyncCacheRequest.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<AsyncCacheRequest.Builder>
IOException
public boolean hasBlockId()
optional int64 block_id = 1;
hasBlockId
in interface AsyncCacheRequestOrBuilder
public long getBlockId()
optional int64 block_id = 1;
getBlockId
in interface AsyncCacheRequestOrBuilder
public AsyncCacheRequest.Builder setBlockId(long value)
optional int64 block_id = 1;
value
- The blockId to set.public AsyncCacheRequest.Builder clearBlockId()
optional int64 block_id = 1;
public boolean hasSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
hasSourceHost
in interface AsyncCacheRequestOrBuilder
public String getSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
getSourceHost
in interface AsyncCacheRequestOrBuilder
public com.google.protobuf.ByteString getSourceHostBytes()
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
getSourceHostBytes
in interface AsyncCacheRequestOrBuilder
public AsyncCacheRequest.Builder setSourceHost(String value)
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
value
- The sourceHost to set.public AsyncCacheRequest.Builder clearSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
public AsyncCacheRequest.Builder setSourceHostBytes(com.google.protobuf.ByteString value)
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
value
- The bytes for sourceHost to set.public boolean hasSourcePort()
optional int32 source_port = 3;
hasSourcePort
in interface AsyncCacheRequestOrBuilder
public int getSourcePort()
optional int32 source_port = 3;
getSourcePort
in interface AsyncCacheRequestOrBuilder
public AsyncCacheRequest.Builder setSourcePort(int value)
optional int32 source_port = 3;
value
- The sourcePort to set.public AsyncCacheRequest.Builder clearSourcePort()
optional int32 source_port = 3;
public boolean hasOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
hasOpenUfsBlockOptions
in interface AsyncCacheRequestOrBuilder
public Protocol.OpenUfsBlockOptions getOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
getOpenUfsBlockOptions
in interface AsyncCacheRequestOrBuilder
public AsyncCacheRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public AsyncCacheRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public AsyncCacheRequest.Builder mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public AsyncCacheRequest.Builder clearOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public Protocol.OpenUfsBlockOptions.Builder getOpenUfsBlockOptionsBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public Protocol.OpenUfsBlockOptionsOrBuilder getOpenUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
getOpenUfsBlockOptionsOrBuilder
in interface AsyncCacheRequestOrBuilder
public boolean hasLength()
optional int64 length = 5;
hasLength
in interface AsyncCacheRequestOrBuilder
public long getLength()
optional int64 length = 5;
getLength
in interface AsyncCacheRequestOrBuilder
public AsyncCacheRequest.Builder setLength(long value)
optional int64 length = 5;
value
- The length to set.public AsyncCacheRequest.Builder clearLength()
optional int64 length = 5;
public final AsyncCacheRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AsyncCacheRequest.Builder>
public final AsyncCacheRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AsyncCacheRequest.Builder>
Copyright © 2023. All Rights Reserved.