Class RemoveMountTableEntryResponsePBImpl
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.RemoveMountTableEntryResponse
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb.RemoveMountTableEntryResponsePBImpl
- All Implemented Interfaces:
PBRecord
public class RemoveMountTableEntryResponsePBImpl
extends RemoveMountTableEntryResponse
implements PBRecord
Protobuf implementation of the state store API object
RemoveMountTableEntryResponse.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveMountTableEntryResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RemoveMountTableEntryResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RemoveMountTableEntryResponseProtogetProto()Get the protocol for the record.booleanvoidreadInstance(String base64String) Populate this record with serialized data.voidsetProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Set the protocol for the record.voidsetStatus(boolean result) Methods inherited from class org.apache.hadoop.hdfs.server.federation.store.protocol.RemoveMountTableEntryResponse
newInstance
-
Constructor Details
-
RemoveMountTableEntryResponsePBImpl
public RemoveMountTableEntryResponsePBImpl() -
RemoveMountTableEntryResponsePBImpl
public RemoveMountTableEntryResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RemoveMountTableEntryResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.RemoveMountTableEntryResponseProto getProto()Description copied from interface:PBRecordGet the protocol for the record. -
setProto
public void setProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Description copied from interface:PBRecordSet the protocol for the record. -
readInstance
Description copied from interface:PBRecordPopulate this record with serialized data.- Specified by:
readInstancein interfacePBRecord- Parameters:
base64String- Serialized data in base64.- Throws:
IOException- If it cannot read the data.
-
getStatus
public boolean getStatus()- Specified by:
getStatusin classRemoveMountTableEntryResponse
-
setStatus
public void setStatus(boolean result) - Specified by:
setStatusin classRemoveMountTableEntryResponse
-