public class ReservationListResponsePBImpl
extends org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
ReservationListResponsePBImpl is the implementation of the
ReservationListResponse which captures the list of reservations
that the user has queried.| Constructor | Description |
|---|---|
ReservationListResponsePBImpl() |
|
ReservationListResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto |
getProto() |
|
java.util.List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> |
getReservationAllocationState() |
|
int |
hashCode() |
|
void |
setReservationAllocationState(java.util.List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations) |
|
java.lang.String |
toString() |
public ReservationListResponsePBImpl()
public ReservationListResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto getProto()
public java.util.List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> getReservationAllocationState()
getReservationAllocationState in class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponsepublic void setReservationAllocationState(java.util.List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations)
setReservationAllocationState in class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponsepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.