public static final class Protocol.AsyncCacheRequest extends com.google.protobuf.GeneratedMessage implements Protocol.AsyncCacheRequestOrBuilder
alluxio.proto.dataserver.AsyncCacheRequest
Options for caching a block asynchronously next available id: 6
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.AsyncCacheRequest.Builder
Protobuf type
alluxio.proto.dataserver.AsyncCacheRequest |
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_ID_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<Protocol.AsyncCacheRequest> |
PARSER |
static int |
SOURCE_HOST_FIELD_NUMBER |
static int |
SOURCE_PORT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
long |
getBlockId()
optional int64 block_id = 1; |
static Protocol.AsyncCacheRequest |
getDefaultInstance() |
Protocol.AsyncCacheRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLength()
optional int64 length = 5; |
Protocol.OpenUfsBlockOptions |
getOpenUfsBlockOptions()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
Protocol.OpenUfsBlockOptionsOrBuilder |
getOpenUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.OpenUfsBlockOptions open_ufs_block_options = 4; |
com.google.protobuf.Parser<Protocol.AsyncCacheRequest> |
getParserForType() |
int |
getSerializedSize() |
String |
getSourceHost()
optional string source_host = 2; |
com.google.protobuf.ByteString |
getSourceHostBytes()
optional string source_host = 2; |
int |
getSourcePort()
optional int32 source_port = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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()
optional string source_host = 2; |
boolean |
hasSourcePort()
optional int32 source_port = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protocol.AsyncCacheRequest.Builder |
newBuilder() |
static Protocol.AsyncCacheRequest.Builder |
newBuilder(Protocol.AsyncCacheRequest prototype) |
Protocol.AsyncCacheRequest.Builder |
newBuilderForType() |
protected Protocol.AsyncCacheRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Protocol.AsyncCacheRequest |
parseDelimitedFrom(InputStream input) |
static Protocol.AsyncCacheRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.AsyncCacheRequest |
parseFrom(byte[] data) |
static Protocol.AsyncCacheRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.AsyncCacheRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Protocol.AsyncCacheRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.AsyncCacheRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protocol.AsyncCacheRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.AsyncCacheRequest |
parseFrom(InputStream input) |
static Protocol.AsyncCacheRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.AsyncCacheRequest.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.AsyncCacheRequest> PARSER
public static final int BLOCK_ID_FIELD_NUMBER
public static final int SOURCE_HOST_FIELD_NUMBER
public static final int SOURCE_PORT_FIELD_NUMBER
public static final int OPEN_UFS_BLOCK_OPTIONS_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static Protocol.AsyncCacheRequest getDefaultInstance()
public Protocol.AsyncCacheRequest 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.AsyncCacheRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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 boolean hasSourceHost()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
hasSourceHost
in interface Protocol.AsyncCacheRequestOrBuilder
public String getSourceHost()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
getSourceHost
in interface Protocol.AsyncCacheRequestOrBuilder
public com.google.protobuf.ByteString getSourceHostBytes()
optional string source_host = 2;
TODO(calvin): source host and port should be replace with WorkerNetAddress
getSourceHostBytes
in interface Protocol.AsyncCacheRequestOrBuilder
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 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.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 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.AsyncCacheRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.AsyncCacheRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.AsyncCacheRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.AsyncCacheRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.AsyncCacheRequest parseFrom(InputStream input) throws IOException
IOException
public static Protocol.AsyncCacheRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.AsyncCacheRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protocol.AsyncCacheRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.AsyncCacheRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protocol.AsyncCacheRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.AsyncCacheRequest.Builder newBuilder()
public Protocol.AsyncCacheRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protocol.AsyncCacheRequest.Builder newBuilder(Protocol.AsyncCacheRequest prototype)
public Protocol.AsyncCacheRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protocol.AsyncCacheRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2023. All Rights Reserved.