public static final class Protocol.CreateUfsBlockOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.CreateUfsBlockOptions.Builder> implements Protocol.CreateUfsBlockOptionsOrBuilder
Options to create a block file in UFS. next available: 3Protobuf type
alluxio.proto.dataserver.CreateUfsBlockOptions
Modifier and Type | Method and Description |
---|---|
Protocol.CreateUfsBlockOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.CreateUfsBlockOptions |
build() |
Protocol.CreateUfsBlockOptions |
buildPartial() |
Protocol.CreateUfsBlockOptions.Builder |
clear() |
Protocol.CreateUfsBlockOptions.Builder |
clearBytesInBlockStore()
the number of bytes previously written to block store
zero if no previous temp block created
|
Protocol.CreateUfsBlockOptions.Builder |
clearFallback()
true if the write request is already a fallback from
a failed short-circuit write.
|
Protocol.CreateUfsBlockOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protocol.CreateUfsBlockOptions.Builder |
clearMountId()
mount ID of the UFS to write to
|
Protocol.CreateUfsBlockOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protocol.CreateUfsBlockOptions.Builder |
clone() |
long |
getBytesInBlockStore()
the number of bytes previously written to block store
zero if no previous temp block created
|
Protocol.CreateUfsBlockOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getFallback()
true if the write request is already a fallback from
a failed short-circuit write.
|
long |
getMountId()
mount ID of the UFS to write to
|
boolean |
hasBytesInBlockStore()
the number of bytes previously written to block store
zero if no previous temp block created
|
boolean |
hasFallback()
true if the write request is already a fallback from
a failed short-circuit write.
|
boolean |
hasMountId()
mount ID of the UFS to write to
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protocol.CreateUfsBlockOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protocol.CreateUfsBlockOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protocol.CreateUfsBlockOptions.Builder |
mergeFrom(Protocol.CreateUfsBlockOptions other) |
Protocol.CreateUfsBlockOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protocol.CreateUfsBlockOptions.Builder |
setBytesInBlockStore(long value)
the number of bytes previously written to block store
zero if no previous temp block created
|
Protocol.CreateUfsBlockOptions.Builder |
setFallback(boolean value)
true if the write request is already a fallback from
a failed short-circuit write.
|
Protocol.CreateUfsBlockOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Protocol.CreateUfsBlockOptions.Builder |
setMountId(long value)
mount ID of the UFS to write to
|
Protocol.CreateUfsBlockOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Protocol.CreateUfsBlockOptions.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<Protocol.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protocol.CreateUfsBlockOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protocol.CreateUfsBlockOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protocol.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.Builder mergeFrom(Protocol.CreateUfsBlockOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.CreateUfsBlockOptions.Builder>
public Protocol.CreateUfsBlockOptions.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.CreateUfsBlockOptions.Builder>
IOException
public boolean hasBytesInBlockStore()
the number of bytes previously written to block store zero if no previous temp block created
optional int64 bytes_in_block_store = 1;
hasBytesInBlockStore
in interface Protocol.CreateUfsBlockOptionsOrBuilder
public long getBytesInBlockStore()
the number of bytes previously written to block store zero if no previous temp block created
optional int64 bytes_in_block_store = 1;
getBytesInBlockStore
in interface Protocol.CreateUfsBlockOptionsOrBuilder
public Protocol.CreateUfsBlockOptions.Builder setBytesInBlockStore(long value)
the number of bytes previously written to block store zero if no previous temp block created
optional int64 bytes_in_block_store = 1;
value
- The bytesInBlockStore to set.public Protocol.CreateUfsBlockOptions.Builder clearBytesInBlockStore()
the number of bytes previously written to block store zero if no previous temp block created
optional int64 bytes_in_block_store = 1;
public boolean hasMountId()
mount ID of the UFS to write to
optional int64 mount_id = 2;
hasMountId
in interface Protocol.CreateUfsBlockOptionsOrBuilder
public long getMountId()
mount ID of the UFS to write to
optional int64 mount_id = 2;
getMountId
in interface Protocol.CreateUfsBlockOptionsOrBuilder
public Protocol.CreateUfsBlockOptions.Builder setMountId(long value)
mount ID of the UFS to write to
optional int64 mount_id = 2;
value
- The mountId to set.public Protocol.CreateUfsBlockOptions.Builder clearMountId()
mount ID of the UFS to write to
optional int64 mount_id = 2;
public boolean hasFallback()
true if the write request is already a fallback from a failed short-circuit write.
optional bool fallback = 3;
hasFallback
in interface Protocol.CreateUfsBlockOptionsOrBuilder
public boolean getFallback()
true if the write request is already a fallback from a failed short-circuit write.
optional bool fallback = 3;
getFallback
in interface Protocol.CreateUfsBlockOptionsOrBuilder
public Protocol.CreateUfsBlockOptions.Builder setFallback(boolean value)
true if the write request is already a fallback from a failed short-circuit write.
optional bool fallback = 3;
value
- The fallback to set.public Protocol.CreateUfsBlockOptions.Builder clearFallback()
true if the write request is already a fallback from a failed short-circuit write.
optional bool fallback = 3;
public final Protocol.CreateUfsBlockOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.CreateUfsBlockOptions.Builder>
public final Protocol.CreateUfsBlockOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Protocol.CreateUfsBlockOptions.Builder>
Copyright © 2023. All Rights Reserved.