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, 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<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.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<HdfsProtos.DatanodeInfoProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasId()
required .hadoop.hdfs.DatanodeIDProto id = 1;
hasId
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public HdfsProtos.DatanodeIDProto getId()
required .hadoop.hdfs.DatanodeIDProto id = 1;
getId
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public HdfsProtos.DatanodeIDProtoOrBuilder getIdOrBuilder()
required .hadoop.hdfs.DatanodeIDProto id = 1;
getIdOrBuilder
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasCapacity()
optional uint64 capacity = 2 [default = 0];
hasCapacity
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public long getCapacity()
optional uint64 capacity = 2 [default = 0];
getCapacity
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasDfsUsed()
optional uint64 dfsUsed = 3 [default = 0];
hasDfsUsed
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public long getDfsUsed()
optional uint64 dfsUsed = 3 [default = 0];
getDfsUsed
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasRemaining()
optional uint64 remaining = 4 [default = 0];
hasRemaining
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public long getRemaining()
optional uint64 remaining = 4 [default = 0];
getRemaining
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasBlockPoolUsed()
optional uint64 blockPoolUsed = 5 [default = 0];
hasBlockPoolUsed
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public long getBlockPoolUsed()
optional uint64 blockPoolUsed = 5 [default = 0];
getBlockPoolUsed
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasLastUpdate()
optional uint64 lastUpdate = 6 [default = 0];
hasLastUpdate
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public long getLastUpdate()
optional uint64 lastUpdate = 6 [default = 0];
getLastUpdate
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasXceiverCount()
optional uint32 xceiverCount = 7 [default = 0];
hasXceiverCount
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public int getXceiverCount()
optional uint32 xceiverCount = 7 [default = 0];
getXceiverCount
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasLocation()
optional string location = 8;
hasLocation
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public String getLocation()
optional string location = 8;
getLocation
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public com.google.protobuf.ByteString getLocationBytes()
optional string location = 8;
getLocationBytes
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public boolean hasAdminState()
optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL];
hasAdminState
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
public HdfsProtos.DatanodeInfoProto.AdminState getAdminState()
optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL];
getAdminState
in interface HdfsProtos.DatanodeInfoProtoOrBuilder
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 HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeInfoProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeInfoProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeInfoProto parseFrom(InputStream input) throws IOException
IOException
public static HdfsProtos.DatanodeInfoProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.DatanodeInfoProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HdfsProtos.DatanodeInfoProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HdfsProtos.DatanodeInfoProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.DatanodeInfoProto.Builder newBuilder()
public HdfsProtos.DatanodeInfoProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static HdfsProtos.DatanodeInfoProto.Builder newBuilder(HdfsProtos.DatanodeInfoProto prototype)
public HdfsProtos.DatanodeInfoProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected HdfsProtos.DatanodeInfoProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.