public static final class HAServiceProtocolProtos.GetServiceStatusResponseProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
Returns the state of the serviceProtobuf type
hadoop.common.GetServiceStatusResponseProto| Modifier and Type | Class and Description |
|---|---|
static class |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder
Returns the state of the service
|
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.ExtendableMessage>, org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
NOTREADYREASON_FIELD_NUMBER |
static org.apache.hadoop.thirdparty.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> |
PARSER
Deprecated.
|
static int |
READYTOBECOMEACTIVE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
getDefaultInstance() |
HAServiceProtocolProtos.GetServiceStatusResponseProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNotReadyReason()
If not ready to become active, a textual explanation of why not
|
org.apache.hadoop.thirdparty.protobuf.ByteString |
getNotReadyReasonBytes()
If not ready to become active, a textual explanation of why not
|
org.apache.hadoop.thirdparty.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> |
getParserForType() |
boolean |
getReadyToBecomeActive()
If state is STANDBY, indicate whether it is
ready to become active.
|
int |
getSerializedSize() |
HAServiceProtocolProtos.HAServiceStateProto |
getState()
required .hadoop.common.HAServiceStateProto state = 1; |
org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasNotReadyReason()
If not ready to become active, a textual explanation of why not
|
boolean |
hasReadyToBecomeActive()
If state is STANDBY, indicate whether it is
ready to become active.
|
boolean |
hasState()
required .hadoop.common.HAServiceStateProto state = 1; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
newBuilder() |
static HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
newBuilder(HAServiceProtocolProtos.GetServiceStatusResponseProto prototype) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
newBuilderForType() |
protected HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseDelimitedFrom(InputStream input) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseDelimitedFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(byte[] data) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(byte[] data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(ByteBuffer data) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(ByteBuffer data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(InputStream input) |
static HAServiceProtocolProtos.GetServiceStatusResponseProto |
parseFrom(InputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.apache.hadoop.thirdparty.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> |
parser() |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
toBuilder() |
void |
writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STATE_FIELD_NUMBER
public static final int READYTOBECOMEACTIVE_FIELD_NUMBER
public static final int NOTREADYREASON_FIELD_NUMBER
@Deprecated public static final org.apache.hadoop.thirdparty.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> PARSER
public final org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean hasState()
required .hadoop.common.HAServiceStateProto state = 1;hasState in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic HAServiceProtocolProtos.HAServiceStateProto getState()
required .hadoop.common.HAServiceStateProto state = 1;getState in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic boolean hasReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;hasReadyToBecomeActive in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic boolean getReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;getReadyToBecomeActive in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic boolean hasNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;hasNotReadyReason in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic String getNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;getNotReadyReason in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic org.apache.hadoop.thirdparty.protobuf.ByteString getNotReadyReasonBytes()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;getNotReadyReasonBytes in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.hadoop.thirdparty.protobuf.MessageLitewriteTo in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetSerializedSize in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.apache.hadoop.thirdparty.protobuf.Messageequals in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.apache.hadoop.thirdparty.protobuf.MessagehashCode in class org.apache.hadoop.thirdparty.protobuf.AbstractMessagepublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilderForType()
newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessagenewBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitepublic static HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilder()
public static HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilder(HAServiceProtocolProtos.GetServiceStatusResponseProto prototype)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder toBuilder()
toBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessagetoBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteprotected HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public static HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstance()
public static org.apache.hadoop.thirdparty.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> parser()
public org.apache.hadoop.thirdparty.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> getParserForType()
getParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessagegetParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLitegetParserForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderCopyright © 2008–2021 Apache Software Foundation. All rights reserved.