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, 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.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.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.DatanodeIDProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasIpAddr()
required string ipAddr = 1;
IP address
hasIpAddr
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public String getIpAddr()
required string ipAddr = 1;
IP address
getIpAddr
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public com.google.protobuf.ByteString getIpAddrBytes()
required string ipAddr = 1;
IP address
getIpAddrBytes
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public boolean hasHostName()
required string hostName = 2;
hostname
hasHostName
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public String getHostName()
required string hostName = 2;
hostname
getHostName
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public com.google.protobuf.ByteString getHostNameBytes()
required string hostName = 2;
hostname
getHostNameBytes
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public boolean hasStorageID()
required string storageID = 3;
unique storage id
hasStorageID
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public String getStorageID()
required string storageID = 3;
unique storage id
getStorageID
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public com.google.protobuf.ByteString getStorageIDBytes()
required string storageID = 3;
unique storage id
getStorageIDBytes
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public boolean hasXferPort()
required uint32 xferPort = 4;
data streaming port
hasXferPort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public int getXferPort()
required uint32 xferPort = 4;
data streaming port
getXferPort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public boolean hasInfoPort()
required uint32 infoPort = 5;
datanode http port
hasInfoPort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public int getInfoPort()
required uint32 infoPort = 5;
datanode http port
getInfoPort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public boolean hasIpcPort()
required uint32 ipcPort = 6;
ipc server port
hasIpcPort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public int getIpcPort()
required uint32 ipcPort = 6;
ipc server port
getIpcPort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public boolean hasInfoSecurePort()
optional uint32 infoSecurePort = 7 [default = 0];
datanode https port
hasInfoSecurePort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
public int getInfoSecurePort()
optional uint32 infoSecurePort = 7 [default = 0];
datanode https port
getInfoSecurePort
in interface HdfsProtos.DatanodeIDProtoOrBuilder
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.DatanodeIDProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeIDProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeIDProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeIDProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HdfsProtos.DatanodeIDProto parseFrom(InputStream input) throws IOException
IOException
public static HdfsProtos.DatanodeIDProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.DatanodeIDProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HdfsProtos.DatanodeIDProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.DatanodeIDProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HdfsProtos.DatanodeIDProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HdfsProtos.DatanodeIDProto.Builder newBuilder()
public HdfsProtos.DatanodeIDProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static HdfsProtos.DatanodeIDProto.Builder newBuilder(HdfsProtos.DatanodeIDProto prototype)
public HdfsProtos.DatanodeIDProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected HdfsProtos.DatanodeIDProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013 Apache Software Foundation. All rights reserved.