public static final class Protocol.OpenUfsBlockOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protocol.OpenUfsBlockOptions.Builder> implements Protocol.OpenUfsBlockOptionsOrBuilder
alluxio.proto.dataserver.OpenUfsBlockOptions
Options to open a UFS block. next available id: 7
Modifier and Type | Method and Description |
---|---|
Protocol.OpenUfsBlockOptions |
build() |
Protocol.OpenUfsBlockOptions |
buildPartial() |
Protocol.OpenUfsBlockOptions.Builder |
clear() |
Protocol.OpenUfsBlockOptions.Builder |
clearBlockSize()
optional int64 block_size = 3; |
Protocol.OpenUfsBlockOptions.Builder |
clearMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4; |
Protocol.OpenUfsBlockOptions.Builder |
clearMountId()
optional int64 mountId = 5; |
Protocol.OpenUfsBlockOptions.Builder |
clearNoCache()
optional bool no_cache = 6; |
Protocol.OpenUfsBlockOptions.Builder |
clearOffsetInFile()
optional int64 offset_in_file = 2; |
Protocol.OpenUfsBlockOptions.Builder |
clearUfsPath()
optional string ufs_path = 1; |
Protocol.OpenUfsBlockOptions.Builder |
clearUser()
optional string user = 7; |
Protocol.OpenUfsBlockOptions.Builder |
clone() |
long |
getBlockSize()
optional int64 block_size = 3; |
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()
optional bool no_cache = 6; |
long |
getOffsetInFile()
optional int64 offset_in_file = 2; |
String |
getUfsPath()
optional string ufs_path = 1; |
com.google.protobuf.ByteString |
getUfsPathBytes()
optional string ufs_path = 1; |
String |
getUser()
optional string user = 7; |
com.google.protobuf.ByteString |
getUserBytes()
optional string user = 7; |
boolean |
hasBlockSize()
optional int64 block_size = 3; |
boolean |
hasMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4; |
boolean |
hasMountId()
optional int64 mountId = 5; |
boolean |
hasNoCache()
optional bool no_cache = 6; |
boolean |
hasOffsetInFile()
optional int64 offset_in_file = 2; |
boolean |
hasUfsPath()
optional string ufs_path = 1; |
boolean |
hasUser()
optional string user = 7; |
protected com.google.protobuf.GeneratedMessage.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 |
setBlockSize(long value)
optional int64 block_size = 3; |
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)
optional bool no_cache = 6; |
Protocol.OpenUfsBlockOptions.Builder |
setOffsetInFile(long value)
optional int64 offset_in_file = 2; |
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 |
setUser(String value)
optional string user = 7; |
Protocol.OpenUfsBlockOptions.Builder |
setUserBytes(com.google.protobuf.ByteString value)
optional string user = 7; |
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.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.GeneratedMessage.Builder<Protocol.OpenUfsBlockOptions.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.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()
optional int64 offset_in_file = 2;
The offset of the block in within the file.
hasOffsetInFile
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public long getOffsetInFile()
optional int64 offset_in_file = 2;
The offset of the block in within the file.
getOffsetInFile
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setOffsetInFile(long value)
optional int64 offset_in_file = 2;
The offset of the block in within the file.
public Protocol.OpenUfsBlockOptions.Builder clearOffsetInFile()
optional int64 offset_in_file = 2;
The offset of the block in within the file.
public boolean hasBlockSize()
optional int64 block_size = 3;
The block size.
hasBlockSize
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public long getBlockSize()
optional int64 block_size = 3;
The block size.
getBlockSize
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setBlockSize(long value)
optional int64 block_size = 3;
The block size.
public Protocol.OpenUfsBlockOptions.Builder clearBlockSize()
optional int64 block_size = 3;
The block size.
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()
optional bool no_cache = 6;
If set, do not try to cache the block locally when reading the data from the UFS.
hasNoCache
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public boolean getNoCache()
optional bool no_cache = 6;
If set, do not try to cache the block locally when reading the data from the UFS.
getNoCache
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setNoCache(boolean value)
optional bool no_cache = 6;
If set, do not try to cache the block locally when reading the data from the UFS.
public Protocol.OpenUfsBlockOptions.Builder clearNoCache()
optional bool no_cache = 6;
If set, do not try to cache the block locally when reading the data from the UFS.
public boolean hasUser()
optional string user = 7;
The client does not need to set this. This is set by the worker.
hasUser
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public String getUser()
optional string user = 7;
The client does not need to set this. This is set by the worker.
getUser
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public com.google.protobuf.ByteString getUserBytes()
optional string user = 7;
The client does not need to set this. This is set by the worker.
getUserBytes
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public Protocol.OpenUfsBlockOptions.Builder setUser(String value)
optional string user = 7;
The client does not need to set this. This is set by the worker.
public Protocol.OpenUfsBlockOptions.Builder clearUser()
optional string user = 7;
The client does not need to set this. This is set by the worker.
public Protocol.OpenUfsBlockOptions.Builder setUserBytes(com.google.protobuf.ByteString value)
optional string user = 7;
The client does not need to set this. This is set by the worker.
Copyright © 2023. All Rights Reserved.