Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
alluxio.grpc.BlockHeartbeatPRequest Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/block_master.proto
package alluxio.grpc;
/**
* Protobuf type {@code alluxio.grpc.block.BlockHeartbeatPRequest}
*/
public final class BlockHeartbeatPRequest extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.grpc.block.BlockHeartbeatPRequest)
BlockHeartbeatPRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BlockHeartbeatPRequest.newBuilder() to construct.
private BlockHeartbeatPRequest(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private BlockHeartbeatPRequest() {
removedBlockIds_ = emptyLongList();
addedBlocks_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BlockHeartbeatPRequest();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetUsedBytesOnTiers();
case 4:
return internalGetAddedBlocksOnTiers();
case 6:
return internalGetLostStorage();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.BlockHeartbeatPRequest.class, alluxio.grpc.BlockHeartbeatPRequest.Builder.class);
}
private int bitField0_;
public static final int WORKERID_FIELD_NUMBER = 1;
private long workerId_;
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return Whether the workerId field is set.
*/
@java.lang.Override
public boolean hasWorkerId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return The workerId.
*/
@java.lang.Override
public long getWorkerId() {
return workerId_;
}
public static final int USEDBYTESONTIERS_FIELD_NUMBER = 2;
private static final class UsedBytesOnTiersDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, java.lang.Long> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_UsedBytesOnTiersEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.INT64,
0L);
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, java.lang.Long> usedBytesOnTiers_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetUsedBytesOnTiers() {
if (usedBytesOnTiers_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
}
return usedBytesOnTiers_;
}
public int getUsedBytesOnTiersCount() {
return internalGetUsedBytesOnTiers().getMap().size();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public boolean containsUsedBytesOnTiers(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetUsedBytesOnTiers().getMap().containsKey(key);
}
/**
* Use {@link #getUsedBytesOnTiersMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getUsedBytesOnTiers() {
return getUsedBytesOnTiersMap();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public java.util.Map getUsedBytesOnTiersMap() {
return internalGetUsedBytesOnTiers().getMap();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public long getUsedBytesOnTiersOrDefault(
java.lang.String key,
long defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetUsedBytesOnTiers().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public long getUsedBytesOnTiersOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetUsedBytesOnTiers().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int REMOVEDBLOCKIDS_FIELD_NUMBER = 3;
private alluxio.shaded.client.com.google.protobuf.Internal.LongList removedBlockIds_;
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return A list containing the removedBlockIds.
*/
@java.lang.Override
public java.util.List
getRemovedBlockIdsList() {
return removedBlockIds_;
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return The count of removedBlockIds.
*/
public int getRemovedBlockIdsCount() {
return removedBlockIds_.size();
}
/**
*
** 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.
*/
public long getRemovedBlockIds(int index) {
return removedBlockIds_.getLong(index);
}
public static final int ADDEDBLOCKSONTIERS_FIELD_NUMBER = 4;
private static final class AddedBlocksOnTiersDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, alluxio.grpc.TierList> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_AddedBlocksOnTiersEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.MESSAGE,
alluxio.grpc.TierList.getDefaultInstance());
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.grpc.TierList> addedBlocksOnTiers_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetAddedBlocksOnTiers() {
if (addedBlocksOnTiers_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
AddedBlocksOnTiersDefaultEntryHolder.defaultEntry);
}
return addedBlocksOnTiers_;
}
public int getAddedBlocksOnTiersCount() {
return internalGetAddedBlocksOnTiers().getMap().size();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public boolean containsAddedBlocksOnTiers(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAddedBlocksOnTiers().getMap().containsKey(key);
}
/**
* Use {@link #getAddedBlocksOnTiersMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getAddedBlocksOnTiers() {
return getAddedBlocksOnTiersMap();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public java.util.Map getAddedBlocksOnTiersMap() {
return internalGetAddedBlocksOnTiers().getMap();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public alluxio.grpc.TierList getAddedBlocksOnTiersOrDefault(
java.lang.String key,
alluxio.grpc.TierList defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAddedBlocksOnTiers().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public alluxio.grpc.TierList getAddedBlocksOnTiersOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAddedBlocksOnTiers().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int OPTIONS_FIELD_NUMBER = 5;
private alluxio.grpc.BlockHeartbeatPOptions options_;
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
* @return Whether the options field is set.
*/
@java.lang.Override
public boolean hasOptions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
* @return The options.
*/
@java.lang.Override
public alluxio.grpc.BlockHeartbeatPOptions getOptions() {
return options_ == null ? alluxio.grpc.BlockHeartbeatPOptions.getDefaultInstance() : options_;
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
@java.lang.Override
public alluxio.grpc.BlockHeartbeatPOptionsOrBuilder getOptionsOrBuilder() {
return options_ == null ? alluxio.grpc.BlockHeartbeatPOptions.getDefaultInstance() : options_;
}
public static final int LOSTSTORAGE_FIELD_NUMBER = 6;
private static final class LostStorageDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, alluxio.grpc.StorageList> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_LostStorageEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.MESSAGE,
alluxio.grpc.StorageList.getDefaultInstance());
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.grpc.StorageList> lostStorage_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetLostStorage() {
if (lostStorage_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
LostStorageDefaultEntryHolder.defaultEntry);
}
return lostStorage_;
}
public int getLostStorageCount() {
return internalGetLostStorage().getMap().size();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public boolean containsLostStorage(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetLostStorage().getMap().containsKey(key);
}
/**
* Use {@link #getLostStorageMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getLostStorage() {
return getLostStorageMap();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public java.util.Map getLostStorageMap() {
return internalGetLostStorage().getMap();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public alluxio.grpc.StorageList getLostStorageOrDefault(
java.lang.String key,
alluxio.grpc.StorageList defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLostStorage().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public alluxio.grpc.StorageList getLostStorageOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLostStorage().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int ADDEDBLOCKS_FIELD_NUMBER = 7;
private java.util.List addedBlocks_;
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
@java.lang.Override
public java.util.List getAddedBlocksList() {
return addedBlocks_;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
@java.lang.Override
public java.util.List
getAddedBlocksOrBuilderList() {
return addedBlocks_;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
@java.lang.Override
public int getAddedBlocksCount() {
return addedBlocks_.size();
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
@java.lang.Override
public alluxio.grpc.LocationBlockIdListEntry getAddedBlocks(int index) {
return addedBlocks_.get(index);
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
@java.lang.Override
public alluxio.grpc.LocationBlockIdListEntryOrBuilder getAddedBlocksOrBuilder(
int index) {
return addedBlocks_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasOptions()) {
if (!getOptions().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, workerId_);
}
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetUsedBytesOnTiers(),
UsedBytesOnTiersDefaultEntryHolder.defaultEntry,
2);
for (int i = 0; i < removedBlockIds_.size(); i++) {
output.writeInt64(3, removedBlockIds_.getLong(i));
}
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetAddedBlocksOnTiers(),
AddedBlocksOnTiersDefaultEntryHolder.defaultEntry,
4);
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(5, getOptions());
}
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetLostStorage(),
LostStorageDefaultEntryHolder.defaultEntry,
6);
for (int i = 0; i < addedBlocks_.size(); i++) {
output.writeMessage(7, addedBlocks_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64Size(1, workerId_);
}
for (java.util.Map.Entry entry
: internalGetUsedBytesOnTiers().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
usedBytesOnTiers__ = UsedBytesOnTiersDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(2, usedBytesOnTiers__);
}
{
int dataSize = 0;
for (int i = 0; i < removedBlockIds_.size(); i++) {
dataSize += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteInt64SizeNoTag(removedBlockIds_.getLong(i));
}
size += dataSize;
size += 1 * getRemovedBlockIdsList().size();
}
for (java.util.Map.Entry entry
: internalGetAddedBlocksOnTiers().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
addedBlocksOnTiers__ = AddedBlocksOnTiersDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(4, addedBlocksOnTiers__);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(5, getOptions());
}
for (java.util.Map.Entry entry
: internalGetLostStorage().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
lostStorage__ = LostStorageDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(6, lostStorage__);
}
for (int i = 0; i < addedBlocks_.size(); i++) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(7, addedBlocks_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.grpc.BlockHeartbeatPRequest)) {
return super.equals(obj);
}
alluxio.grpc.BlockHeartbeatPRequest other = (alluxio.grpc.BlockHeartbeatPRequest) obj;
if (hasWorkerId() != other.hasWorkerId()) return false;
if (hasWorkerId()) {
if (getWorkerId()
!= other.getWorkerId()) return false;
}
if (!internalGetUsedBytesOnTiers().equals(
other.internalGetUsedBytesOnTiers())) return false;
if (!getRemovedBlockIdsList()
.equals(other.getRemovedBlockIdsList())) return false;
if (!internalGetAddedBlocksOnTiers().equals(
other.internalGetAddedBlocksOnTiers())) return false;
if (hasOptions() != other.hasOptions()) return false;
if (hasOptions()) {
if (!getOptions()
.equals(other.getOptions())) return false;
}
if (!internalGetLostStorage().equals(
other.internalGetLostStorage())) return false;
if (!getAddedBlocksList()
.equals(other.getAddedBlocksList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasWorkerId()) {
hash = (37 * hash) + WORKERID_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong(
getWorkerId());
}
if (!internalGetUsedBytesOnTiers().getMap().isEmpty()) {
hash = (37 * hash) + USEDBYTESONTIERS_FIELD_NUMBER;
hash = (53 * hash) + internalGetUsedBytesOnTiers().hashCode();
}
if (getRemovedBlockIdsCount() > 0) {
hash = (37 * hash) + REMOVEDBLOCKIDS_FIELD_NUMBER;
hash = (53 * hash) + getRemovedBlockIdsList().hashCode();
}
if (!internalGetAddedBlocksOnTiers().getMap().isEmpty()) {
hash = (37 * hash) + ADDEDBLOCKSONTIERS_FIELD_NUMBER;
hash = (53 * hash) + internalGetAddedBlocksOnTiers().hashCode();
}
if (hasOptions()) {
hash = (37 * hash) + OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getOptions().hashCode();
}
if (!internalGetLostStorage().getMap().isEmpty()) {
hash = (37 * hash) + LOSTSTORAGE_FIELD_NUMBER;
hash = (53 * hash) + internalGetLostStorage().hashCode();
}
if (getAddedBlocksCount() > 0) {
hash = (37 * hash) + ADDEDBLOCKS_FIELD_NUMBER;
hash = (53 * hash) + getAddedBlocksList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.grpc.BlockHeartbeatPRequest parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.grpc.BlockHeartbeatPRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code alluxio.grpc.block.BlockHeartbeatPRequest}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.grpc.block.BlockHeartbeatPRequest)
alluxio.grpc.BlockHeartbeatPRequestOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetUsedBytesOnTiers();
case 4:
return internalGetAddedBlocksOnTiers();
case 6:
return internalGetLostStorage();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 2:
return internalGetMutableUsedBytesOnTiers();
case 4:
return internalGetMutableAddedBlocksOnTiers();
case 6:
return internalGetMutableLostStorage();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.BlockHeartbeatPRequest.class, alluxio.grpc.BlockHeartbeatPRequest.Builder.class);
}
// Construct using alluxio.grpc.BlockHeartbeatPRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
getAddedBlocksFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
workerId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableUsedBytesOnTiers().clear();
removedBlockIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableAddedBlocksOnTiers().clear();
if (optionsBuilder_ == null) {
options_ = null;
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableLostStorage().clear();
if (addedBlocksBuilder_ == null) {
addedBlocks_ = java.util.Collections.emptyList();
} else {
addedBlocks_ = null;
addedBlocksBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.grpc.BlockMasterProto.internal_static_alluxio_grpc_block_BlockHeartbeatPRequest_descriptor;
}
@java.lang.Override
public alluxio.grpc.BlockHeartbeatPRequest getDefaultInstanceForType() {
return alluxio.grpc.BlockHeartbeatPRequest.getDefaultInstance();
}
@java.lang.Override
public alluxio.grpc.BlockHeartbeatPRequest build() {
alluxio.grpc.BlockHeartbeatPRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.grpc.BlockHeartbeatPRequest buildPartial() {
alluxio.grpc.BlockHeartbeatPRequest result = new alluxio.grpc.BlockHeartbeatPRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.workerId_ = workerId_;
to_bitField0_ |= 0x00000001;
}
result.usedBytesOnTiers_ = internalGetUsedBytesOnTiers();
result.usedBytesOnTiers_.makeImmutable();
if (((bitField0_ & 0x00000004) != 0)) {
removedBlockIds_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.removedBlockIds_ = removedBlockIds_;
result.addedBlocksOnTiers_ = internalGetAddedBlocksOnTiers();
result.addedBlocksOnTiers_.makeImmutable();
if (((from_bitField0_ & 0x00000010) != 0)) {
if (optionsBuilder_ == null) {
result.options_ = options_;
} else {
result.options_ = optionsBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
result.lostStorage_ = internalGetLostStorage();
result.lostStorage_.makeImmutable();
if (addedBlocksBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
addedBlocks_ = java.util.Collections.unmodifiableList(addedBlocks_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.addedBlocks_ = addedBlocks_;
} else {
result.addedBlocks_ = addedBlocksBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.grpc.BlockHeartbeatPRequest) {
return mergeFrom((alluxio.grpc.BlockHeartbeatPRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.grpc.BlockHeartbeatPRequest other) {
if (other == alluxio.grpc.BlockHeartbeatPRequest.getDefaultInstance()) return this;
if (other.hasWorkerId()) {
setWorkerId(other.getWorkerId());
}
internalGetMutableUsedBytesOnTiers().mergeFrom(
other.internalGetUsedBytesOnTiers());
if (!other.removedBlockIds_.isEmpty()) {
if (removedBlockIds_.isEmpty()) {
removedBlockIds_ = other.removedBlockIds_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureRemovedBlockIdsIsMutable();
removedBlockIds_.addAll(other.removedBlockIds_);
}
onChanged();
}
internalGetMutableAddedBlocksOnTiers().mergeFrom(
other.internalGetAddedBlocksOnTiers());
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
internalGetMutableLostStorage().mergeFrom(
other.internalGetLostStorage());
if (addedBlocksBuilder_ == null) {
if (!other.addedBlocks_.isEmpty()) {
if (addedBlocks_.isEmpty()) {
addedBlocks_ = other.addedBlocks_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureAddedBlocksIsMutable();
addedBlocks_.addAll(other.addedBlocks_);
}
onChanged();
}
} else {
if (!other.addedBlocks_.isEmpty()) {
if (addedBlocksBuilder_.isEmpty()) {
addedBlocksBuilder_.dispose();
addedBlocksBuilder_ = null;
addedBlocks_ = other.addedBlocks_;
bitField0_ = (bitField0_ & ~0x00000040);
addedBlocksBuilder_ =
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAddedBlocksFieldBuilder() : null;
} else {
addedBlocksBuilder_.addAllMessages(other.addedBlocks_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasOptions()) {
if (!getOptions().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
workerId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
alluxio.shaded.client.com.google.protobuf.MapEntry
usedBytesOnTiers__ = input.readMessage(
UsedBytesOnTiersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableUsedBytesOnTiers().getMutableMap().put(
usedBytesOnTiers__.getKey(), usedBytesOnTiers__.getValue());
break;
} // case 18
case 24: {
long v = input.readInt64();
ensureRemovedBlockIdsIsMutable();
removedBlockIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureRemovedBlockIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
removedBlockIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 34: {
alluxio.shaded.client.com.google.protobuf.MapEntry
addedBlocksOnTiers__ = input.readMessage(
AddedBlocksOnTiersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableAddedBlocksOnTiers().getMutableMap().put(
addedBlocksOnTiers__.getKey(), addedBlocksOnTiers__.getValue());
break;
} // case 34
case 42: {
input.readMessage(
getOptionsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
alluxio.shaded.client.com.google.protobuf.MapEntry
lostStorage__ = input.readMessage(
LostStorageDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableLostStorage().getMutableMap().put(
lostStorage__.getKey(), lostStorage__.getValue());
break;
} // case 50
case 58: {
alluxio.grpc.LocationBlockIdListEntry m =
input.readMessage(
alluxio.grpc.LocationBlockIdListEntry.PARSER,
extensionRegistry);
if (addedBlocksBuilder_ == null) {
ensureAddedBlocksIsMutable();
addedBlocks_.add(m);
} else {
addedBlocksBuilder_.addMessage(m);
}
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long workerId_ ;
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return Whether the workerId field is set.
*/
@java.lang.Override
public boolean hasWorkerId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return The workerId.
*/
@java.lang.Override
public long getWorkerId() {
return workerId_;
}
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @param value The workerId to set.
* @return This builder for chaining.
*/
public Builder setWorkerId(long value) {
bitField0_ |= 0x00000001;
workerId_ = value;
onChanged();
return this;
}
/**
*
** the id of the worker
*
*
* optional int64 workerId = 1;
* @return This builder for chaining.
*/
public Builder clearWorkerId() {
bitField0_ = (bitField0_ & ~0x00000001);
workerId_ = 0L;
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, java.lang.Long> usedBytesOnTiers_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetUsedBytesOnTiers() {
if (usedBytesOnTiers_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
}
return usedBytesOnTiers_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableUsedBytesOnTiers() {
onChanged();;
if (usedBytesOnTiers_ == null) {
usedBytesOnTiers_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
}
if (!usedBytesOnTiers_.isMutable()) {
usedBytesOnTiers_ = usedBytesOnTiers_.copy();
}
return usedBytesOnTiers_;
}
public int getUsedBytesOnTiersCount() {
return internalGetUsedBytesOnTiers().getMap().size();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public boolean containsUsedBytesOnTiers(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetUsedBytesOnTiers().getMap().containsKey(key);
}
/**
* Use {@link #getUsedBytesOnTiersMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getUsedBytesOnTiers() {
return getUsedBytesOnTiersMap();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public java.util.Map getUsedBytesOnTiersMap() {
return internalGetUsedBytesOnTiers().getMap();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public long getUsedBytesOnTiersOrDefault(
java.lang.String key,
long defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetUsedBytesOnTiers().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
@java.lang.Override
public long getUsedBytesOnTiersOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetUsedBytesOnTiers().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearUsedBytesOnTiers() {
internalGetMutableUsedBytesOnTiers().getMutableMap()
.clear();
return this;
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
public Builder removeUsedBytesOnTiers(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableUsedBytesOnTiers().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableUsedBytesOnTiers() {
return internalGetMutableUsedBytesOnTiers().getMutableMap();
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
public Builder putUsedBytesOnTiers(
java.lang.String key,
long value) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableUsedBytesOnTiers().getMutableMap()
.put(key, value);
return this;
}
/**
*
** the map of space used in bytes on all tiers
*
*
* map<string, int64> usedBytesOnTiers = 2;
*/
public Builder putAllUsedBytesOnTiers(
java.util.Map values) {
internalGetMutableUsedBytesOnTiers().getMutableMap()
.putAll(values);
return this;
}
private alluxio.shaded.client.com.google.protobuf.Internal.LongList removedBlockIds_ = emptyLongList();
private void ensureRemovedBlockIdsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
removedBlockIds_ = mutableCopy(removedBlockIds_);
bitField0_ |= 0x00000004;
}
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return A list containing the removedBlockIds.
*/
public java.util.List
getRemovedBlockIdsList() {
return ((bitField0_ & 0x00000004) != 0) ?
java.util.Collections.unmodifiableList(removedBlockIds_) : removedBlockIds_;
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return The count of removedBlockIds.
*/
public int getRemovedBlockIdsCount() {
return removedBlockIds_.size();
}
/**
*
** 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.
*/
public long getRemovedBlockIds(int index) {
return removedBlockIds_.getLong(index);
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @param index The index to set the value at.
* @param value The removedBlockIds to set.
* @return This builder for chaining.
*/
public Builder setRemovedBlockIds(
int index, long value) {
ensureRemovedBlockIdsIsMutable();
removedBlockIds_.setLong(index, value);
onChanged();
return this;
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @param value The removedBlockIds to add.
* @return This builder for chaining.
*/
public Builder addRemovedBlockIds(long value) {
ensureRemovedBlockIdsIsMutable();
removedBlockIds_.addLong(value);
onChanged();
return this;
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @param values The removedBlockIds to add.
* @return This builder for chaining.
*/
public Builder addAllRemovedBlockIds(
java.lang.Iterable values) {
ensureRemovedBlockIdsIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, removedBlockIds_);
onChanged();
return this;
}
/**
*
** the list of removed block ids
*
*
* repeated int64 removedBlockIds = 3;
* @return This builder for chaining.
*/
public Builder clearRemovedBlockIds() {
removedBlockIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.grpc.TierList> addedBlocksOnTiers_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetAddedBlocksOnTiers() {
if (addedBlocksOnTiers_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
AddedBlocksOnTiersDefaultEntryHolder.defaultEntry);
}
return addedBlocksOnTiers_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableAddedBlocksOnTiers() {
onChanged();;
if (addedBlocksOnTiers_ == null) {
addedBlocksOnTiers_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
AddedBlocksOnTiersDefaultEntryHolder.defaultEntry);
}
if (!addedBlocksOnTiers_.isMutable()) {
addedBlocksOnTiers_ = addedBlocksOnTiers_.copy();
}
return addedBlocksOnTiers_;
}
public int getAddedBlocksOnTiersCount() {
return internalGetAddedBlocksOnTiers().getMap().size();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public boolean containsAddedBlocksOnTiers(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetAddedBlocksOnTiers().getMap().containsKey(key);
}
/**
* Use {@link #getAddedBlocksOnTiersMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getAddedBlocksOnTiers() {
return getAddedBlocksOnTiersMap();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public java.util.Map getAddedBlocksOnTiersMap() {
return internalGetAddedBlocksOnTiers().getMap();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public alluxio.grpc.TierList getAddedBlocksOnTiersOrDefault(
java.lang.String key,
alluxio.grpc.TierList defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAddedBlocksOnTiers().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
@java.lang.Override
public alluxio.grpc.TierList getAddedBlocksOnTiersOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetAddedBlocksOnTiers().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearAddedBlocksOnTiers() {
internalGetMutableAddedBlocksOnTiers().getMutableMap()
.clear();
return this;
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
public Builder removeAddedBlocksOnTiers(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableAddedBlocksOnTiers().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableAddedBlocksOnTiers() {
return internalGetMutableAddedBlocksOnTiers().getMutableMap();
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
public Builder putAddedBlocksOnTiers(
java.lang.String key,
alluxio.grpc.TierList value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableAddedBlocksOnTiers().getMutableMap()
.put(key, value);
return this;
}
/**
*
** the map of added blocks on all tiers (deprecated since 2.0, replaced by addedBlocks)
*
*
* map<string, .alluxio.grpc.block.TierList> addedBlocksOnTiers = 4;
*/
public Builder putAllAddedBlocksOnTiers(
java.util.Map values) {
internalGetMutableAddedBlocksOnTiers().getMutableMap()
.putAll(values);
return this;
}
private alluxio.grpc.BlockHeartbeatPOptions options_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.BlockHeartbeatPOptions, alluxio.grpc.BlockHeartbeatPOptions.Builder, alluxio.grpc.BlockHeartbeatPOptionsOrBuilder> optionsBuilder_;
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
* @return Whether the options field is set.
*/
public boolean hasOptions() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
* @return The options.
*/
public alluxio.grpc.BlockHeartbeatPOptions getOptions() {
if (optionsBuilder_ == null) {
return options_ == null ? alluxio.grpc.BlockHeartbeatPOptions.getDefaultInstance() : options_;
} else {
return optionsBuilder_.getMessage();
}
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
public Builder setOptions(alluxio.grpc.BlockHeartbeatPOptions value) {
if (optionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
options_ = value;
onChanged();
} else {
optionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
public Builder setOptions(
alluxio.grpc.BlockHeartbeatPOptions.Builder builderForValue) {
if (optionsBuilder_ == null) {
options_ = builderForValue.build();
onChanged();
} else {
optionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
public Builder mergeOptions(alluxio.grpc.BlockHeartbeatPOptions value) {
if (optionsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
options_ != null &&
options_ != alluxio.grpc.BlockHeartbeatPOptions.getDefaultInstance()) {
options_ =
alluxio.grpc.BlockHeartbeatPOptions.newBuilder(options_).mergeFrom(value).buildPartial();
} else {
options_ = value;
}
onChanged();
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
public Builder clearOptions() {
if (optionsBuilder_ == null) {
options_ = null;
onChanged();
} else {
optionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
public alluxio.grpc.BlockHeartbeatPOptions.Builder getOptionsBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getOptionsFieldBuilder().getBuilder();
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
public alluxio.grpc.BlockHeartbeatPOptionsOrBuilder getOptionsOrBuilder() {
if (optionsBuilder_ != null) {
return optionsBuilder_.getMessageOrBuilder();
} else {
return options_ == null ?
alluxio.grpc.BlockHeartbeatPOptions.getDefaultInstance() : options_;
}
}
/**
* optional .alluxio.grpc.block.BlockHeartbeatPOptions options = 5;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.BlockHeartbeatPOptions, alluxio.grpc.BlockHeartbeatPOptions.Builder, alluxio.grpc.BlockHeartbeatPOptionsOrBuilder>
getOptionsFieldBuilder() {
if (optionsBuilder_ == null) {
optionsBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.BlockHeartbeatPOptions, alluxio.grpc.BlockHeartbeatPOptions.Builder, alluxio.grpc.BlockHeartbeatPOptionsOrBuilder>(
getOptions(),
getParentForChildren(),
isClean());
options_ = null;
}
return optionsBuilder_;
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, alluxio.grpc.StorageList> lostStorage_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetLostStorage() {
if (lostStorage_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
LostStorageDefaultEntryHolder.defaultEntry);
}
return lostStorage_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableLostStorage() {
onChanged();;
if (lostStorage_ == null) {
lostStorage_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
LostStorageDefaultEntryHolder.defaultEntry);
}
if (!lostStorage_.isMutable()) {
lostStorage_ = lostStorage_.copy();
}
return lostStorage_;
}
public int getLostStorageCount() {
return internalGetLostStorage().getMap().size();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public boolean containsLostStorage(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetLostStorage().getMap().containsKey(key);
}
/**
* Use {@link #getLostStorageMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getLostStorage() {
return getLostStorageMap();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public java.util.Map getLostStorageMap() {
return internalGetLostStorage().getMap();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public alluxio.grpc.StorageList getLostStorageOrDefault(
java.lang.String key,
alluxio.grpc.StorageList defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLostStorage().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
@java.lang.Override
public alluxio.grpc.StorageList getLostStorageOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLostStorage().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearLostStorage() {
internalGetMutableLostStorage().getMutableMap()
.clear();
return this;
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
public Builder removeLostStorage(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableLostStorage().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableLostStorage() {
return internalGetMutableLostStorage().getMutableMap();
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
public Builder putLostStorage(
java.lang.String key,
alluxio.grpc.StorageList value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableLostStorage().getMutableMap()
.put(key, value);
return this;
}
/**
*
** the map of lost storage paths on all tiers
*
*
* map<string, .alluxio.grpc.block.StorageList> lostStorage = 6;
*/
public Builder putAllLostStorage(
java.util.Map values) {
internalGetMutableLostStorage().getMutableMap()
.putAll(values);
return this;
}
private java.util.List addedBlocks_ =
java.util.Collections.emptyList();
private void ensureAddedBlocksIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
addedBlocks_ = new java.util.ArrayList(addedBlocks_);
bitField0_ |= 0x00000040;
}
}
private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.grpc.LocationBlockIdListEntry, alluxio.grpc.LocationBlockIdListEntry.Builder, alluxio.grpc.LocationBlockIdListEntryOrBuilder> addedBlocksBuilder_;
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public java.util.List getAddedBlocksList() {
if (addedBlocksBuilder_ == null) {
return java.util.Collections.unmodifiableList(addedBlocks_);
} else {
return addedBlocksBuilder_.getMessageList();
}
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public int getAddedBlocksCount() {
if (addedBlocksBuilder_ == null) {
return addedBlocks_.size();
} else {
return addedBlocksBuilder_.getCount();
}
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public alluxio.grpc.LocationBlockIdListEntry getAddedBlocks(int index) {
if (addedBlocksBuilder_ == null) {
return addedBlocks_.get(index);
} else {
return addedBlocksBuilder_.getMessage(index);
}
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder setAddedBlocks(
int index, alluxio.grpc.LocationBlockIdListEntry value) {
if (addedBlocksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedBlocksIsMutable();
addedBlocks_.set(index, value);
onChanged();
} else {
addedBlocksBuilder_.setMessage(index, value);
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder setAddedBlocks(
int index, alluxio.grpc.LocationBlockIdListEntry.Builder builderForValue) {
if (addedBlocksBuilder_ == null) {
ensureAddedBlocksIsMutable();
addedBlocks_.set(index, builderForValue.build());
onChanged();
} else {
addedBlocksBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder addAddedBlocks(alluxio.grpc.LocationBlockIdListEntry value) {
if (addedBlocksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedBlocksIsMutable();
addedBlocks_.add(value);
onChanged();
} else {
addedBlocksBuilder_.addMessage(value);
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder addAddedBlocks(
int index, alluxio.grpc.LocationBlockIdListEntry value) {
if (addedBlocksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAddedBlocksIsMutable();
addedBlocks_.add(index, value);
onChanged();
} else {
addedBlocksBuilder_.addMessage(index, value);
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder addAddedBlocks(
alluxio.grpc.LocationBlockIdListEntry.Builder builderForValue) {
if (addedBlocksBuilder_ == null) {
ensureAddedBlocksIsMutable();
addedBlocks_.add(builderForValue.build());
onChanged();
} else {
addedBlocksBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder addAddedBlocks(
int index, alluxio.grpc.LocationBlockIdListEntry.Builder builderForValue) {
if (addedBlocksBuilder_ == null) {
ensureAddedBlocksIsMutable();
addedBlocks_.add(index, builderForValue.build());
onChanged();
} else {
addedBlocksBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder addAllAddedBlocks(
java.lang.Iterable values) {
if (addedBlocksBuilder_ == null) {
ensureAddedBlocksIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, addedBlocks_);
onChanged();
} else {
addedBlocksBuilder_.addAllMessages(values);
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder clearAddedBlocks() {
if (addedBlocksBuilder_ == null) {
addedBlocks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
addedBlocksBuilder_.clear();
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public Builder removeAddedBlocks(int index) {
if (addedBlocksBuilder_ == null) {
ensureAddedBlocksIsMutable();
addedBlocks_.remove(index);
onChanged();
} else {
addedBlocksBuilder_.remove(index);
}
return this;
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public alluxio.grpc.LocationBlockIdListEntry.Builder getAddedBlocksBuilder(
int index) {
return getAddedBlocksFieldBuilder().getBuilder(index);
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public alluxio.grpc.LocationBlockIdListEntryOrBuilder getAddedBlocksOrBuilder(
int index) {
if (addedBlocksBuilder_ == null) {
return addedBlocks_.get(index); } else {
return addedBlocksBuilder_.getMessageOrBuilder(index);
}
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public java.util.List
getAddedBlocksOrBuilderList() {
if (addedBlocksBuilder_ != null) {
return addedBlocksBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(addedBlocks_);
}
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public alluxio.grpc.LocationBlockIdListEntry.Builder addAddedBlocksBuilder() {
return getAddedBlocksFieldBuilder().addBuilder(
alluxio.grpc.LocationBlockIdListEntry.getDefaultInstance());
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public alluxio.grpc.LocationBlockIdListEntry.Builder addAddedBlocksBuilder(
int index) {
return getAddedBlocksFieldBuilder().addBuilder(
index, alluxio.grpc.LocationBlockIdListEntry.getDefaultInstance());
}
/**
*
** use repeated fields to represent mapping from BlockStoreLocationProto to TierList
*
*
* repeated .alluxio.grpc.block.LocationBlockIdListEntry addedBlocks = 7;
*/
public java.util.List
getAddedBlocksBuilderList() {
return getAddedBlocksFieldBuilder().getBuilderList();
}
private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.grpc.LocationBlockIdListEntry, alluxio.grpc.LocationBlockIdListEntry.Builder, alluxio.grpc.LocationBlockIdListEntryOrBuilder>
getAddedBlocksFieldBuilder() {
if (addedBlocksBuilder_ == null) {
addedBlocksBuilder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3<
alluxio.grpc.LocationBlockIdListEntry, alluxio.grpc.LocationBlockIdListEntry.Builder, alluxio.grpc.LocationBlockIdListEntryOrBuilder>(
addedBlocks_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
addedBlocks_ = null;
}
return addedBlocksBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.grpc.block.BlockHeartbeatPRequest)
}
// @@protoc_insertion_point(class_scope:alluxio.grpc.block.BlockHeartbeatPRequest)
private static final alluxio.grpc.BlockHeartbeatPRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.grpc.BlockHeartbeatPRequest();
}
public static alluxio.grpc.BlockHeartbeatPRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public BlockHeartbeatPRequest parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.grpc.BlockHeartbeatPRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}