public static final class HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder> implements HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
hadoop.common.GetServiceStatusResponseProto
Returns the state of the service
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
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
Copyright © 2017 Apache Software Foundation. All Rights Reserved.