PBRecordpublic class LeaveSafeModeResponsePBImpl extends LeaveSafeModeResponse implements PBRecord
| Constructor | Description |
|---|---|
LeaveSafeModeResponsePBImpl() |
|
LeaveSafeModeResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.LeaveSafeModeResponseProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.LeaveSafeModeResponseProto |
getProto() |
Get the protocol for the record.
|
boolean |
getStatus() |
|
void |
readInstance(java.lang.String base64String) |
Populate this record with serialized data.
|
void |
setProto(org.apache.hadoop.thirdparty.protobuf.Message proto) |
Set the protocol for the record.
|
void |
setStatus(boolean result) |
newInstance, newInstancepublic LeaveSafeModeResponsePBImpl()
public LeaveSafeModeResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.LeaveSafeModeResponseProto proto)
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.LeaveSafeModeResponseProto getProto()
PBRecordpublic void setProto(org.apache.hadoop.thirdparty.protobuf.Message proto)
PBRecordpublic void readInstance(java.lang.String base64String)
throws java.io.IOException
PBRecordreadInstance in interface PBRecordbase64String - Serialized data in base64.java.io.IOException - If it cannot read the data.public boolean getStatus()
getStatus in class LeaveSafeModeResponsepublic void setStatus(boolean result)
setStatus in class LeaveSafeModeResponseCopyright © 2008–2025 Apache Software Foundation. All rights reserved.