public final class BlockHeartbeatPRequest extends com.google.protobuf.GeneratedMessageV3 implements BlockHeartbeatPRequestOrBuilder
alluxio.grpc.block.BlockHeartbeatPRequest
Modifier and Type | Class and Description |
---|---|
static class |
BlockHeartbeatPRequest.Builder
Protobuf type
alluxio.grpc.block.BlockHeartbeatPRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ADDEDBLOCKS_FIELD_NUMBER |
static int |
ADDEDBLOCKSONTIERS_FIELD_NUMBER |
static int |
LOSTSTORAGE_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<BlockHeartbeatPRequest> |
PARSER
Deprecated.
|
static int |
REMOVEDBLOCKIDS_FIELD_NUMBER |
static int |
USEDBYTESONTIERS_FIELD_NUMBER |
static int |
WORKERID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAddedBlocksOnTiers(String key)
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
|
boolean |
containsLostStorage(String key)
the map of lost storage paths on all tiers
|
boolean |
containsUsedBytesOnTiers(String key)
the map of space used in bytes on all tiers
|
boolean |
equals(Object obj) |
LocationBlockIdListEntry |
getAddedBlocks(int index)
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
|
int |
getAddedBlocksCount()
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
|
List<LocationBlockIdListEntry> |
getAddedBlocksList()
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
|
Map<String,TierList> |
getAddedBlocksOnTiers()
Deprecated.
|
int |
getAddedBlocksOnTiersCount()
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
|
Map<String,TierList> |
getAddedBlocksOnTiersMap()
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
|
TierList |
getAddedBlocksOnTiersOrDefault(String key,
TierList defaultValue)
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
|
TierList |
getAddedBlocksOnTiersOrThrow(String key)
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
|
LocationBlockIdListEntryOrBuilder |
getAddedBlocksOrBuilder(int index)
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
|
List<? extends LocationBlockIdListEntryOrBuilder> |
getAddedBlocksOrBuilderList()
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
|
static BlockHeartbeatPRequest |
getDefaultInstance() |
BlockHeartbeatPRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,StorageList> |
getLostStorage()
Deprecated.
|
int |
getLostStorageCount()
the map of lost storage paths on all tiers
|
Map<String,StorageList> |
getLostStorageMap()
the map of lost storage paths on all tiers
|
StorageList |
getLostStorageOrDefault(String key,
StorageList defaultValue)
the map of lost storage paths on all tiers
|
StorageList |
getLostStorageOrThrow(String key)
the map of lost storage paths on all tiers
|
BlockHeartbeatPOptions |
getOptions()
optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5; |
BlockHeartbeatPOptionsOrBuilder |
getOptionsOrBuilder()
optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5; |
com.google.protobuf.Parser<BlockHeartbeatPRequest> |
getParserForType() |
long |
getRemovedBlockIds(int index)
the list of removed block ids
|
int |
getRemovedBlockIdsCount()
the list of removed block ids
|
List<Long> |
getRemovedBlockIdsList()
the list of removed block ids
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Map<String,Long> |
getUsedBytesOnTiers()
Deprecated.
|
int |
getUsedBytesOnTiersCount()
the map of space used in bytes on all tiers
|
Map<String,Long> |
getUsedBytesOnTiersMap()
the map of space used in bytes on all tiers
|
long |
getUsedBytesOnTiersOrDefault(String key,
long defaultValue)
the map of space used in bytes on all tiers
|
long |
getUsedBytesOnTiersOrThrow(String key)
the map of space used in bytes on all tiers
|
long |
getWorkerId()
the id of the worker
|
int |
hashCode() |
boolean |
hasOptions()
optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5; |
boolean |
hasWorkerId()
the id of the worker
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static BlockHeartbeatPRequest.Builder |
newBuilder() |
static BlockHeartbeatPRequest.Builder |
newBuilder(BlockHeartbeatPRequest prototype) |
BlockHeartbeatPRequest.Builder |
newBuilderForType() |
protected BlockHeartbeatPRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BlockHeartbeatPRequest |
parseDelimitedFrom(InputStream input) |
static BlockHeartbeatPRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockHeartbeatPRequest |
parseFrom(byte[] data) |
static BlockHeartbeatPRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockHeartbeatPRequest |
parseFrom(ByteBuffer data) |
static BlockHeartbeatPRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockHeartbeatPRequest |
parseFrom(com.google.protobuf.ByteString data) |
static BlockHeartbeatPRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockHeartbeatPRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BlockHeartbeatPRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BlockHeartbeatPRequest |
parseFrom(InputStream input) |
static BlockHeartbeatPRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BlockHeartbeatPRequest> |
parser() |
BlockHeartbeatPRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int WORKERID_FIELD_NUMBER
public static final int USEDBYTESONTIERS_FIELD_NUMBER
public static final int REMOVEDBLOCKIDS_FIELD_NUMBER
public static final int ADDEDBLOCKSONTIERS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
public static final int LOSTSTORAGE_FIELD_NUMBER
public static final int ADDEDBLOCKS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<BlockHeartbeatPRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasWorkerId()
the id of the worker
optional int64 workerId = 1;
hasWorkerId
in interface BlockHeartbeatPRequestOrBuilder
public long getWorkerId()
the id of the worker
optional int64 workerId = 1;
getWorkerId
in interface BlockHeartbeatPRequestOrBuilder
public int getUsedBytesOnTiersCount()
BlockHeartbeatPRequestOrBuilder
the map of space used in bytes on all tiers
map<string, int64> usedBytesOnTiers = 2;
getUsedBytesOnTiersCount
in interface BlockHeartbeatPRequestOrBuilder
public boolean containsUsedBytesOnTiers(String key)
the map of space used in bytes on all tiers
map<string, int64> usedBytesOnTiers = 2;
containsUsedBytesOnTiers
in interface BlockHeartbeatPRequestOrBuilder
@Deprecated public Map<String,Long> getUsedBytesOnTiers()
getUsedBytesOnTiersMap()
instead.getUsedBytesOnTiers
in interface BlockHeartbeatPRequestOrBuilder
public Map<String,Long> getUsedBytesOnTiersMap()
the map of space used in bytes on all tiers
map<string, int64> usedBytesOnTiers = 2;
getUsedBytesOnTiersMap
in interface BlockHeartbeatPRequestOrBuilder
public long getUsedBytesOnTiersOrDefault(String key, long defaultValue)
the map of space used in bytes on all tiers
map<string, int64> usedBytesOnTiers = 2;
getUsedBytesOnTiersOrDefault
in interface BlockHeartbeatPRequestOrBuilder
public long getUsedBytesOnTiersOrThrow(String key)
the map of space used in bytes on all tiers
map<string, int64> usedBytesOnTiers = 2;
getUsedBytesOnTiersOrThrow
in interface BlockHeartbeatPRequestOrBuilder
public List<Long> getRemovedBlockIdsList()
the list of removed block ids
repeated int64 removedBlockIds = 3;
getRemovedBlockIdsList
in interface BlockHeartbeatPRequestOrBuilder
public int getRemovedBlockIdsCount()
the list of removed block ids
repeated int64 removedBlockIds = 3;
getRemovedBlockIdsCount
in interface BlockHeartbeatPRequestOrBuilder
public long getRemovedBlockIds(int index)
the list of removed block ids
repeated int64 removedBlockIds = 3;
getRemovedBlockIds
in interface BlockHeartbeatPRequestOrBuilder
public int getAddedBlocksOnTiersCount()
BlockHeartbeatPRequestOrBuilder
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
getAddedBlocksOnTiersCount
in interface BlockHeartbeatPRequestOrBuilder
public boolean containsAddedBlocksOnTiers(String key)
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
containsAddedBlocksOnTiers
in interface BlockHeartbeatPRequestOrBuilder
@Deprecated public Map<String,TierList> getAddedBlocksOnTiers()
getAddedBlocksOnTiersMap()
instead.getAddedBlocksOnTiers
in interface BlockHeartbeatPRequestOrBuilder
public Map<String,TierList> getAddedBlocksOnTiersMap()
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
getAddedBlocksOnTiersMap
in interface BlockHeartbeatPRequestOrBuilder
public TierList getAddedBlocksOnTiersOrDefault(String key, TierList defaultValue)
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
getAddedBlocksOnTiersOrDefault
in interface BlockHeartbeatPRequestOrBuilder
public TierList getAddedBlocksOnTiersOrThrow(String key)
the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
getAddedBlocksOnTiersOrThrow
in interface BlockHeartbeatPRequestOrBuilder
public boolean hasOptions()
optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
hasOptions
in interface BlockHeartbeatPRequestOrBuilder
public BlockHeartbeatPOptions getOptions()
optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
getOptions
in interface BlockHeartbeatPRequestOrBuilder
public BlockHeartbeatPOptionsOrBuilder getOptionsOrBuilder()
optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
getOptionsOrBuilder
in interface BlockHeartbeatPRequestOrBuilder
public int getLostStorageCount()
BlockHeartbeatPRequestOrBuilder
the map of lost storage paths on all tiers
map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
getLostStorageCount
in interface BlockHeartbeatPRequestOrBuilder
public boolean containsLostStorage(String key)
the map of lost storage paths on all tiers
map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
containsLostStorage
in interface BlockHeartbeatPRequestOrBuilder
@Deprecated public Map<String,StorageList> getLostStorage()
getLostStorageMap()
instead.getLostStorage
in interface BlockHeartbeatPRequestOrBuilder
public Map<String,StorageList> getLostStorageMap()
the map of lost storage paths on all tiers
map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
getLostStorageMap
in interface BlockHeartbeatPRequestOrBuilder
public StorageList getLostStorageOrDefault(String key, StorageList defaultValue)
the map of lost storage paths on all tiers
map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
getLostStorageOrDefault
in interface BlockHeartbeatPRequestOrBuilder
public StorageList getLostStorageOrThrow(String key)
the map of lost storage paths on all tiers
map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
getLostStorageOrThrow
in interface BlockHeartbeatPRequestOrBuilder
public List<LocationBlockIdListEntry> getAddedBlocksList()
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
getAddedBlocksList
in interface BlockHeartbeatPRequestOrBuilder
public List<? extends LocationBlockIdListEntryOrBuilder> getAddedBlocksOrBuilderList()
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
getAddedBlocksOrBuilderList
in interface BlockHeartbeatPRequestOrBuilder
public int getAddedBlocksCount()
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
getAddedBlocksCount
in interface BlockHeartbeatPRequestOrBuilder
public LocationBlockIdListEntry getAddedBlocks(int index)
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
getAddedBlocks
in interface BlockHeartbeatPRequestOrBuilder
public LocationBlockIdListEntryOrBuilder getAddedBlocksOrBuilder(int index)
use repeated fields to represent mapping from BlockStoreLocationProto to TierList
repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
getAddedBlocksOrBuilder
in interface BlockHeartbeatPRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static BlockHeartbeatPRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockHeartbeatPRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockHeartbeatPRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockHeartbeatPRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockHeartbeatPRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockHeartbeatPRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BlockHeartbeatPRequest parseFrom(InputStream input) throws IOException
IOException
public static BlockHeartbeatPRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BlockHeartbeatPRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BlockHeartbeatPRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BlockHeartbeatPRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static BlockHeartbeatPRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public BlockHeartbeatPRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static BlockHeartbeatPRequest.Builder newBuilder()
public static BlockHeartbeatPRequest.Builder newBuilder(BlockHeartbeatPRequest prototype)
public BlockHeartbeatPRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected BlockHeartbeatPRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static BlockHeartbeatPRequest getDefaultInstance()
public static com.google.protobuf.Parser<BlockHeartbeatPRequest> parser()
public com.google.protobuf.Parser<BlockHeartbeatPRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public BlockHeartbeatPRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.