public static final class Protocol.WriteRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder> implements Protocol.WriteRequestOrBuilder
The write request. next available id: 8Protobuf type
alluxio.proto.dataserver.WriteRequest
Modifier and Type | Method and Description |
---|---|
Protocol.WriteRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.WriteRequest |
build() |
Protocol.WriteRequest |
buildPartial() |
Protocol.WriteRequest.Builder |
clear() |
Protocol.WriteRequest.Builder |
clearCancel()
optional bool cancel = 6; |
Protocol.WriteRequest.Builder |
clearCreateUfsFileOptions()
This is only applicable for ufs writes.
|
Protocol.WriteRequest.Builder |
clearEof()
optional bool eof = 5; |
Protocol.WriteRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.WriteRequest.Builder |
clearId()
The block ID or UFS file ID.
|
Protocol.WriteRequest.Builder |
clearOffset()
optional int64 offset = 3; |
Protocol.WriteRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.WriteRequest.Builder |
clearTier()
This is only applicable for block write.
|
Protocol.WriteRequest.Builder |
clearType()
optional .alluxio.proto.dataserver.RequestType type = 1; |
Protocol.WriteRequest.Builder |
clone() |
boolean |
getCancel()
optional bool cancel = 6; |
Protocol.CreateUfsFileOptions |
getCreateUfsFileOptions()
This is only applicable for ufs writes.
|
Protocol.CreateUfsFileOptions.Builder |
getCreateUfsFileOptionsBuilder()
This is only applicable for ufs writes.
|
Protocol.CreateUfsFileOptionsOrBuilder |
getCreateUfsFileOptionsOrBuilder()
This is only applicable for ufs writes.
|
Protocol.WriteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEof()
optional bool eof = 5; |
long |
getId()
The block ID or UFS file ID.
|
long |
getOffset()
optional int64 offset = 3; |
int |
getTier()
This is only applicable for block write.
|
Protocol.RequestType |
getType()
optional .alluxio.proto.dataserver.RequestType type = 1; |
boolean |
hasCancel()
optional bool cancel = 6; |
boolean |
hasCreateUfsFileOptions()
This is only applicable for ufs writes.
|
boolean |
hasEof()
optional bool eof = 5; |
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() |
Protocol.WriteRequest.Builder |
mergeCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
This is only applicable for ufs writes.
|
Protocol.WriteRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.WriteRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.WriteRequest.Builder |
mergeFrom(Protocol.WriteRequest other) |
Protocol.WriteRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.WriteRequest.Builder |
setCancel(boolean value)
optional bool cancel = 6; |
Protocol.WriteRequest.Builder |
setCreateUfsFileOptions(Protocol.CreateUfsFileOptions.Builder builderForValue)
This is only applicable for ufs writes.
|
Protocol.WriteRequest.Builder |
setCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
This is only applicable for ufs writes.
|
Protocol.WriteRequest.Builder |
setEof(boolean value)
optional bool eof = 5; |
Protocol.WriteRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.WriteRequest.Builder |
setId(long value)
The block ID or UFS file ID.
|
Protocol.WriteRequest.Builder |
setOffset(long value)
optional int64 offset = 3; |
Protocol.WriteRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.WriteRequest.Builder |
setTier(int value)
This is only applicable for block write.
|
Protocol.WriteRequest.Builder |
setType(Protocol.RequestType value)
optional .alluxio.proto.dataserver.RequestType type = 1; |
Protocol.WriteRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.WriteRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.WriteRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.WriteRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder mergeFrom(Protocol.WriteRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public Protocol.WriteRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.WriteRequest.Builder>
IOException
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 Protocol.WriteRequest.Builder setType(Protocol.RequestType value)
optional .alluxio.proto.dataserver.RequestType type = 1;
value
- The type to set.public Protocol.WriteRequest.Builder clearType()
optional .alluxio.proto.dataserver.RequestType type = 1;
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 Protocol.WriteRequest.Builder setId(long value)
The block ID or UFS file ID.
optional int64 id = 2;
value
- The id to set.public Protocol.WriteRequest.Builder clearId()
The block ID or UFS file ID.
optional int64 id = 2;
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 Protocol.WriteRequest.Builder setOffset(long value)
optional int64 offset = 3;
value
- The offset to set.public Protocol.WriteRequest.Builder clearOffset()
optional int64 offset = 3;
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 Protocol.WriteRequest.Builder setTier(int value)
This is only applicable for block write.
optional int32 tier = 4;
value
- The tier to set.public Protocol.WriteRequest.Builder clearTier()
This is only applicable for block write.
optional int32 tier = 4;
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 Protocol.WriteRequest.Builder setEof(boolean value)
optional bool eof = 5;
value
- The eof to set.public Protocol.WriteRequest.Builder clearEof()
optional bool eof = 5;
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 Protocol.WriteRequest.Builder setCancel(boolean value)
optional bool cancel = 6;
value
- The cancel to set.public Protocol.WriteRequest.Builder clearCancel()
optional bool cancel = 6;
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.WriteRequest.Builder setCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
public Protocol.WriteRequest.Builder setCreateUfsFileOptions(Protocol.CreateUfsFileOptions.Builder builderForValue)
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
public Protocol.WriteRequest.Builder mergeCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
public Protocol.WriteRequest.Builder clearCreateUfsFileOptions()
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
public Protocol.CreateUfsFileOptions.Builder getCreateUfsFileOptionsBuilder()
This is only applicable for ufs writes.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 7;
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 Protocol.WriteRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
public final Protocol.WriteRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.WriteRequest.Builder>
Copyright © 2023. All Rights Reserved.