public static final class Protocol.AsyncCacheRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.AsyncCacheRequest.Builder> implements Protocol.AsyncCacheRequestOrBuilder
Options for caching a block asynchronously next available id: 6Protobuf type
alluxio.proto.dataserver.AsyncCacheRequest
Modifier and Type | Method and Description |
---|---|
Protocol.AsyncCacheRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.AsyncCacheRequest |
build() |
Protocol.AsyncCacheRequest |
buildPartial() |
Protocol.AsyncCacheRequest.Builder |
clear() |
Protocol.AsyncCacheRequest.Builder |
clearBlockId()
optional int64 block_id = 1; |
Protocol.AsyncCacheRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.AsyncCacheRequest.Builder |
clearLength()
optional int64 length = 5; |
Protocol.AsyncCacheRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.AsyncCacheRequest.Builder |
clearOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.AsyncCacheRequest.Builder |
clearSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
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()
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() |
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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.AsyncCacheRequest.Builder |
setBlockId(long value)
optional int64 block_id = 1; |
Protocol.AsyncCacheRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.AsyncCacheRequest.Builder |
setSourceHost(String value)
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
Protocol.AsyncCacheRequest.Builder |
setSourceHostBytes(com.google.protobuf.ByteString value)
TODO(calvin): source host and port should be replace with WorkerNetAddress
|
Protocol.AsyncCacheRequest.Builder |
setSourcePort(int value)
optional int32 source_port = 3; |
Protocol.AsyncCacheRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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 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<Protocol.AsyncCacheRequest.Builder>
public Protocol.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<Protocol.AsyncCacheRequest.Builder>
public Protocol.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<Protocol.AsyncCacheRequest.Builder>
public Protocol.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<Protocol.AsyncCacheRequest.Builder>
public Protocol.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<Protocol.AsyncCacheRequest.Builder>
public Protocol.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<Protocol.AsyncCacheRequest.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.GeneratedMessageV3.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;
value
- The blockId to set.public Protocol.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 Protocol.AsyncCacheRequestOrBuilder
public String getSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
getSourceHost
in interface Protocol.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 Protocol.AsyncCacheRequestOrBuilder
public Protocol.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 Protocol.AsyncCacheRequest.Builder clearSourceHost()
TODO(calvin): source host and port should be replace with WorkerNetAddress
optional string source_host = 2;
public Protocol.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 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;
value
- The sourcePort to set.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;
value
- The length to set.public Protocol.AsyncCacheRequest.Builder clearLength()
optional int64 length = 5;
public final Protocol.AsyncCacheRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.AsyncCacheRequest.Builder>
public final Protocol.AsyncCacheRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.AsyncCacheRequest.Builder>
Copyright © 2023. All Rights Reserved.