public static final class HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder> implements HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
Returns the state of the serviceProtobuf type
hadoop.common.GetServiceStatusResponseProto| Modifier and Type | Method and Description |
|---|---|
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HAServiceProtocolProtos.GetServiceStatusResponseProto |
build() |
HAServiceProtocolProtos.GetServiceStatusResponseProto |
buildPartial() |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clear() |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clearNotReadyReason()
If not ready to become active, a textual explanation of why not
|
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clearReadyToBecomeActive()
If state is STANDBY, indicate whether it is
ready to become active.
|
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clearState()
required .hadoop.common.HAServiceStateProto state = 1; |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
clone() |
HAServiceProtocolProtos.GetServiceStatusResponseProto |
getDefaultInstanceForType() |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNotReadyReason()
If not ready to become active, a textual explanation of why not
|
org.apache.hadoop.thirdparty.protobuf.ByteString |
getNotReadyReasonBytes()
If not ready to become active, a textual explanation of why not
|
boolean |
getReadyToBecomeActive()
If state is STANDBY, indicate whether it is
ready to become active.
|
HAServiceProtocolProtos.HAServiceStateProto |
getState()
required .hadoop.common.HAServiceStateProto state = 1; |
boolean |
hasNotReadyReason()
If not ready to become active, a textual explanation of why not
|
boolean |
hasReadyToBecomeActive()
If state is STANDBY, indicate whether it is
ready to become active.
|
boolean |
hasState()
required .hadoop.common.HAServiceStateProto state = 1; |
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input,
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
mergeFrom(HAServiceProtocolProtos.GetServiceStatusResponseProto other) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setNotReadyReason(String value)
If not ready to become active, a textual explanation of why not
|
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setNotReadyReasonBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
If not ready to become active, a textual explanation of why not
|
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setReadyToBecomeActive(boolean value)
If state is STANDBY, indicate whether it is
ready to become active.
|
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setState(HAServiceProtocolProtos.HAServiceStateProto value)
required .hadoop.common.HAServiceStateProto state = 1; |
HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder |
setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clear()
clear in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclear in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclear in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildergetDescriptorForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuildergetDescriptorForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto build()
build in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderbuild in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto buildPartial()
buildPartial in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderbuildPartial in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clone()
clone in interface org.apache.hadoop.thirdparty.protobuf.Message.Builderclone in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builderclone in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearOneof(org.apache.hadoop.thirdparty.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderclearOneof in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder addRepeatedField(org.apache.hadoop.thirdparty.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.apache.hadoop.thirdparty.protobuf.Message.BuilderaddRepeatedField in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.Message other)
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(HAServiceProtocolProtos.GetServiceStatusResponseProto other)
public final boolean isInitialized()
isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilderisInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeFrom in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.BuildermergeFrom in class org.apache.hadoop.thirdparty.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()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;hasReadyToBecomeActive in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic boolean getReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;getReadyToBecomeActive in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setReadyToBecomeActive(boolean value)
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;public boolean hasNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;hasNotReadyReason in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic String getNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;getNotReadyReason in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic org.apache.hadoop.thirdparty.protobuf.ByteString getNotReadyReasonBytes()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;getNotReadyReasonBytes in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilderpublic HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setNotReadyReason(String value)
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setNotReadyReasonBytes(org.apache.hadoop.thirdparty.protobuf.ByteString value)
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;public final HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildersetUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>public final HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeUnknownFields(org.apache.hadoop.thirdparty.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.apache.hadoop.thirdparty.protobuf.Message.BuildermergeUnknownFields in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>Copyright © 2008–2021 Apache Software Foundation. All rights reserved.