|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.protobuf.AbstractMessageLite.Builder<BuilderType> com.google.protobuf.AbstractMessage.Builder<BuilderType> com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder> org.apache.hadoop.ha.proto.HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder
public static final class HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder
Protobuf type hadoop.common.GetServiceStatusResponseProto
Returns the state of the service
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
---|
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields |
Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
---|
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
---|
addAll, newUninitializedMessageException |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.protobuf.MessageOrBuilder |
---|
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
Method Detail |
---|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HAServiceProtocolProtos.GetServiceStatusResponseProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(HAServiceProtocolProtos.GetServiceStatusResponseProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
IOException
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 HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setState(HAServiceProtocolProtos.HAServiceStateProto value)
required .hadoop.common.HAServiceStateProto state = 1;
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearState()
required .hadoop.common.HAServiceStateProto state = 1;
public boolean hasReadyToBecomeActive()
optional bool readyToBecomeActive = 2;
If state is STANDBY, indicate whether it is ready to become active.
hasReadyToBecomeActive
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public boolean getReadyToBecomeActive()
optional bool readyToBecomeActive = 2;
If state is STANDBY, indicate whether it is ready to become active.
getReadyToBecomeActive
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setReadyToBecomeActive(boolean value)
optional bool readyToBecomeActive = 2;
If state is STANDBY, indicate whether it is ready to become active.
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearReadyToBecomeActive()
optional bool readyToBecomeActive = 2;
If state is STANDBY, indicate whether it is ready to become active.
public boolean hasNotReadyReason()
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
hasNotReadyReason
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public String getNotReadyReason()
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
getNotReadyReason
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public com.google.protobuf.ByteString getNotReadyReasonBytes()
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
getNotReadyReasonBytes
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setNotReadyReason(String value)
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearNotReadyReason()
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setNotReadyReasonBytes(com.google.protobuf.ByteString value)
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |