Class GetDisabledNameservicesResponsePBImpl

java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.GetDisabledNameservicesResponse
org.apache.hadoop.hdfs.server.federation.store.protocol.impl.pb.GetDisabledNameservicesResponsePBImpl
All Implemented Interfaces:
PBRecord

public class GetDisabledNameservicesResponsePBImpl extends GetDisabledNameservicesResponse implements PBRecord
Protobuf implementation of the state store API object GetDisabledNameservicesResponse.
  • Constructor Details

    • GetDisabledNameservicesResponsePBImpl

      public GetDisabledNameservicesResponsePBImpl()
    • GetDisabledNameservicesResponsePBImpl

      public GetDisabledNameservicesResponsePBImpl(org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetDisabledNameservicesResponseProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.hdfs.federation.protocol.proto.HdfsServerFederationProtos.GetDisabledNameservicesResponseProto getProto()
      Description copied from interface: PBRecord
      Get the protocol for the record.
      Specified by:
      getProto in interface PBRecord
      Returns:
      The protocol for this record.
    • setProto

      public void setProto(org.apache.hadoop.thirdparty.protobuf.Message proto)
      Description copied from interface: PBRecord
      Set the protocol for the record.
      Specified by:
      setProto in interface PBRecord
      Parameters:
      proto - Protocol for this record.
    • readInstance

      public void readInstance(String base64String) throws IOException
      Description copied from interface: PBRecord
      Populate this record with serialized data.
      Specified by:
      readInstance in interface PBRecord
      Parameters:
      base64String - Serialized data in base64.
      Throws:
      IOException - If it cannot read the data.
    • getNameservices

      public Set<String> getNameservices()
      Specified by:
      getNameservices in class GetDisabledNameservicesResponse
    • setNameservices

      public void setNameservices(Set<String> nameservices)
      Specified by:
      setNameservices in class GetDisabledNameservicesResponse