public static final class Protocol.WriteRequest extends com.google.protobuf.GeneratedMessageV3 implements Protocol.WriteRequestOrBuilder
The write request. next available id: 8Protobuf type
alluxio.proto.dataserver.WriteRequest
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.WriteRequest.Builder
The write request.
|
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 |
CANCEL_FIELD_NUMBER |
static int |
CREATE_UFS_FILE_OPTIONS_FIELD_NUMBER |
static int |
EOF_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<Protocol.WriteRequest> |
PARSER
Deprecated.
|
static int |
TIER_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
getCancel()
optional bool cancel = 6; |
Protocol.CreateUfsFileOptions |
getCreateUfsFileOptions()
This is only applicable for ufs writes.
|
Protocol.CreateUfsFileOptionsOrBuilder |
getCreateUfsFileOptionsOrBuilder()
This is only applicable for ufs writes.
|
static Protocol.WriteRequest |
getDefaultInstance() |
Protocol.WriteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEof()
optional bool eof = 5; |
long |
getId()
The block ID or UFS file ID.
|
long |
getOffset()
optional int64 offset = 3; |
com.google.protobuf.Parser<Protocol.WriteRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
getTier()
This is only applicable for block write.
|
Protocol.RequestType |
getType()
optional .alluxio.proto.dataserver.RequestType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCancel()
optional bool cancel = 6; |
boolean |
hasCreateUfsFileOptions()
This is only applicable for ufs writes.
|
boolean |
hasEof()
optional bool eof = 5; |
int |
hashCode() |
boolean |
hasId()
The block ID or UFS file ID.
|
boolean |
hasOffset()
optional int64 offset = 3; |
boolean |
hasTier()
This is only applicable for block write.
|
boolean |
hasType()
optional .alluxio.proto.dataserver.RequestType type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protocol.WriteRequest.Builder |
newBuilder() |
static Protocol.WriteRequest.Builder |
newBuilder(Protocol.WriteRequest prototype) |
Protocol.WriteRequest.Builder |
newBuilderForType() |
protected Protocol.WriteRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Protocol.WriteRequest |
parseDelimitedFrom(InputStream input) |
static Protocol.WriteRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.WriteRequest |
parseFrom(byte[] data) |
static Protocol.WriteRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.WriteRequest |
parseFrom(ByteBuffer data) |
static Protocol.WriteRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.WriteRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Protocol.WriteRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.WriteRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protocol.WriteRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.WriteRequest |
parseFrom(InputStream input) |
static Protocol.WriteRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protocol.WriteRequest> |
parser() |
Protocol.WriteRequest.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 EOF_FIELD_NUMBER
public static final int CANCEL_FIELD_NUMBER
public static final int CREATE_UFS_FILE_OPTIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Protocol.WriteRequest> 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.proto.dataserver.RequestType type = 1;
hasType
in interface Protocol.WriteRequestOrBuilder
public Protocol.RequestType getType()
optional .alluxio.proto.dataserver.RequestType type = 1;
getType
in interface Protocol.WriteRequestOrBuilder
public boolean hasId()
The block ID or UFS file ID.
optional int64 id = 2;
hasId
in interface Protocol.WriteRequestOrBuilder
public long getId()
The block ID or UFS file ID.
optional int64 id = 2;
getId
in interface Protocol.WriteRequestOrBuilder
public boolean hasOffset()
optional int64 offset = 3;
hasOffset
in interface Protocol.WriteRequestOrBuilder
public long getOffset()
optional int64 offset = 3;
getOffset
in interface Protocol.WriteRequestOrBuilder
public boolean hasTier()
This is only applicable for block write.
optional int32 tier = 4;
hasTier
in interface Protocol.WriteRequestOrBuilder
public int getTier()
This is only applicable for block write.
optional int32 tier = 4;
getTier
in interface Protocol.WriteRequestOrBuilder
public boolean hasEof()
optional bool eof = 5;
hasEof
in interface Protocol.WriteRequestOrBuilder
public boolean getEof()
optional bool eof = 5;
getEof
in interface Protocol.WriteRequestOrBuilder
public boolean hasCancel()
optional bool cancel = 6;
hasCancel
in interface Protocol.WriteRequestOrBuilder
public boolean getCancel()
optional bool cancel = 6;
getCancel
in interface Protocol.WriteRequestOrBuilder
public boolean hasCreateUfsFileOptions()
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
hasCreateUfsFileOptions
in interface Protocol.WriteRequestOrBuilder
public Protocol.CreateUfsFileOptions getCreateUfsFileOptions()
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
getCreateUfsFileOptions
in interface Protocol.WriteRequestOrBuilder
public Protocol.CreateUfsFileOptionsOrBuilder getCreateUfsFileOptionsOrBuilder()
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
getCreateUfsFileOptionsOrBuilder
in interface Protocol.WriteRequestOrBuilder
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 Protocol.WriteRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.WriteRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.WriteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.WriteRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.WriteRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.WriteRequest parseFrom(InputStream input) throws IOException
IOException
public static Protocol.WriteRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.WriteRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protocol.WriteRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.WriteRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protocol.WriteRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Protocol.WriteRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protocol.WriteRequest.Builder newBuilder()
public static Protocol.WriteRequest.Builder newBuilder(Protocol.WriteRequest prototype)
public Protocol.WriteRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protocol.WriteRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Protocol.WriteRequest getDefaultInstance()
public static com.google.protobuf.Parser<Protocol.WriteRequest> parser()
public com.google.protobuf.Parser<Protocol.WriteRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Protocol.WriteRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.