public static final class HdfsProtos.DatanodeIDProto extends com.google.protobuf.GeneratedMessage implements HdfsProtos.DatanodeIDProtoOrBuilder
hadoop.hdfs.DatanodeIDProto
Identifies a Datanode
| Modifier and Type | Class and Description |
|---|---|
static class |
HdfsProtos.DatanodeIDProto.Builder
Protobuf type
hadoop.hdfs.DatanodeIDProto |
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 |
HOSTNAME_FIELD_NUMBER |
static int |
INFOPORT_FIELD_NUMBER |
static int |
INFOSECUREPORT_FIELD_NUMBER |
static int |
IPADDR_FIELD_NUMBER |
static int |
IPCPORT_FIELD_NUMBER |
static com.google.protobuf.Parser<HdfsProtos.DatanodeIDProto> |
PARSER |
static int |
STORAGEID_FIELD_NUMBER |
static int |
XFERPORT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static HdfsProtos.DatanodeIDProto |
getDefaultInstance() |
HdfsProtos.DatanodeIDProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHostName()
required string hostName = 2; |
com.google.protobuf.ByteString |
getHostNameBytes()
required string hostName = 2; |
int |
getInfoPort()
required uint32 infoPort = 5; |
int |
getInfoSecurePort()
optional uint32 infoSecurePort = 7 [default = 0]; |
String |
getIpAddr()
required string ipAddr = 1; |
com.google.protobuf.ByteString |
getIpAddrBytes()
required string ipAddr = 1; |
int |
getIpcPort()
required uint32 ipcPort = 6; |
com.google.protobuf.Parser<HdfsProtos.DatanodeIDProto> |
getParserForType() |
int |
getSerializedSize() |
String |
getStorageID()
required string storageID = 3; |
com.google.protobuf.ByteString |
getStorageIDBytes()
required string storageID = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getXferPort()
required uint32 xferPort = 4; |
int |
hashCode() |
boolean |
hasHostName()
required string hostName = 2; |
boolean |
hasInfoPort()
required uint32 infoPort = 5; |
boolean |
hasInfoSecurePort()
optional uint32 infoSecurePort = 7 [default = 0]; |
boolean |
hasIpAddr()
required string ipAddr = 1; |
boolean |
hasIpcPort()
required uint32 ipcPort = 6; |
boolean |
hasStorageID()
required string storageID = 3; |
boolean |
hasXferPort()
required uint32 xferPort = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HdfsProtos.DatanodeIDProto.Builder |
newBuilder() |
static HdfsProtos.DatanodeIDProto.Builder |
newBuilder(HdfsProtos.DatanodeIDProto prototype) |
HdfsProtos.DatanodeIDProto.Builder |
newBuilderForType() |
protected HdfsProtos.DatanodeIDProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static HdfsProtos.DatanodeIDProto |
parseDelimitedFrom(InputStream input) |
static HdfsProtos.DatanodeIDProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeIDProto |
parseFrom(byte[] data) |
static HdfsProtos.DatanodeIDProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeIDProto |
parseFrom(com.google.protobuf.ByteString data) |
static HdfsProtos.DatanodeIDProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeIDProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HdfsProtos.DatanodeIDProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HdfsProtos.DatanodeIDProto |
parseFrom(InputStream input) |
static HdfsProtos.DatanodeIDProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HdfsProtos.DatanodeIDProto.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.DatanodeIDProto> PARSER
public static final int IPADDR_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int STORAGEID_FIELD_NUMBER
public static final int XFERPORT_FIELD_NUMBER
public static final int INFOPORT_FIELD_NUMBER
public static final int IPCPORT_FIELD_NUMBER
public static final int INFOSECUREPORT_FIELD_NUMBER
public static HdfsProtos.DatanodeIDProto getDefaultInstance()
public HdfsProtos.DatanodeIDProto 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.DatanodeIDProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasIpAddr()
required string ipAddr = 1;
IP address
hasIpAddr in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic String getIpAddr()
required string ipAddr = 1;
IP address
getIpAddr in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic com.google.protobuf.ByteString getIpAddrBytes()
required string ipAddr = 1;
IP address
getIpAddrBytes in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic boolean hasHostName()
required string hostName = 2;
hostname
hasHostName in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic String getHostName()
required string hostName = 2;
hostname
getHostName in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic com.google.protobuf.ByteString getHostNameBytes()
required string hostName = 2;
hostname
getHostNameBytes in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic boolean hasStorageID()
required string storageID = 3;
unique storage id
hasStorageID in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic String getStorageID()
required string storageID = 3;
unique storage id
getStorageID in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic com.google.protobuf.ByteString getStorageIDBytes()
required string storageID = 3;
unique storage id
getStorageIDBytes in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic boolean hasXferPort()
required uint32 xferPort = 4;
data streaming port
hasXferPort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic int getXferPort()
required uint32 xferPort = 4;
data streaming port
getXferPort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic boolean hasInfoPort()
required uint32 infoPort = 5;
datanode http port
hasInfoPort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic int getInfoPort()
required uint32 infoPort = 5;
datanode http port
getInfoPort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic boolean hasIpcPort()
required uint32 ipcPort = 6;
ipc server port
hasIpcPort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic int getIpcPort()
required uint32 ipcPort = 6;
ipc server port
getIpcPort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic boolean hasInfoSecurePort()
optional uint32 infoSecurePort = 7 [default = 0];
datanode https port
hasInfoSecurePort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic int getInfoSecurePort()
optional uint32 infoSecurePort = 7 [default = 0];
datanode https port
getInfoSecurePort in interface HdfsProtos.DatanodeIDProtoOrBuilderpublic 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.DatanodeIDProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeIDProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeIDProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeIDProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HdfsProtos.DatanodeIDProto.Builder newBuilder()
public HdfsProtos.DatanodeIDProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HdfsProtos.DatanodeIDProto.Builder newBuilder(HdfsProtos.DatanodeIDProto prototype)
public HdfsProtos.DatanodeIDProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HdfsProtos.DatanodeIDProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013 Apache Software Foundation. All rights reserved.