Class GetMountTableEntriesResponsePBImpl
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.GetMountTableEntriesResponse
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb.GetMountTableEntriesResponsePBImpl
- All Implemented Interfaces:
PBRecord
public class GetMountTableEntriesResponsePBImpl
extends GetMountTableEntriesResponse
implements PBRecord
Protobuf implementation of the state store API object
GetMountTableEntriesResponse.
-
Constructor Summary
ConstructorsConstructorDescriptionGetMountTableEntriesResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetMountTableEntriesResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetMountTableEntriesResponseProtogetProto()Get the protocol for the record.longvoidreadInstance(String base64String) Populate this record with serialized data.voidsetEntries(List<MountTable> records) voidsetProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Set the protocol for the record.voidsetTimestamp(long time) Methods inherited from class org.apache.hadoop.hdfs.server.federation.store.protocol.GetMountTableEntriesResponse
newInstance
-
Constructor Details
-
GetMountTableEntriesResponsePBImpl
public GetMountTableEntriesResponsePBImpl() -
GetMountTableEntriesResponsePBImpl
public GetMountTableEntriesResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetMountTableEntriesResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetMountTableEntriesResponseProto 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 classGetMountTableEntriesResponse- Throws:
IOException
-
setEntries
- Specified by:
setEntriesin classGetMountTableEntriesResponse- Throws:
IOException
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin classGetMountTableEntriesResponse
-
setTimestamp
public void setTimestamp(long time) - Specified by:
setTimestampin classGetMountTableEntriesResponse
-