
alluxio.grpc.BlockHeartbeatPRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/block_master.proto
package alluxio.grpc;
public interface BlockHeartbeatPRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.grpc.block.BlockHeartbeatPRequest)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return Whether the workerId field is set.
*/
boolean hasWorkerId();
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return The workerId.
*/
long getWorkerId();
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
int getUsedBytesOnTiersCount();
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
boolean containsUsedBytesOnTiers(
java.lang.String key);
/**
* Use {@link #getUsedBytesOnTiersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getUsedBytesOnTiers();
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
java.util.Map
getUsedBytesOnTiersMap();
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
long getUsedBytesOnTiersOrDefault(
java.lang.String key,
long defaultValue);
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
long getUsedBytesOnTiersOrThrow(
java.lang.String key);
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return A list containing the removedBlockIds.
*/
java.util.List getRemovedBlockIdsList();
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return The count of removedBlockIds.
*/
int getRemovedBlockIdsCount();
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @param index The index of the element to return.
* @return The removedBlockIds at the given index.
*/
long getRemovedBlockIds(int index);
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
int getAddedBlocksOnTiersCount();
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
boolean containsAddedBlocksOnTiers(
java.lang.String key);
/**
* Use {@link #getAddedBlocksOnTiersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getAddedBlocksOnTiers();
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
java.util.Map
getAddedBlocksOnTiersMap();
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
alluxio.grpc.TierList getAddedBlocksOnTiersOrDefault(
java.lang.String key,
alluxio.grpc.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;
*/
alluxio.grpc.TierList getAddedBlocksOnTiersOrThrow(
java.lang.String key);
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
* @return The options.
*/
alluxio.grpc.BlockHeartbeatPOptions getOptions();
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
alluxio.grpc.BlockHeartbeatPOptionsOrBuilder getOptionsOrBuilder();
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
int getLostStorageCount();
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
boolean containsLostStorage(
java.lang.String key);
/**
* Use {@link #getLostStorageMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getLostStorage();
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
java.util.Map
getLostStorageMap();
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
alluxio.grpc.StorageList getLostStorageOrDefault(
java.lang.String key,
alluxio.grpc.StorageList defaultValue);
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
alluxio.grpc.StorageList getLostStorageOrThrow(
java.lang.String key);
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
java.util.List
getAddedBlocksList();
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
alluxio.grpc.LocationBlockIdListEntry getAddedBlocks(int index);
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
int getAddedBlocksCount();
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
java.util.List extends alluxio.grpc.LocationBlockIdListEntryOrBuilder>
getAddedBlocksOrBuilderList();
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
alluxio.grpc.LocationBlockIdListEntryOrBuilder getAddedBlocksOrBuilder(
int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy