Class GetApplicationsRequestPBImpl

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetApplicationsRequestPBImpl

@Private @Unstable public class GetApplicationsRequestPBImpl extends org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
  • Constructor Details

    • GetApplicationsRequestPBImpl

      public GetApplicationsRequestPBImpl()
    • GetApplicationsRequestPBImpl

      public GetApplicationsRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto getProto()
    • getApplicationTypes

      public Set<String> getApplicationTypes()
      Specified by:
      getApplicationTypes in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setApplicationTypes

      public void setApplicationTypes(Set<String> applicationTypes)
      Specified by:
      setApplicationTypes in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getApplicationTags

      public Set<String> getApplicationTags()
      Specified by:
      getApplicationTags in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setApplicationTags

      public void setApplicationTags(Set<String> tags)
      Specified by:
      setApplicationTags in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getApplicationStates

      public EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> getApplicationStates()
      Specified by:
      getApplicationStates in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getScope

      public org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope getScope()
      Specified by:
      getScope in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setScope

      public void setScope(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope scope)
      Specified by:
      setScope in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setApplicationStates

      public void setApplicationStates(EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> applicationStates)
      Specified by:
      setApplicationStates in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setApplicationStates

      public void setApplicationStates(Set<String> applicationStates)
      Specified by:
      setApplicationStates in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getUsers

      public Set<String> getUsers()
      Specified by:
      getUsers in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setUsers

      public void setUsers(Set<String> users)
      Specified by:
      setUsers in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getQueues

      public Set<String> getQueues()
      Specified by:
      getQueues in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setQueues

      public void setQueues(Set<String> queues)
      Specified by:
      setQueues in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getLimit

      public long getLimit()
      Specified by:
      getLimit in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setLimit

      public void setLimit(long limit)
      Specified by:
      setLimit in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getStartRange

      public org.apache.commons.lang3.Range<Long> getStartRange()
      Specified by:
      getStartRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setStartRange

      public void setStartRange(org.apache.commons.lang3.Range<Long> range)
      Specified by:
      setStartRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setStartRange

      public void setStartRange(long begin, long end) throws IllegalArgumentException
      Specified by:
      setStartRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
      Throws:
      IllegalArgumentException
    • getFinishRange

      public org.apache.commons.lang3.Range<Long> getFinishRange()
      Specified by:
      getFinishRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setFinishRange

      public void setFinishRange(org.apache.commons.lang3.Range<Long> range)
      Specified by:
      setFinishRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setFinishRange

      public void setFinishRange(long begin, long end)
      Specified by:
      setFinishRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • getName

      public String getName()
      Specified by:
      getName in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • setName

      public void setName(String name)
      Specified by:
      setName in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object