Class GetAllResourceProfilesResponsePBImpl

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetAllResourceProfilesResponse
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetAllResourceProfilesResponsePBImpl

@Private @Unstable public class GetAllResourceProfilesResponsePBImpl extends org.apache.hadoop.yarn.api.protocolrecords.GetAllResourceProfilesResponse
Protobuf implementation class for the GetAllResourceProfilesResponse.
  • Constructor Details

    • GetAllResourceProfilesResponsePBImpl

      public GetAllResourceProfilesResponsePBImpl()
    • GetAllResourceProfilesResponsePBImpl

      public GetAllResourceProfilesResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetAllResourceProfilesResponseProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetAllResourceProfilesResponseProto getProto()
    • setResourceProfiles

      public void setResourceProfiles(Map<String,org.apache.hadoop.yarn.api.records.Resource> resourceProfiles)
      Specified by:
      setResourceProfiles in class org.apache.hadoop.yarn.api.protocolrecords.GetAllResourceProfilesResponse
    • getResourceProfiles

      public Map<String,org.apache.hadoop.yarn.api.records.Resource> getResourceProfiles()
      Specified by:
      getResourceProfiles in class org.apache.hadoop.yarn.api.protocolrecords.GetAllResourceProfilesResponse