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.MessageOrBuilder
public 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.GetServiceStatusResponseProtoOrBuilder
public HAServiceProtocolProtos.HAServiceStateProto getState()
required .hadoop.common.HAServiceStateProto state = 1;
getState
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public boolean hasReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;
hasReadyToBecomeActive
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public boolean getReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;
getReadyToBecomeActive
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public boolean hasNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;
hasNotReadyReason
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public String getNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;
getNotReadyReason
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public 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.GetServiceStatusResponseProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public 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.InvalidProtocolBufferException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(InputStream input) throws IOException
IOException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HAServiceProtocolProtos.GetServiceStatusResponseProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.