public static final class DatanodeProtocolProtos.HeartbeatRequestProto extends com.google.protobuf.GeneratedMessage implements DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
hadoop.hdfs.HeartbeatRequestProto
registration - datanode registration information capacity - total storage capacity available at the datanode dfsUsed - storage used by HDFS remaining - remaining storage available for HDFS blockPoolUsed - storage used by the block pool xmitsInProgress - number of transfers from this datanode to others xceiverCount - number of active transceiver threads failedVolumes - number of failed volumes
Modifier and Type | Class and Description |
---|---|
static class |
DatanodeProtocolProtos.HeartbeatRequestProto.Builder
Protobuf type
hadoop.hdfs.HeartbeatRequestProto |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
FAILEDVOLUMES_FIELD_NUMBER |
static com.google.protobuf.Parser<DatanodeProtocolProtos.HeartbeatRequestProto> |
PARSER |
static int |
REGISTRATION_FIELD_NUMBER |
static int |
REPORTS_FIELD_NUMBER |
static int |
XCEIVERCOUNT_FIELD_NUMBER |
static int |
XMITSINPROGRESS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
getDefaultInstance() |
DatanodeProtocolProtos.HeartbeatRequestProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFailedVolumes()
optional uint32 failedVolumes = 5 [default = 0]; |
com.google.protobuf.Parser<DatanodeProtocolProtos.HeartbeatRequestProto> |
getParserForType() |
DatanodeProtocolProtos.DatanodeRegistrationProto |
getRegistration()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1; |
DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder |
getRegistrationOrBuilder()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1; |
DatanodeProtocolProtos.StorageReportProto |
getReports(int index)
repeated .hadoop.hdfs.StorageReportProto reports = 2; |
int |
getReportsCount()
repeated .hadoop.hdfs.StorageReportProto reports = 2; |
List<DatanodeProtocolProtos.StorageReportProto> |
getReportsList()
repeated .hadoop.hdfs.StorageReportProto reports = 2; |
DatanodeProtocolProtos.StorageReportProtoOrBuilder |
getReportsOrBuilder(int index)
repeated .hadoop.hdfs.StorageReportProto reports = 2; |
List<? extends DatanodeProtocolProtos.StorageReportProtoOrBuilder> |
getReportsOrBuilderList()
repeated .hadoop.hdfs.StorageReportProto reports = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getXceiverCount()
optional uint32 xceiverCount = 4 [default = 0]; |
int |
getXmitsInProgress()
optional uint32 xmitsInProgress = 3 [default = 0]; |
boolean |
hasFailedVolumes()
optional uint32 failedVolumes = 5 [default = 0]; |
int |
hashCode() |
boolean |
hasRegistration()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1; |
boolean |
hasXceiverCount()
optional uint32 xceiverCount = 4 [default = 0]; |
boolean |
hasXmitsInProgress()
optional uint32 xmitsInProgress = 3 [default = 0]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DatanodeProtocolProtos.HeartbeatRequestProto.Builder |
newBuilder() |
static DatanodeProtocolProtos.HeartbeatRequestProto.Builder |
newBuilder(DatanodeProtocolProtos.HeartbeatRequestProto prototype) |
DatanodeProtocolProtos.HeartbeatRequestProto.Builder |
newBuilderForType() |
protected DatanodeProtocolProtos.HeartbeatRequestProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseDelimitedFrom(InputStream input) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(byte[] data) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(com.google.protobuf.ByteString data) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(InputStream input) |
static DatanodeProtocolProtos.HeartbeatRequestProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatanodeProtocolProtos.HeartbeatRequestProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<DatanodeProtocolProtos.HeartbeatRequestProto> PARSER
public static final int REGISTRATION_FIELD_NUMBER
public static final int REPORTS_FIELD_NUMBER
public static final int XMITSINPROGRESS_FIELD_NUMBER
public static final int XCEIVERCOUNT_FIELD_NUMBER
public static final int FAILEDVOLUMES_FIELD_NUMBER
public static DatanodeProtocolProtos.HeartbeatRequestProto getDefaultInstance()
public DatanodeProtocolProtos.HeartbeatRequestProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<DatanodeProtocolProtos.HeartbeatRequestProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasRegistration()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1;
Datanode info
hasRegistration
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public DatanodeProtocolProtos.DatanodeRegistrationProto getRegistration()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1;
Datanode info
getRegistration
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder getRegistrationOrBuilder()
required .hadoop.hdfs.DatanodeRegistrationProto registration = 1;
Datanode info
getRegistrationOrBuilder
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public List<DatanodeProtocolProtos.StorageReportProto> getReportsList()
repeated .hadoop.hdfs.StorageReportProto reports = 2;
getReportsList
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public List<? extends DatanodeProtocolProtos.StorageReportProtoOrBuilder> getReportsOrBuilderList()
repeated .hadoop.hdfs.StorageReportProto reports = 2;
getReportsOrBuilderList
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public int getReportsCount()
repeated .hadoop.hdfs.StorageReportProto reports = 2;
getReportsCount
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public DatanodeProtocolProtos.StorageReportProto getReports(int index)
repeated .hadoop.hdfs.StorageReportProto reports = 2;
getReports
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public DatanodeProtocolProtos.StorageReportProtoOrBuilder getReportsOrBuilder(int index)
repeated .hadoop.hdfs.StorageReportProto reports = 2;
getReportsOrBuilder
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public boolean hasXmitsInProgress()
optional uint32 xmitsInProgress = 3 [default = 0];
hasXmitsInProgress
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public int getXmitsInProgress()
optional uint32 xmitsInProgress = 3 [default = 0];
getXmitsInProgress
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public boolean hasXceiverCount()
optional uint32 xceiverCount = 4 [default = 0];
hasXceiverCount
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public int getXceiverCount()
optional uint32 xceiverCount = 4 [default = 0];
getXceiverCount
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public boolean hasFailedVolumes()
optional uint32 failedVolumes = 5 [default = 0];
hasFailedVolumes
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public int getFailedVolumes()
optional uint32 failedVolumes = 5 [default = 0];
getFailedVolumes
in interface DatanodeProtocolProtos.HeartbeatRequestProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
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 DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(InputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.HeartbeatRequestProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.HeartbeatRequestProto.Builder newBuilder()
public DatanodeProtocolProtos.HeartbeatRequestProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DatanodeProtocolProtos.HeartbeatRequestProto.Builder newBuilder(DatanodeProtocolProtos.HeartbeatRequestProto prototype)
public DatanodeProtocolProtos.HeartbeatRequestProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DatanodeProtocolProtos.HeartbeatRequestProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.