public static final class HAServiceProtocolProtos.GetServiceStatusResponseProto extends com.google.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
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NOTREADYREASON_FIELD_NUMBER |
static com.google.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> |
PARSER
Deprecated.
|
static int |
READYTOBECOMEACTIVE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
public static final int STATE_FIELD_NUMBER
public static final int READYTOBECOMEACTIVE_FIELD_NUMBER
public static final int NOTREADYREASON_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuilderpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public 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 com.google.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 com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilderForType()
public static HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilder()
public static HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilder(HAServiceProtocolProtos.GetServiceStatusResponseProto prototype)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder toBuilder()
protected HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstance()
public static com.google.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> parser()
public com.google.protobuf.Parser<HAServiceProtocolProtos.GetServiceStatusResponseProto> getParserForType()
public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2008–2020 Apache Software Foundation. All rights reserved.