public static final class Protocol.AsyncCacheRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.AsyncCacheRequest.Builder> implements Protocol.AsyncCacheRequestOrBuilder
alluxio.proto.dataserver.AsyncCacheRequest
Options for caching a block asynchronously next available id: 6
Modifier and Type | Method and Description |
---|---|
Protocol.AsyncCacheRequest |
build() |
Protocol.AsyncCacheRequest |
buildPartial() |
Protocol.AsyncCacheRequest.Builder |
clear() |
Protocol.AsyncCacheRequest.Builder |
clearBlockId()
optional int64 block_id = 1; |
Protocol.AsyncCacheRequest.Builder |
clearLength()
optional int64 length = 5; |
Protocol.AsyncCacheRequest.Builder |
clearOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.AsyncCacheRequest.Builder |
clearSourceHost()
optional string source_host = 2; |
Protocol.AsyncCacheRequest.Builder |
clearSourcePort()
optional int32 source_port = 3; |
Protocol.AsyncCacheRequest.Builder |
clone() |
long |
getBlockId()
optional int64 block_id = 1; |
Protocol.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()
optional string source_host = 2; |
com.google.protobuf.ByteString |
getSourceHostBytes()
optional string source_host = 2; |
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()
optional string source_host = 2; |
boolean |
hasSourcePort()
optional int32 source_port = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protocol.AsyncCacheRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.AsyncCacheRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.AsyncCacheRequest.Builder |
mergeFrom(Protocol.AsyncCacheRequest other) |
Protocol.AsyncCacheRequest.Builder |
mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.AsyncCacheRequest.Builder |
setBlockId(long value)
optional int64 block_id = 1; |
Protocol.AsyncCacheRequest.Builder |
setLength(long value)
optional int64 length = 5; |
Protocol.AsyncCacheRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.AsyncCacheRequest.Builder |
setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.AsyncCacheRequest.Builder |
setSourceHost(String value)
optional string source_host = 2; |
Protocol.AsyncCacheRequest.Builder |
setSourceHostBytes(com.google.protobuf.ByteString value)
optional string source_host = 2; |
Protocol.AsyncCacheRequest.Builder |
setSourcePort(int value)
optional int32 source_port = 3; |
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.AsyncCacheRequest.Builder>
public Protocol.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.GeneratedMessage.Builder<Protocol.AsyncCacheRequest.Builder>
public Protocol.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.GeneratedMessage.Builder<Protocol.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.GeneratedMessage.Builder<Protocol.AsyncCacheRequest.Builder>
public Protocol.AsyncCacheRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.AsyncCacheRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.AsyncCacheRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.AsyncCacheRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.AsyncCacheRequest.Builder>
public Protocol.AsyncCacheRequest.Builder mergeFrom(Protocol.AsyncCacheRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protocol.AsyncCacheRequest.Builder>
public Protocol.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<Protocol.AsyncCacheRequest.Builder>
IOException
public boolean hasBlockId()
optional int64 block_id = 1;
hasBlockId
in interface Protocol.AsyncCacheRequestOrBuilder
public long getBlockId()
optional int64 block_id = 1;
getBlockId
in interface Protocol.AsyncCacheRequestOrBuilder
public Protocol.AsyncCacheRequest.Builder setBlockId(long value)
optional int64 block_id = 1;
public Protocol.AsyncCacheRequest.Builder clearBlockId()
optional int64 block_id = 1;
public boolean hasSourceHost()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
hasSourceHost
in interface Protocol.AsyncCacheRequestOrBuilder
public String getSourceHost()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
getSourceHost
in interface Protocol.AsyncCacheRequestOrBuilder
public com.google.protobuf.ByteString getSourceHostBytes()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
getSourceHostBytes
in interface Protocol.AsyncCacheRequestOrBuilder
public Protocol.AsyncCacheRequest.Builder setSourceHost(String value)
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
public Protocol.AsyncCacheRequest.Builder clearSourceHost()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
public Protocol.AsyncCacheRequest.Builder setSourceHostBytes(com.google.protobuf.ByteString value)
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
public boolean hasSourcePort()
optional int32 source_port = 3;
hasSourcePort
in interface Protocol.AsyncCacheRequestOrBuilder
public int getSourcePort()
optional int32 source_port = 3;
getSourcePort
in interface Protocol.AsyncCacheRequestOrBuilder
public Protocol.AsyncCacheRequest.Builder setSourcePort(int value)
optional int32 source_port = 3;
public Protocol.AsyncCacheRequest.Builder clearSourcePort()
optional int32 source_port = 3;
public boolean hasOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
hasOpenUfsBlockOptions
in interface Protocol.AsyncCacheRequestOrBuilder
public Protocol.OpenUfsBlockOptions getOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
getOpenUfsBlockOptions
in interface Protocol.AsyncCacheRequestOrBuilder
public Protocol.AsyncCacheRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public Protocol.AsyncCacheRequest.Builder setOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public Protocol.AsyncCacheRequest.Builder mergeOpenUfsBlockOptions(Protocol.OpenUfsBlockOptions value)
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4;
public Protocol.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 Protocol.AsyncCacheRequestOrBuilder
public boolean hasLength()
optional int64 length = 5;
hasLength
in interface Protocol.AsyncCacheRequestOrBuilder
public long getLength()
optional int64 length = 5;
getLength
in interface Protocol.AsyncCacheRequestOrBuilder
public Protocol.AsyncCacheRequest.Builder setLength(long value)
optional int64 length = 5;
public Protocol.AsyncCacheRequest.Builder clearLength()
optional int64 length = 5;
Copyright © 2023. All Rights Reserved.