Class GetDestinationRequestPBImpl
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.GetDestinationRequest
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb.GetDestinationRequestPBImpl
- All Implemented Interfaces:
PBRecord
Protobuf implementation of the state store API object
GetDestinationRequest.
-
Constructor Summary
ConstructorsConstructorDescriptionGetDestinationRequestPBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetDestinationRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetDestinationRequestProtogetProto()Get the protocol for the record.voidreadInstance(String base64String) Populate this record with serialized data.voidsetProto(org.apache.hadoop.thirdparty.protobuf.Message proto) Set the protocol for the record.voidsetSrcPath(String path) Methods inherited from class org.apache.hadoop.hdfs.server.federation.store.protocol.GetDestinationRequest
newInstance, newInstance, newInstance
-
Constructor Details
-
GetDestinationRequestPBImpl
public GetDestinationRequestPBImpl() -
GetDestinationRequestPBImpl
public GetDestinationRequestPBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetDestinationRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetDestinationRequestProto 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.
-
getSrcPath
- Specified by:
getSrcPathin classGetDestinationRequest
-
setSrcPath
- Specified by:
setSrcPathin classGetDestinationRequest
-