public static final class DatanodeProtocolProtos.DatanodeRegistrationProto extends com.google.protobuf.GeneratedMessage implements DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
hadoop.hdfs.DatanodeRegistrationProto
Information to identify a datanode to a namenode
Modifier and Type | Class and Description |
---|---|
static class |
DatanodeProtocolProtos.DatanodeRegistrationProto.Builder
Protobuf type
hadoop.hdfs.DatanodeRegistrationProto |
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 |
DATANODEID_FIELD_NUMBER |
static int |
KEYS_FIELD_NUMBER |
static com.google.protobuf.Parser<DatanodeProtocolProtos.DatanodeRegistrationProto> |
PARSER |
static int |
SOFTWAREVERSION_FIELD_NUMBER |
static int |
STORAGEINFO_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
HdfsProtos.DatanodeIDProto |
getDatanodeID()
required .hadoop.hdfs.DatanodeIDProto datanodeID = 1; |
HdfsProtos.DatanodeIDProtoOrBuilder |
getDatanodeIDOrBuilder()
required .hadoop.hdfs.DatanodeIDProto datanodeID = 1; |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
getDefaultInstance() |
DatanodeProtocolProtos.DatanodeRegistrationProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HdfsProtos.ExportedBlockKeysProto |
getKeys()
required .hadoop.hdfs.ExportedBlockKeysProto keys = 3; |
HdfsProtos.ExportedBlockKeysProtoOrBuilder |
getKeysOrBuilder()
required .hadoop.hdfs.ExportedBlockKeysProto keys = 3; |
com.google.protobuf.Parser<DatanodeProtocolProtos.DatanodeRegistrationProto> |
getParserForType() |
int |
getSerializedSize() |
String |
getSoftwareVersion()
required string softwareVersion = 4; |
com.google.protobuf.ByteString |
getSoftwareVersionBytes()
required string softwareVersion = 4; |
HdfsProtos.StorageInfoProto |
getStorageInfo()
required .hadoop.hdfs.StorageInfoProto storageInfo = 2; |
HdfsProtos.StorageInfoProtoOrBuilder |
getStorageInfoOrBuilder()
required .hadoop.hdfs.StorageInfoProto storageInfo = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDatanodeID()
required .hadoop.hdfs.DatanodeIDProto datanodeID = 1; |
int |
hashCode() |
boolean |
hasKeys()
required .hadoop.hdfs.ExportedBlockKeysProto keys = 3; |
boolean |
hasSoftwareVersion()
required string softwareVersion = 4; |
boolean |
hasStorageInfo()
required .hadoop.hdfs.StorageInfoProto storageInfo = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DatanodeProtocolProtos.DatanodeRegistrationProto.Builder |
newBuilder() |
static DatanodeProtocolProtos.DatanodeRegistrationProto.Builder |
newBuilder(DatanodeProtocolProtos.DatanodeRegistrationProto prototype) |
DatanodeProtocolProtos.DatanodeRegistrationProto.Builder |
newBuilderForType() |
protected DatanodeProtocolProtos.DatanodeRegistrationProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseDelimitedFrom(InputStream input) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(byte[] data) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(com.google.protobuf.ByteString data) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(InputStream input) |
static DatanodeProtocolProtos.DatanodeRegistrationProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatanodeProtocolProtos.DatanodeRegistrationProto.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.DatanodeRegistrationProto> PARSER
public static final int DATANODEID_FIELD_NUMBER
public static final int STORAGEINFO_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
public static final int SOFTWAREVERSION_FIELD_NUMBER
public static DatanodeProtocolProtos.DatanodeRegistrationProto getDefaultInstance()
public DatanodeProtocolProtos.DatanodeRegistrationProto 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.DatanodeRegistrationProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasDatanodeID()
required .hadoop.hdfs.DatanodeIDProto datanodeID = 1;
Datanode information
hasDatanodeID
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public HdfsProtos.DatanodeIDProto getDatanodeID()
required .hadoop.hdfs.DatanodeIDProto datanodeID = 1;
Datanode information
getDatanodeID
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public HdfsProtos.DatanodeIDProtoOrBuilder getDatanodeIDOrBuilder()
required .hadoop.hdfs.DatanodeIDProto datanodeID = 1;
Datanode information
getDatanodeIDOrBuilder
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public boolean hasStorageInfo()
required .hadoop.hdfs.StorageInfoProto storageInfo = 2;
Node information
hasStorageInfo
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public HdfsProtos.StorageInfoProto getStorageInfo()
required .hadoop.hdfs.StorageInfoProto storageInfo = 2;
Node information
getStorageInfo
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public HdfsProtos.StorageInfoProtoOrBuilder getStorageInfoOrBuilder()
required .hadoop.hdfs.StorageInfoProto storageInfo = 2;
Node information
getStorageInfoOrBuilder
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public boolean hasKeys()
required .hadoop.hdfs.ExportedBlockKeysProto keys = 3;
Block keys
hasKeys
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public HdfsProtos.ExportedBlockKeysProto getKeys()
required .hadoop.hdfs.ExportedBlockKeysProto keys = 3;
Block keys
getKeys
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public HdfsProtos.ExportedBlockKeysProtoOrBuilder getKeysOrBuilder()
required .hadoop.hdfs.ExportedBlockKeysProto keys = 3;
Block keys
getKeysOrBuilder
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public boolean hasSoftwareVersion()
required string softwareVersion = 4;
Software version of the DN, e.g. "2.0.0"
hasSoftwareVersion
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public String getSoftwareVersion()
required string softwareVersion = 4;
Software version of the DN, e.g. "2.0.0"
getSoftwareVersion
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
public com.google.protobuf.ByteString getSoftwareVersionBytes()
required string softwareVersion = 4;
Software version of the DN, e.g. "2.0.0"
getSoftwareVersionBytes
in interface DatanodeProtocolProtos.DatanodeRegistrationProtoOrBuilder
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.DatanodeRegistrationProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(InputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeRegistrationProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DatanodeProtocolProtos.DatanodeRegistrationProto.Builder newBuilder()
public DatanodeProtocolProtos.DatanodeRegistrationProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DatanodeProtocolProtos.DatanodeRegistrationProto.Builder newBuilder(DatanodeProtocolProtos.DatanodeRegistrationProto prototype)
public DatanodeProtocolProtos.DatanodeRegistrationProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DatanodeProtocolProtos.DatanodeRegistrationProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.