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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
getDescriptorForType
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto build()
build
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
build
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public HAServiceProtocolProtos.GetServiceStatusResponseProto buildPartial()
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
buildPartial
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clone()
clone
in interface org.apache.hadoop.thirdparty.protobuf.Message.Builder
clone
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.apache.hadoop.thirdparty.protobuf.MessageLite.Builder
mergeFrom
in class org.apache.hadoop.thirdparty.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()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;
hasReadyToBecomeActive
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public boolean getReadyToBecomeActive()
If state is STANDBY, indicate whether it is ready to become active.
optional bool readyToBecomeActive = 2;
getReadyToBecomeActive
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public 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.GetServiceStatusResponseProtoOrBuilder
public String getNotReadyReason()
If not ready to become active, a textual explanation of why not
optional string notReadyReason = 3;
getNotReadyReason
in interface HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
public 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.GetServiceStatusResponseProtoOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.Builder<HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder>
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.