org.apache.hadoop.ha.proto
Interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HAServiceProtocolProtos.GetServiceStatusResponseProto, HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder
Enclosing class:
HAServiceProtocolProtos

public static interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder


Method Summary
 String getNotReadyReason()
          optional string notReadyReason = 3;
 com.google.protobuf.ByteString getNotReadyReasonBytes()
          optional string notReadyReason = 3;
 boolean getReadyToBecomeActive()
          optional bool readyToBecomeActive = 2;
 HAServiceProtocolProtos.HAServiceStateProto getState()
          required .hadoop.common.HAServiceStateProto state = 1;
 boolean hasNotReadyReason()
          optional string notReadyReason = 3;
 boolean hasReadyToBecomeActive()
          optional bool readyToBecomeActive = 2;
 boolean hasState()
          required .hadoop.common.HAServiceStateProto state = 1;
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasState

boolean hasState()
required .hadoop.common.HAServiceStateProto state = 1;


getState

HAServiceProtocolProtos.HAServiceStateProto getState()
required .hadoop.common.HAServiceStateProto state = 1;


hasReadyToBecomeActive

boolean hasReadyToBecomeActive()
optional bool readyToBecomeActive = 2;
 If state is STANDBY, indicate whether it is
 ready to become active.
 


getReadyToBecomeActive

boolean getReadyToBecomeActive()
optional bool readyToBecomeActive = 2;
 If state is STANDBY, indicate whether it is
 ready to become active.
 


hasNotReadyReason

boolean hasNotReadyReason()
optional string notReadyReason = 3;
 If not ready to become active, a textual explanation of why not
 


getNotReadyReason

String getNotReadyReason()
optional string notReadyReason = 3;
 If not ready to become active, a textual explanation of why not
 


getNotReadyReasonBytes

com.google.protobuf.ByteString getNotReadyReasonBytes()
optional string notReadyReason = 3;
 If not ready to become active, a textual explanation of why not
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.