Class HAZKInfoProtos.ActiveNodeInfo
java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessage
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.hdfs.server.namenode.ha.proto.HAZKInfoProtos.ActiveNodeInfo
- All Implemented Interfaces:
Serializable,HAZKInfoProtos.ActiveNodeInfoOrBuilder,org.apache.hadoop.thirdparty.protobuf.Message,org.apache.hadoop.thirdparty.protobuf.MessageLite,org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- Enclosing class:
- HAZKInfoProtos
public static final class HAZKInfoProtos.ActiveNodeInfo
extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
implements HAZKInfoProtos.ActiveNodeInfoOrBuilder
Protobuf type
hadoop.hdfs.ActiveNodeInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typehadoop.hdfs.ActiveNodeInfoNested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final org.apache.hadoop.thirdparty.protobuf.Parser<HAZKInfoProtos.ActiveNodeInfo>Deprecated.static final intstatic final intFields inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
memoizedSizeFields inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptorrequired string hostname = 3;org.apache.hadoop.thirdparty.protobuf.ByteStringrequired string hostname = 3;required string namenodeId = 2;org.apache.hadoop.thirdparty.protobuf.ByteStringrequired string namenodeId = 2;required string nameserviceId = 1;org.apache.hadoop.thirdparty.protobuf.ByteStringrequired string nameserviceId = 1;org.apache.hadoop.thirdparty.protobuf.Parser<HAZKInfoProtos.ActiveNodeInfo>intgetPort()required int32 port = 4;intintrequired int32 zkfcPort = 5;inthashCode()booleanrequired string hostname = 3;booleanrequired string namenodeId = 2;booleanrequired string nameserviceId = 1;booleanhasPort()required int32 port = 4;booleanrequired int32 zkfcPort = 5;protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(HAZKInfoProtos.ActiveNodeInfo prototype) protected HAZKInfoProtos.ActiveNodeInfo.BuildernewBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) static org.apache.hadoop.thirdparty.protobuf.Parser<HAZKInfoProtos.ActiveNodeInfo>parser()voidwriteTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) Methods inherited from class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAMESERVICEID_FIELD_NUMBER
public static final int NAMESERVICEID_FIELD_NUMBER- See Also:
-
NAMENODEID_FIELD_NUMBER
public static final int NAMENODEID_FIELD_NUMBER- See Also:
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER- See Also:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- See Also:
-
ZKFCPORT_FIELD_NUMBER
public static final int ZKFCPORT_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<HAZKInfoProtos.ActiveNodeInfo> PARSERDeprecated.
-
-
Method Details
-
newInstance
protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
newInstancein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDescriptor
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
hasNameserviceId
public boolean hasNameserviceId()required string nameserviceId = 1;- Specified by:
hasNameserviceIdin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- Whether the nameserviceId field is set.
-
getNameserviceId
required string nameserviceId = 1;- Specified by:
getNameserviceIdin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The nameserviceId.
-
getNameserviceIdBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getNameserviceIdBytes()required string nameserviceId = 1;- Specified by:
getNameserviceIdBytesin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The bytes for nameserviceId.
-
hasNamenodeId
public boolean hasNamenodeId()required string namenodeId = 2;- Specified by:
hasNamenodeIdin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- Whether the namenodeId field is set.
-
getNamenodeId
required string namenodeId = 2;- Specified by:
getNamenodeIdin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The namenodeId.
-
getNamenodeIdBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getNamenodeIdBytes()required string namenodeId = 2;- Specified by:
getNamenodeIdBytesin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The bytes for namenodeId.
-
hasHostname
public boolean hasHostname()required string hostname = 3;- Specified by:
hasHostnamein interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- Whether the hostname field is set.
-
getHostname
required string hostname = 3;- Specified by:
getHostnamein interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public org.apache.hadoop.thirdparty.protobuf.ByteString getHostnameBytes()required string hostname = 3;- Specified by:
getHostnameBytesin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The bytes for hostname.
-
hasPort
public boolean hasPort()required int32 port = 4;- Specified by:
hasPortin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- Whether the port field is set.
-
getPort
public int getPort()required int32 port = 4;- Specified by:
getPortin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The port.
-
hasZkfcPort
public boolean hasZkfcPort()required int32 zkfcPort = 5;- Specified by:
hasZkfcPortin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- Whether the zkfcPort field is set.
-
getZkfcPort
public int getZkfcPort()required int32 zkfcPort = 5;- Specified by:
getZkfcPortin interfaceHAZKInfoProtos.ActiveNodeInfoOrBuilder- Returns:
- The zkfcPort.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException - Specified by:
writeToin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
writeToin classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getSerializedSizein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
equalsin classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Overrides:
hashCodein classorg.apache.hadoop.thirdparty.protobuf.AbstractMessage
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException - Throws:
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HAZKInfoProtos.ActiveNodeInfo parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HAZKInfoProtos.ActiveNodeInfo parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HAZKInfoProtos.ActiveNodeInfo parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
newBuilderForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static HAZKInfoProtos.ActiveNodeInfo.Builder newBuilder(HAZKInfoProtos.ActiveNodeInfo prototype) -
toBuilder
- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
toBuilderin interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite
-
newBuilderForType
protected HAZKInfoProtos.ActiveNodeInfo.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
public org.apache.hadoop.thirdparty.protobuf.Parser<HAZKInfoProtos.ActiveNodeInfo> getParserForType()- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.Message- Specified by:
getParserForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLite- Overrides:
getParserForTypein classorg.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-