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