public final class WriteRequestCommand extends com.google.protobuf.GeneratedMessageV3 implements WriteRequestCommandOrBuilder
The write request command. next available id: 11Protobuf type
alluxio.grpc.block.WriteRequestCommand
Modifier and Type | Class and Description |
---|---|
static class |
WriteRequestCommand.Builder
The write request command.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_UFS_FILE_OPTIONS_FIELD_NUMBER |
static int |
FLUSH_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
MEDIUM_TYPE_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<WriteRequestCommand> |
PARSER
Deprecated.
|
static int |
PIN_ON_CREATE_FIELD_NUMBER |
static int |
SPACE_TO_RESERVE_FIELD_NUMBER |
static int |
TIER_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Protocol.CreateUfsFileOptions |
getCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
|
Protocol.CreateUfsFileOptionsOrBuilder |
getCreateUfsFileOptionsOrBuilder()
Cancel, close and error will be handled by standard gRPC stream APIs.
|
static WriteRequestCommand |
getDefaultInstance() |
WriteRequestCommand |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFlush()
optional bool flush = 5; |
long |
getId()
The block ID or UFS file ID.
|
String |
getMediumType()
optional string medium_type = 8; |
com.google.protobuf.ByteString |
getMediumTypeBytes()
optional string medium_type = 8; |
long |
getOffset()
optional int64 offset = 3; |
com.google.protobuf.Parser<WriteRequestCommand> |
getParserForType() |
boolean |
getPinOnCreate()
optional bool pin_on_create = 9; |
int |
getSerializedSize() |
long |
getSpaceToReserve()
optional int64 space_to_reserve = 10; |
int |
getTier()
This is only applicable for block write.
|
RequestType |
getType()
optional .alluxio.grpc.block.RequestType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
|
boolean |
hasFlush()
optional bool flush = 5; |
int |
hashCode() |
boolean |
hasId()
The block ID or UFS file ID.
|
boolean |
hasMediumType()
optional string medium_type = 8; |
boolean |
hasOffset()
optional int64 offset = 3; |
boolean |
hasPinOnCreate()
optional bool pin_on_create = 9; |
boolean |
hasSpaceToReserve()
optional int64 space_to_reserve = 10; |
boolean |
hasTier()
This is only applicable for block write.
|
boolean |
hasType()
optional .alluxio.grpc.block.RequestType type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WriteRequestCommand.Builder |
newBuilder() |
static WriteRequestCommand.Builder |
newBuilder(WriteRequestCommand prototype) |
WriteRequestCommand.Builder |
newBuilderForType() |
protected WriteRequestCommand.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WriteRequestCommand |
parseDelimitedFrom(InputStream input) |
static WriteRequestCommand |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WriteRequestCommand |
parseFrom(byte[] data) |
static WriteRequestCommand |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WriteRequestCommand |
parseFrom(ByteBuffer data) |
static WriteRequestCommand |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WriteRequestCommand |
parseFrom(com.google.protobuf.ByteString data) |
static WriteRequestCommand |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WriteRequestCommand |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WriteRequestCommand |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WriteRequestCommand |
parseFrom(InputStream input) |
static WriteRequestCommand |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WriteRequestCommand> |
parser() |
WriteRequestCommand.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TYPE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
public static final int FLUSH_FIELD_NUMBER
public static final int CREATE_UFS_FILE_OPTIONS_FIELD_NUMBER
public static final int MEDIUM_TYPE_FIELD_NUMBER
public static final int PIN_ON_CREATE_FIELD_NUMBER
public static final int SPACE_TO_RESERVE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<WriteRequestCommand> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasType()
optional .alluxio.grpc.block.RequestType type = 1;
hasType
in interface WriteRequestCommandOrBuilder
public RequestType getType()
optional .alluxio.grpc.block.RequestType type = 1;
getType
in interface WriteRequestCommandOrBuilder
public boolean hasId()
The block ID or UFS file ID.
optional int64 id = 2;
hasId
in interface WriteRequestCommandOrBuilder
public long getId()
The block ID or UFS file ID.
optional int64 id = 2;
getId
in interface WriteRequestCommandOrBuilder
public boolean hasOffset()
optional int64 offset = 3;
hasOffset
in interface WriteRequestCommandOrBuilder
public long getOffset()
optional int64 offset = 3;
getOffset
in interface WriteRequestCommandOrBuilder
public boolean hasTier()
This is only applicable for block write.
optional int32 tier = 4;
hasTier
in interface WriteRequestCommandOrBuilder
public int getTier()
This is only applicable for block write.
optional int32 tier = 4;
getTier
in interface WriteRequestCommandOrBuilder
public boolean hasFlush()
optional bool flush = 5;
hasFlush
in interface WriteRequestCommandOrBuilder
public boolean getFlush()
optional bool flush = 5;
getFlush
in interface WriteRequestCommandOrBuilder
public boolean hasCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
hasCreateUfsFileOptions
in interface WriteRequestCommandOrBuilder
public Protocol.CreateUfsFileOptions getCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
getCreateUfsFileOptions
in interface WriteRequestCommandOrBuilder
public Protocol.CreateUfsFileOptionsOrBuilder getCreateUfsFileOptionsOrBuilder()
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
getCreateUfsFileOptionsOrBuilder
in interface WriteRequestCommandOrBuilder
public boolean hasMediumType()
optional string medium_type = 8;
hasMediumType
in interface WriteRequestCommandOrBuilder
public String getMediumType()
optional string medium_type = 8;
getMediumType
in interface WriteRequestCommandOrBuilder
public com.google.protobuf.ByteString getMediumTypeBytes()
optional string medium_type = 8;
getMediumTypeBytes
in interface WriteRequestCommandOrBuilder
public boolean hasPinOnCreate()
optional bool pin_on_create = 9;
hasPinOnCreate
in interface WriteRequestCommandOrBuilder
public boolean getPinOnCreate()
optional bool pin_on_create = 9;
getPinOnCreate
in interface WriteRequestCommandOrBuilder
public boolean hasSpaceToReserve()
optional int64 space_to_reserve = 10;
hasSpaceToReserve
in interface WriteRequestCommandOrBuilder
public long getSpaceToReserve()
optional int64 space_to_reserve = 10;
getSpaceToReserve
in interface WriteRequestCommandOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static WriteRequestCommand parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WriteRequestCommand parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WriteRequestCommand parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WriteRequestCommand parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WriteRequestCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WriteRequestCommand parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static WriteRequestCommand parseFrom(InputStream input) throws IOException
IOException
public static WriteRequestCommand parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WriteRequestCommand parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WriteRequestCommand parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WriteRequestCommand parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static WriteRequestCommand parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public WriteRequestCommand.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static WriteRequestCommand.Builder newBuilder()
public static WriteRequestCommand.Builder newBuilder(WriteRequestCommand prototype)
public WriteRequestCommand.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected WriteRequestCommand.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static WriteRequestCommand getDefaultInstance()
public static com.google.protobuf.Parser<WriteRequestCommand> parser()
public com.google.protobuf.Parser<WriteRequestCommand> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public WriteRequestCommand getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.