public static final class HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder extends <any> implements HAServiceProtocolProtos.GetServiceStatusResponseProtoOrBuilder
Returns the state of the serviceProtobuf type
hadoop.common.GetServiceStatusResponseProto
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto build()
public HAServiceProtocolProtos.GetServiceStatusResponseProto buildPartial()
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clone()
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(com.google.protobuf.Message other)
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(HAServiceProtocolProtos.GetServiceStatusResponseProto other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
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 com.google.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(com.google.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(com.google.protobuf.UnknownFieldSet unknownFields)
public final HAServiceProtocolProtos.GetServiceStatusResponseProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.