public static final class Block.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Block.Builder> implements BlockOrBuilder
alluxio.grpc.block.Block
Modifier and Type | Method and Description |
---|---|
Block.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Block |
build() |
Block |
buildPartial() |
Block.Builder |
clear() |
Block.Builder |
clearBlockId()
required int64 block_id = 1; |
Block.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Block.Builder |
clearLength()
The block length.
|
Block.Builder |
clearMountId()
optional int64 mountId = 5; |
Block.Builder |
clearOffsetInFile()
The offset of the block in within ufs the file.
|
Block.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Block.Builder |
clearUfsPath()
optional string ufs_path = 3; |
Block.Builder |
clone() |
long |
getBlockId()
required int64 block_id = 1; |
Block |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLength()
The block length.
|
long |
getMountId()
optional int64 mountId = 5; |
long |
getOffsetInFile()
The offset of the block in within ufs the file.
|
String |
getUfsPath()
optional string ufs_path = 3; |
com.google.protobuf.ByteString |
getUfsPathBytes()
optional string ufs_path = 3; |
boolean |
hasBlockId()
required int64 block_id = 1; |
boolean |
hasLength()
The block length.
|
boolean |
hasMountId()
optional int64 mountId = 5; |
boolean |
hasOffsetInFile()
The offset of the block in within ufs the file.
|
boolean |
hasUfsPath()
optional string ufs_path = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Block.Builder |
mergeFrom(Block other) |
Block.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Block.Builder |
mergeFrom(com.google.protobuf.Message other) |
Block.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Block.Builder |
setBlockId(long value)
required int64 block_id = 1; |
Block.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Block.Builder |
setLength(long value)
The block length.
|
Block.Builder |
setMountId(long value)
optional int64 mountId = 5; |
Block.Builder |
setOffsetInFile(long value)
The offset of the block in within ufs the file.
|
Block.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Block.Builder |
setUfsPath(String value)
optional string ufs_path = 3; |
Block.Builder |
setUfsPathBytes(com.google.protobuf.ByteString value)
optional string ufs_path = 3; |
Block.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<Block.Builder>
public Block.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<Block.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<Block.Builder>
public Block getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Block build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Block buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Block.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<Block.Builder>
public Block.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<Block.Builder>
public Block.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.Builder>
public Block.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.Builder>
public Block.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<Block.Builder>
public Block.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<Block.Builder>
public Block.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Block.Builder>
public Block.Builder mergeFrom(Block other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.Builder>
public Block.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<Block.Builder>
IOException
public boolean hasBlockId()
required int64 block_id = 1;
hasBlockId
in interface BlockOrBuilder
public long getBlockId()
required int64 block_id = 1;
getBlockId
in interface BlockOrBuilder
public Block.Builder setBlockId(long value)
required int64 block_id = 1;
value
- The blockId to set.public Block.Builder clearBlockId()
required int64 block_id = 1;
public boolean hasLength()
The block length.
required int64 length = 2;
hasLength
in interface BlockOrBuilder
public long getLength()
The block length.
required int64 length = 2;
getLength
in interface BlockOrBuilder
public Block.Builder setLength(long value)
The block length.
required int64 length = 2;
value
- The length to set.public Block.Builder clearLength()
The block length.
required int64 length = 2;
public boolean hasUfsPath()
optional string ufs_path = 3;
hasUfsPath
in interface BlockOrBuilder
public String getUfsPath()
optional string ufs_path = 3;
getUfsPath
in interface BlockOrBuilder
public com.google.protobuf.ByteString getUfsPathBytes()
optional string ufs_path = 3;
getUfsPathBytes
in interface BlockOrBuilder
public Block.Builder setUfsPath(String value)
optional string ufs_path = 3;
value
- The ufsPath to set.public Block.Builder clearUfsPath()
optional string ufs_path = 3;
public Block.Builder setUfsPathBytes(com.google.protobuf.ByteString value)
optional string ufs_path = 3;
value
- The bytes for ufsPath to set.public boolean hasOffsetInFile()
The offset of the block in within ufs the file.
optional int64 offset_in_file = 4;
hasOffsetInFile
in interface BlockOrBuilder
public long getOffsetInFile()
The offset of the block in within ufs the file.
optional int64 offset_in_file = 4;
getOffsetInFile
in interface BlockOrBuilder
public Block.Builder setOffsetInFile(long value)
The offset of the block in within ufs the file.
optional int64 offset_in_file = 4;
value
- The offsetInFile to set.public Block.Builder clearOffsetInFile()
The offset of the block in within ufs the file.
optional int64 offset_in_file = 4;
public boolean hasMountId()
optional int64 mountId = 5;
hasMountId
in interface BlockOrBuilder
public long getMountId()
optional int64 mountId = 5;
getMountId
in interface BlockOrBuilder
public Block.Builder setMountId(long value)
optional int64 mountId = 5;
value
- The mountId to set.public Block.Builder clearMountId()
optional int64 mountId = 5;
public final Block.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.Builder>
public final Block.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Block.Builder>
Copyright © 2023. All Rights Reserved.