public static final class Protocol.OpenUfsBlockOptions extends com.google.protobuf.GeneratedMessage implements Protocol.OpenUfsBlockOptionsOrBuilder
alluxio.proto.dataserver.OpenUfsBlockOptions
Options to open a UFS block. next available id: 7
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.OpenUfsBlockOptions.Builder
Protobuf type
alluxio.proto.dataserver.OpenUfsBlockOptions |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_SIZE_FIELD_NUMBER |
static int |
MAXUFSREADCONCURRENCY_FIELD_NUMBER |
static int |
MOUNTID_FIELD_NUMBER |
static int |
NO_CACHE_FIELD_NUMBER |
static int |
OFFSET_IN_FILE_FIELD_NUMBER |
static com.google.protobuf.Parser<Protocol.OpenUfsBlockOptions> |
PARSER |
static int |
UFS_PATH_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
long |
getBlockSize()
optional int64 block_size = 3; |
static Protocol.OpenUfsBlockOptions |
getDefaultInstance() |
Protocol.OpenUfsBlockOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<Protocol.OpenUfsBlockOptions> |
getParserForType() |
int |
getSerializedSize() |
String |
getUfsPath()
optional string ufs_path = 1; |
com.google.protobuf.ByteString |
getUfsPathBytes()
optional string ufs_path = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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() |
static Protocol.OpenUfsBlockOptions.Builder |
newBuilder() |
static Protocol.OpenUfsBlockOptions.Builder |
newBuilder(Protocol.OpenUfsBlockOptions prototype) |
Protocol.OpenUfsBlockOptions.Builder |
newBuilderForType() |
protected Protocol.OpenUfsBlockOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Protocol.OpenUfsBlockOptions |
parseDelimitedFrom(InputStream input) |
static Protocol.OpenUfsBlockOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.OpenUfsBlockOptions |
parseFrom(byte[] data) |
static Protocol.OpenUfsBlockOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.OpenUfsBlockOptions |
parseFrom(com.google.protobuf.ByteString data) |
static Protocol.OpenUfsBlockOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.OpenUfsBlockOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protocol.OpenUfsBlockOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.OpenUfsBlockOptions |
parseFrom(InputStream input) |
static Protocol.OpenUfsBlockOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.OpenUfsBlockOptions.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Protocol.OpenUfsBlockOptions> PARSER
public static final int UFS_PATH_FIELD_NUMBER
public static final int OFFSET_IN_FILE_FIELD_NUMBER
public static final int BLOCK_SIZE_FIELD_NUMBER
public static final int MAXUFSREADCONCURRENCY_FIELD_NUMBER
public static final int MOUNTID_FIELD_NUMBER
public static final int NO_CACHE_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static Protocol.OpenUfsBlockOptions getDefaultInstance()
public Protocol.OpenUfsBlockOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Protocol.OpenUfsBlockOptions> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 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 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 boolean hasMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4;
hasMaxUfsReadConcurrency
in interface Protocol.OpenUfsBlockOptionsOrBuilder
public int getMaxUfsReadConcurrency()
optional int32 maxUfsReadConcurrency = 4;
getMaxUfsReadConcurrency
in interface Protocol.OpenUfsBlockOptionsOrBuilder
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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Protocol.OpenUfsBlockOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.OpenUfsBlockOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.OpenUfsBlockOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.OpenUfsBlockOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.OpenUfsBlockOptions parseFrom(InputStream input) throws IOException
IOException
public static Protocol.OpenUfsBlockOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.OpenUfsBlockOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protocol.OpenUfsBlockOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.OpenUfsBlockOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protocol.OpenUfsBlockOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.OpenUfsBlockOptions.Builder newBuilder()
public Protocol.OpenUfsBlockOptions.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protocol.OpenUfsBlockOptions.Builder newBuilder(Protocol.OpenUfsBlockOptions prototype)
public Protocol.OpenUfsBlockOptions.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protocol.OpenUfsBlockOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2023. All Rights Reserved.