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, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>IOExceptionpublic 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 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.GetServiceStatusResponseProtoOrBuilderpublic boolean getReadyToBecomeActive()
optional bool readyToBecomeActive = 2;
If state is STANDBY, indicate whether it is ready to become active.
getReadyToBecomeActive in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic 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.GetServiceStatusResponseProtoOrBuilderpublic String getNotReadyReason()
optional string notReadyReason = 3;
If not ready to become active, a textual explanation of why not
getNotReadyReason in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic 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.GetServiceStatusResponseProtoOrBuilderpublic 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 © 2019 Apache Software Foundation. All Rights Reserved.