public static final class WriteRequestCommand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteRequestCommand.Builder> implements WriteRequestCommandOrBuilder
The write request command. next available id: 10Protobuf type
alluxio.grpc.block.WriteRequestCommand
Modifier and Type | Method and Description |
---|---|
WriteRequestCommand.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteRequestCommand |
build() |
WriteRequestCommand |
buildPartial() |
WriteRequestCommand.Builder |
clear() |
WriteRequestCommand.Builder |
clearCreateUfsBlockOptions()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
WriteRequestCommand.Builder |
clearCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
|
WriteRequestCommand.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WriteRequestCommand.Builder |
clearFlush()
optional bool flush = 5; |
WriteRequestCommand.Builder |
clearId()
The block ID or UFS file ID.
|
WriteRequestCommand.Builder |
clearMediumType()
optional string medium_type = 8; |
WriteRequestCommand.Builder |
clearOffset()
optional int64 offset = 3; |
WriteRequestCommand.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WriteRequestCommand.Builder |
clearPinOnCreate()
optional bool pin_on_create = 9; |
WriteRequestCommand.Builder |
clearTier()
This is only applicable for block write.
|
WriteRequestCommand.Builder |
clearType()
optional .alluxio.grpc.block.RequestType type = 1; |
WriteRequestCommand.Builder |
clone() |
Protocol.CreateUfsBlockOptions |
getCreateUfsBlockOptions()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
Protocol.CreateUfsBlockOptions.Builder |
getCreateUfsBlockOptionsBuilder()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
Protocol.CreateUfsBlockOptionsOrBuilder |
getCreateUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
Protocol.CreateUfsFileOptions |
getCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
|
Protocol.CreateUfsFileOptions.Builder |
getCreateUfsFileOptionsBuilder()
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.
|
WriteRequestCommand |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
boolean |
getPinOnCreate()
optional bool pin_on_create = 9; |
int |
getTier()
This is only applicable for block write.
|
RequestType |
getType()
optional .alluxio.grpc.block.RequestType type = 1; |
boolean |
hasCreateUfsBlockOptions()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
boolean |
hasCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
|
boolean |
hasFlush()
optional bool flush = 5; |
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 |
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() |
WriteRequestCommand.Builder |
mergeCreateUfsBlockOptions(Protocol.CreateUfsBlockOptions value)
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
WriteRequestCommand.Builder |
mergeCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
Cancel, close and error will be handled by standard gRPC stream APIs.
|
WriteRequestCommand.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WriteRequestCommand.Builder |
mergeFrom(com.google.protobuf.Message other) |
WriteRequestCommand.Builder |
mergeFrom(WriteRequestCommand other) |
WriteRequestCommand.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteRequestCommand.Builder |
setCreateUfsBlockOptions(Protocol.CreateUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
WriteRequestCommand.Builder |
setCreateUfsBlockOptions(Protocol.CreateUfsBlockOptions value)
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7; |
WriteRequestCommand.Builder |
setCreateUfsFileOptions(Protocol.CreateUfsFileOptions.Builder builderForValue)
Cancel, close and error will be handled by standard gRPC stream APIs.
|
WriteRequestCommand.Builder |
setCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
Cancel, close and error will be handled by standard gRPC stream APIs.
|
WriteRequestCommand.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteRequestCommand.Builder |
setFlush(boolean value)
optional bool flush = 5; |
WriteRequestCommand.Builder |
setId(long value)
The block ID or UFS file ID.
|
WriteRequestCommand.Builder |
setMediumType(String value)
optional string medium_type = 8; |
WriteRequestCommand.Builder |
setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string medium_type = 8; |
WriteRequestCommand.Builder |
setOffset(long value)
optional int64 offset = 3; |
WriteRequestCommand.Builder |
setPinOnCreate(boolean value)
optional bool pin_on_create = 9; |
WriteRequestCommand.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WriteRequestCommand.Builder |
setTier(int value)
This is only applicable for block write.
|
WriteRequestCommand.Builder |
setType(RequestType value)
optional .alluxio.grpc.block.RequestType type = 1; |
WriteRequestCommand.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<WriteRequestCommand.Builder>
public WriteRequestCommand.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<WriteRequestCommand.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<WriteRequestCommand.Builder>
public WriteRequestCommand getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WriteRequestCommand build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WriteRequestCommand buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WriteRequestCommand.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<WriteRequestCommand.Builder>
public WriteRequestCommand.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<WriteRequestCommand.Builder>
public WriteRequestCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequestCommand.Builder>
public WriteRequestCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequestCommand.Builder>
public WriteRequestCommand.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<WriteRequestCommand.Builder>
public WriteRequestCommand.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<WriteRequestCommand.Builder>
public WriteRequestCommand.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteRequestCommand.Builder>
public WriteRequestCommand.Builder mergeFrom(WriteRequestCommand other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequestCommand.Builder>
public WriteRequestCommand.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<WriteRequestCommand.Builder>
IOException
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 WriteRequestCommand.Builder setType(RequestType value)
optional .alluxio.grpc.block.RequestType type = 1;
value
- The type to set.public WriteRequestCommand.Builder clearType()
optional .alluxio.grpc.block.RequestType type = 1;
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 WriteRequestCommand.Builder setId(long value)
The block ID or UFS file ID.
optional int64 id = 2;
value
- The id to set.public WriteRequestCommand.Builder clearId()
The block ID or UFS file ID.
optional int64 id = 2;
public boolean hasOffset()
optional int64 offset = 3;
hasOffset
in interface WriteRequestCommandOrBuilder
public long getOffset()
optional int64 offset = 3;
getOffset
in interface WriteRequestCommandOrBuilder
public WriteRequestCommand.Builder setOffset(long value)
optional int64 offset = 3;
value
- The offset to set.public WriteRequestCommand.Builder clearOffset()
optional int64 offset = 3;
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 WriteRequestCommand.Builder setTier(int value)
This is only applicable for block write.
optional int32 tier = 4;
value
- The tier to set.public WriteRequestCommand.Builder clearTier()
This is only applicable for block write.
optional int32 tier = 4;
public boolean hasFlush()
optional bool flush = 5;
hasFlush
in interface WriteRequestCommandOrBuilder
public boolean getFlush()
optional bool flush = 5;
getFlush
in interface WriteRequestCommandOrBuilder
public WriteRequestCommand.Builder setFlush(boolean value)
optional bool flush = 5;
value
- The flush to set.public WriteRequestCommand.Builder clearFlush()
optional bool flush = 5;
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 WriteRequestCommand.Builder setCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
public WriteRequestCommand.Builder setCreateUfsFileOptions(Protocol.CreateUfsFileOptions.Builder builderForValue)
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
public WriteRequestCommand.Builder mergeCreateUfsFileOptions(Protocol.CreateUfsFileOptions value)
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
public WriteRequestCommand.Builder clearCreateUfsFileOptions()
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
public Protocol.CreateUfsFileOptions.Builder getCreateUfsFileOptionsBuilder()
Cancel, close and error will be handled by standard gRPC stream APIs.
optional .alluxio.proto.dataserver.CreateUfsFileOptions create_ufs_file_options = 6;
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 hasCreateUfsBlockOptions()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
hasCreateUfsBlockOptions
in interface WriteRequestCommandOrBuilder
public Protocol.CreateUfsBlockOptions getCreateUfsBlockOptions()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
getCreateUfsBlockOptions
in interface WriteRequestCommandOrBuilder
public WriteRequestCommand.Builder setCreateUfsBlockOptions(Protocol.CreateUfsBlockOptions value)
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
public WriteRequestCommand.Builder setCreateUfsBlockOptions(Protocol.CreateUfsBlockOptions.Builder builderForValue)
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
public WriteRequestCommand.Builder mergeCreateUfsBlockOptions(Protocol.CreateUfsBlockOptions value)
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
public WriteRequestCommand.Builder clearCreateUfsBlockOptions()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
public Protocol.CreateUfsBlockOptions.Builder getCreateUfsBlockOptionsBuilder()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
public Protocol.CreateUfsBlockOptionsOrBuilder getCreateUfsBlockOptionsOrBuilder()
optional .alluxio.proto.dataserver.CreateUfsBlockOptions create_ufs_block_options = 7;
getCreateUfsBlockOptionsOrBuilder
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 WriteRequestCommand.Builder setMediumType(String value)
optional string medium_type = 8;
value
- The mediumType to set.public WriteRequestCommand.Builder clearMediumType()
optional string medium_type = 8;
public WriteRequestCommand.Builder setMediumTypeBytes(com.google.protobuf.ByteString value)
optional string medium_type = 8;
value
- The bytes for mediumType to set.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 WriteRequestCommand.Builder setPinOnCreate(boolean value)
optional bool pin_on_create = 9;
value
- The pinOnCreate to set.public WriteRequestCommand.Builder clearPinOnCreate()
optional bool pin_on_create = 9;
public final WriteRequestCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequestCommand.Builder>
public final WriteRequestCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteRequestCommand.Builder>
Copyright © 2023. All Rights Reserved.