Class AddMountTableEntriesRequestPBImpl
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.AddMountTableEntriesRequest
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb.AddMountTableEntriesRequestPBImpl
- All Implemented Interfaces:
PBRecord
public class AddMountTableEntriesRequestPBImpl
extends AddMountTableEntriesRequest
implements PBRecord
Protobuf implementation of the state store API object addMountTableEntriesRequest.
-
Constructor Summary
ConstructorsConstructorDescriptionAddMountTableEntriesRequestPBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.AddMountTableEntriesRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.AddMountTableEntriesRequestProtogetProto()Get the protocol for the record.voidreadInstance(String base64String) Populate this record with serialized data.voidsetEntries(List<MountTable> mountTables) voidsetProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Set the protocol for the record.Methods inherited from class org.apache.hadoop.hdfs.server.federation.store.protocol.AddMountTableEntriesRequest
newInstance, newInstance
-
Constructor Details
-
AddMountTableEntriesRequestPBImpl
public AddMountTableEntriesRequestPBImpl() -
AddMountTableEntriesRequestPBImpl
public AddMountTableEntriesRequestPBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.AddMountTableEntriesRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.AddMountTableEntriesRequestProto 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.
-
getEntries
- Specified by:
getEntriesin classAddMountTableEntriesRequest
-
setEntries
- Specified by:
setEntriesin classAddMountTableEntriesRequest
-