PBRecordpublic class EnterSafeModeResponsePBImpl extends EnterSafeModeResponse implements PBRecord
| Constructor | Description |
|---|---|
EnterSafeModeResponsePBImpl() |
|
EnterSafeModeResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnterSafeModeResponseProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnterSafeModeResponseProto |
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 EnterSafeModeResponsePBImpl()
public EnterSafeModeResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnterSafeModeResponseProto proto)
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.EnterSafeModeResponseProto 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 EnterSafeModeResponsepublic void setStatus(boolean result)
setStatus in class EnterSafeModeResponseCopyright © 2008–2025 Apache Software Foundation. All rights reserved.