public static final class Protocol.OpenUfsBlockOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.OpenUfsBlockOptions.Builder> implements Protocol.OpenUfsBlockOptionsOrBuilder
Options to open a UFS block. next available id: 7Protobuf type
alluxio.proto.dataserver.OpenUfsBlockOptions
Modifier and Type | Method and Description |
---|---|
Protocol.OpenUfsBlockOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.OpenUfsBlockOptions |
build() |
Protocol.OpenUfsBlockOptions |
buildPartial() |
Protocol.OpenUfsBlockOptions.Builder |
clear() |
Protocol.OpenUfsBlockOptions.Builder |
clearBlockInUfsTier()
If set to true, the block is possibly stored as a UFS block.
|
Protocol.OpenUfsBlockOptions.Builder |
clearBlockSize()
The block size.
|
Protocol.OpenUfsBlockOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.OpenUfsBlockOptions.Builder |
clearMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4; |
Protocol.OpenUfsBlockOptions.Builder |
clearMountId()
optional int64 mountId = 5; |
Protocol.OpenUfsBlockOptions.Builder |
clearNoCache()
If set, do not try to cache the block locally when reading the data from the UFS.
|
Protocol.OpenUfsBlockOptions.Builder |
clearOffsetInFile()
The offset of the block in within the file.
|
Protocol.OpenUfsBlockOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.OpenUfsBlockOptions.Builder |
clearUfsPath()
optional string ufs_path = 1; |
Protocol.OpenUfsBlockOptions.Builder |
clearUser()
The client does not need to set this.
|
Protocol.OpenUfsBlockOptions.Builder |
clone() |
boolean |
getBlockInUfsTier()
If set to true, the block is possibly stored as a UFS block.
|
long |
getBlockSize()
The block size.
|
Protocol.OpenUfsBlockOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4; |
long |
getMountId()
optional int64 mountId = 5; |
boolean |
getNoCache()
If set, do not try to cache the block locally when reading the data from the UFS.
|
long |
getOffsetInFile()
The offset of the block in within the file.
|
String |
getUfsPath()
optional string ufs_path = 1; |
com.google.protobuf.ByteString |
getUfsPathBytes()
optional string ufs_path = 1; |
String |
getUser()
The client does not need to set this.
|
com.google.protobuf.ByteString |
getUserBytes()
The client does not need to set this.
|
boolean |
hasBlockInUfsTier()
If set to true, the block is possibly stored as a UFS block.
|
boolean |
hasBlockSize()
The block size.
|
boolean |
hasMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4; |
boolean |
hasMountId()
optional int64 mountId = 5; |
boolean |
hasNoCache()
If set, do not try to cache the block locally when reading the data from the UFS.
|
boolean |
hasOffsetInFile()
The offset of the block in within the file.
|
boolean |
hasUfsPath()
optional string ufs_path = 1; |
boolean |
hasUser()
The client does not need to set this.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protocol.OpenUfsBlockOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.OpenUfsBlockOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.OpenUfsBlockOptions.Builder |
mergeFrom(Protocol.OpenUfsBlockOptions other) |
Protocol.OpenUfsBlockOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.OpenUfsBlockOptions.Builder |
setBlockInUfsTier(boolean value)
If set to true, the block is possibly stored as a UFS block.
|
Protocol.OpenUfsBlockOptions.Builder |
setBlockSize(long value)
The block size.
|
Protocol.OpenUfsBlockOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.OpenUfsBlockOptions.Builder |
setMaxUfsReadConcurrency(int value)
optional int32 maxUfsReadConcurrency = 4; |
Protocol.OpenUfsBlockOptions.Builder |
setMountId(long value)
optional int64 mountId = 5; |
Protocol.OpenUfsBlockOptions.Builder |
setNoCache(boolean value)
If set, do not try to cache the block locally when reading the data from the UFS.
|
Protocol.OpenUfsBlockOptions.Builder |
setOffsetInFile(long value)
The offset of the block in within the file.
|
Protocol.OpenUfsBlockOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.OpenUfsBlockOptions.Builder |
setUfsPath(String value)
optional string ufs_path = 1; |
Protocol.OpenUfsBlockOptions.Builder |
setUfsPathBytes(com.google.protobuf.ByteString value)
optional string ufs_path = 1; |
Protocol.OpenUfsBlockOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.OpenUfsBlockOptions.Builder |
setUser(String value)
The client does not need to set this.
|
Protocol.OpenUfsBlockOptions.Builder |
setUserBytes(com.google.protobuf.ByteString value)
The client does not need to set this.
|
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<Protocol.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.OpenUfsBlockOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.OpenUfsBlockOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.Builder mergeFrom(Protocol.OpenUfsBlockOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.OpenUfsBlockOptions.Builder>
public Protocol.OpenUfsBlockOptions.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.OpenUfsBlockOptions.Builder>
IOException
public boolean hasUfsPath()
optional string ufs_path = 1;
hasUfsPath
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public String getUfsPath()
optional string ufs_path = 1;
getUfsPath
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public com.google.protobuf.ByteString getUfsPathBytes()
optional string ufs_path = 1;
getUfsPathBytes
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setUfsPath(String value)
optional string ufs_path = 1;
public Protocol.OpenUfsBlockOptions.Builder clearUfsPath()
optional string ufs_path = 1;
public Protocol.OpenUfsBlockOptions.Builder setUfsPathBytes(com.google.protobuf.ByteString value)
optional string ufs_path = 1;
public boolean hasOffsetInFile()
The offset of the block in within the file.
optional int64 offset_in_file = 2;
hasOffsetInFile
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public long getOffsetInFile()
The offset of the block in within the file.
optional int64 offset_in_file = 2;
getOffsetInFile
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setOffsetInFile(long value)
The offset of the block in within the file.
optional int64 offset_in_file = 2;
public Protocol.OpenUfsBlockOptions.Builder clearOffsetInFile()
The offset of the block in within the file.
optional int64 offset_in_file = 2;
public boolean hasBlockSize()
The block size.
optional int64 block_size = 3;
hasBlockSize
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public long getBlockSize()
The block size.
optional int64 block_size = 3;
getBlockSize
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setBlockSize(long value)
The block size.
optional int64 block_size = 3;
public Protocol.OpenUfsBlockOptions.Builder clearBlockSize()
The block size.
optional int64 block_size = 3;
public boolean hasMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4;
hasMaxUfsReadConcurrency
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public int getMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4;
getMaxUfsReadConcurrency
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setMaxUfsReadConcurrency(int value)
optional int32 maxUfsReadConcurrency = 4;
public Protocol.OpenUfsBlockOptions.Builder clearMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4;
public boolean hasMountId()
optional int64 mountId = 5;
hasMountId
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public long getMountId()
optional int64 mountId = 5;
getMountId
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setMountId(long value)
optional int64 mountId = 5;
public Protocol.OpenUfsBlockOptions.Builder clearMountId()
optional int64 mountId = 5;
public boolean hasNoCache()
If set, do not try to cache the block locally when reading the data from the UFS.
optional bool no_cache = 6;
hasNoCache
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public boolean getNoCache()
If set, do not try to cache the block locally when reading the data from the UFS.
optional bool no_cache = 6;
getNoCache
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setNoCache(boolean value)
If set, do not try to cache the block locally when reading the data from the UFS.
optional bool no_cache = 6;
public Protocol.OpenUfsBlockOptions.Builder clearNoCache()
If set, do not try to cache the block locally when reading the data from the UFS.
optional bool no_cache = 6;
public boolean hasUser()
The client does not need to set this. This is set by the worker.
optional string user = 7;
hasUser
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public String getUser()
The client does not need to set this. This is set by the worker.
optional string user = 7;
getUser
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public com.google.protobuf.ByteString getUserBytes()
The client does not need to set this. This is set by the worker.
optional string user = 7;
getUserBytes
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setUser(String value)
The client does not need to set this. This is set by the worker.
optional string user = 7;
public Protocol.OpenUfsBlockOptions.Builder clearUser()
The client does not need to set this. This is set by the worker.
optional string user = 7;
public Protocol.OpenUfsBlockOptions.Builder setUserBytes(com.google.protobuf.ByteString value)
The client does not need to set this. This is set by the worker.
optional string user = 7;
public boolean hasBlockInUfsTier()
If set to true, the block is possibly stored as a UFS block.
optional bool block_in_ufs_tier = 8;
hasBlockInUfsTier
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public boolean getBlockInUfsTier()
If set to true, the block is possibly stored as a UFS block.
optional bool block_in_ufs_tier = 8;
getBlockInUfsTier
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setBlockInUfsTier(boolean value)
If set to true, the block is possibly stored as a UFS block.
optional bool block_in_ufs_tier = 8;
public Protocol.OpenUfsBlockOptions.Builder clearBlockInUfsTier()
If set to true, the block is possibly stored as a UFS block.
optional bool block_in_ufs_tier = 8;
public final Protocol.OpenUfsBlockOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.OpenUfsBlockOptions.Builder>
public final Protocol.OpenUfsBlockOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.OpenUfsBlockOptions.Builder>
Copyright © 2023. All Rights Reserved.