public static final class HdfsProtos.DatanodeInfoProto extends com.google.protobuf.GeneratedMessage implements HdfsProtos.DatanodeInfoProtoOrBuilder
hadoop.hdfs.DatanodeInfoProto
The status of a Datanode
| Modifier and Type | Class and Description |
|---|---|
static class |
HdfsProtos.DatanodeInfoProto.AdminState
Protobuf enum
hadoop.hdfs.DatanodeInfoProto.AdminState |
static class |
HdfsProtos.DatanodeInfoProto.Builder
Protobuf type
hadoop.hdfs.DatanodeInfoProto |
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 |
ADMINSTATE_FIELD_NUMBER |
static int |
BLOCKPOOLUSED_FIELD_NUMBER |
static int |
CAPACITY_FIELD_NUMBER |
static int |
DFSUSED_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LASTUPDATE_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static com.google.protobuf.Parser<HdfsProtos.DatanodeInfoProto> |
PARSER |
static int |
REMAINING_FIELD_NUMBER |
static int |
XCEIVERCOUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HdfsProtos.DatanodeInfoProto.AdminState |
getAdminState()
optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL]; |
long |
getBlockPoolUsed()
optional uint64 blockPoolUsed = 5 [default = 0]; |
long |
getCapacity()
optional uint64 capacity = 2 [default = 0]; |
static HdfsProtos.DatanodeInfoProto |
getDefaultInstance() |
HdfsProtos.DatanodeInfoProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getDfsUsed()
optional uint64 dfsUsed = 3 [default = 0]; |
HdfsProtos.DatanodeIDProto |
getId()
required .hadoop.hdfs.DatanodeIDProto id = 1; |
HdfsProtos.DatanodeIDProtoOrBuilder |
getIdOrBuilder()
required .hadoop.hdfs.DatanodeIDProto id = 1; |
long |
getLastUpdate()
optional uint64 lastUpdate = 6 [default = 0]; |
String |
getLocation()
optional string location = 8; |
com.google.protobuf.ByteString |
getLocationBytes()
optional string location = 8; |
com.google.protobuf.Parser<HdfsProtos.DatanodeInfoProto> |
getParserForType() |
long |
getRemaining()
optional uint64 remaining = 4 [default = 0]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getXceiverCount()
optional uint32 xceiverCount = 7 [default = 0]; |
boolean |
hasAdminState()
optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL]; |
boolean |
hasBlockPoolUsed()
optional uint64 blockPoolUsed = 5 [default = 0]; |
boolean |
hasCapacity()
optional uint64 capacity = 2 [default = 0]; |
boolean |
hasDfsUsed()
optional uint64 dfsUsed = 3 [default = 0]; |
int |
hashCode() |
boolean |
hasId()
required .hadoop.hdfs.DatanodeIDProto id = 1; |
boolean |
hasLastUpdate()
optional uint64 lastUpdate = 6 [default = 0]; |
boolean |
hasLocation()
optional string location = 8; |
boolean |
hasRemaining()
optional uint64 remaining = 4 [default = 0]; |
boolean |
hasXceiverCount()
optional uint32 xceiverCount = 7 [default = 0]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HdfsProtos.DatanodeInfoProto.Builder |
newBuilder() |
static HdfsProtos.DatanodeInfoProto.Builder |
newBuilder(HdfsProtos.DatanodeInfoProto prototype) |
HdfsProtos.DatanodeInfoProto.Builder |
newBuilderForType() |
protected HdfsProtos.DatanodeInfoProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static HdfsProtos.DatanodeInfoProto |
parseDelimitedFrom(InputStream input) |
static HdfsProtos.DatanodeInfoProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(byte[] data) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(com.google.protobuf.ByteString data) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(InputStream input) |
static HdfsProtos.DatanodeInfoProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.DatanodeInfoProto.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<HdfsProtos.DatanodeInfoProto> PARSER
public static final int ID_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER
public static final int DFSUSED_FIELD_NUMBER
public static final int REMAINING_FIELD_NUMBER
public static final int BLOCKPOOLUSED_FIELD_NUMBER
public static final int LASTUPDATE_FIELD_NUMBER
public static final int XCEIVERCOUNT_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int ADMINSTATE_FIELD_NUMBER
public static HdfsProtos.DatanodeInfoProto getDefaultInstance()
public HdfsProtos.DatanodeInfoProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<HdfsProtos.DatanodeInfoProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasId()
required .hadoop.hdfs.DatanodeIDProto id = 1;hasId in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic HdfsProtos.DatanodeIDProto getId()
required .hadoop.hdfs.DatanodeIDProto id = 1;getId in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic HdfsProtos.DatanodeIDProtoOrBuilder getIdOrBuilder()
required .hadoop.hdfs.DatanodeIDProto id = 1;getIdOrBuilder in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasCapacity()
optional uint64 capacity = 2 [default = 0];hasCapacity in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic long getCapacity()
optional uint64 capacity = 2 [default = 0];getCapacity in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasDfsUsed()
optional uint64 dfsUsed = 3 [default = 0];hasDfsUsed in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic long getDfsUsed()
optional uint64 dfsUsed = 3 [default = 0];getDfsUsed in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasRemaining()
optional uint64 remaining = 4 [default = 0];hasRemaining in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic long getRemaining()
optional uint64 remaining = 4 [default = 0];getRemaining in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasBlockPoolUsed()
optional uint64 blockPoolUsed = 5 [default = 0];hasBlockPoolUsed in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic long getBlockPoolUsed()
optional uint64 blockPoolUsed = 5 [default = 0];getBlockPoolUsed in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasLastUpdate()
optional uint64 lastUpdate = 6 [default = 0];hasLastUpdate in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic long getLastUpdate()
optional uint64 lastUpdate = 6 [default = 0];getLastUpdate in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasXceiverCount()
optional uint32 xceiverCount = 7 [default = 0];hasXceiverCount in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic int getXceiverCount()
optional uint32 xceiverCount = 7 [default = 0];getXceiverCount in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasLocation()
optional string location = 8;hasLocation in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic String getLocation()
optional string location = 8;getLocation in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
optional string location = 8;getLocationBytes in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic boolean hasAdminState()
optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL];hasAdminState in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic HdfsProtos.DatanodeInfoProto.AdminState getAdminState()
optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL];getAdminState in interface HdfsProtos.DatanodeInfoProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeInfoProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeInfoProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeInfoProto.Builder newBuilder()
public HdfsProtos.DatanodeInfoProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HdfsProtos.DatanodeInfoProto.Builder newBuilder(HdfsProtos.DatanodeInfoProto prototype)
public HdfsProtos.DatanodeInfoProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HdfsProtos.DatanodeInfoProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013 Apache Software Foundation. All rights reserved.