public static final class Protocol.WriteRequest extends com.google.protobuf.GeneratedMessage implements Protocol.WriteRequestOrBuilder
alluxio.proto.dataserver.WriteRequest
The write request. next available id: 8
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.WriteRequest.Builder
Protobuf type
alluxio.proto.dataserver.WriteRequest |
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 |
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 |
static int |
TIER_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
getCancel()
optional bool cancel = 6; |
Protocol.CreateUfsFileOptions |
getCreateUfsFileOptions()
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7; |
Protocol.CreateUfsFileOptionsOrBuilder |
getCreateUfsFileOptionsOrBuilder()
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7; |
static Protocol.WriteRequest |
getDefaultInstance() |
Protocol.WriteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEof()
optional bool eof = 5; |
long |
getId()
optional int64 id = 2; |
long |
getOffset()
optional int64 offset = 3; |
com.google.protobuf.Parser<Protocol.WriteRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
getTier()
optional int32 tier = 4; |
Protocol.RequestType |
getType()
optional .alluxio.proto.dataserver.RequestType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCancel()
optional bool cancel = 6; |
boolean |
hasCreateUfsFileOptions()
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7; |
boolean |
hasEof()
optional bool eof = 5; |
boolean |
hasId()
optional int64 id = 2; |
boolean |
hasOffset()
optional int64 offset = 3; |
boolean |
hasTier()
optional int32 tier = 4; |
boolean |
hasType()
optional .alluxio.proto.dataserver.RequestType type = 1; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) |
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(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) |
Protocol.WriteRequest.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.WriteRequest> PARSER
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
public static Protocol.WriteRequest getDefaultInstance()
public Protocol.WriteRequest 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.WriteRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
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()
optional int64 id = 2;
The block ID or UFS file ID.
hasId
in interface Protocol.WriteRequestOrBuilder
public long getId()
optional int64 id = 2;
The block ID or UFS file ID.
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()
optional int32 tier = 4;
This is only applicable for block write.
hasTier
in interface Protocol.WriteRequestOrBuilder
public int getTier()
optional int32 tier = 4;
This is only applicable for block write.
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()
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
This is only applicable for ufs writes.
hasCreateUfsFileOptions
in interface Protocol.WriteRequestOrBuilder
public Protocol.CreateUfsFileOptions getCreateUfsFileOptions()
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
This is only applicable for ufs writes.
getCreateUfsFileOptions
in interface Protocol.WriteRequestOrBuilder
public Protocol.CreateUfsFileOptionsOrBuilder getCreateUfsFileOptionsOrBuilder()
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
This is only applicable for ufs writes.
getCreateUfsFileOptionsOrBuilder
in interface Protocol.WriteRequestOrBuilder
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.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 static Protocol.WriteRequest.Builder newBuilder()
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(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.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2023. All Rights Reserved.