Class GetReservationHomeSubClusterResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.GetReservationHomeSubClusterResponse
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.GetReservationHomeSubClusterResponsePBImpl
@Private
@Unstable
public class GetReservationHomeSubClusterResponsePBImpl
extends GetReservationHomeSubClusterResponse
Protocol buffer based implementation of
GetReservationHomeSubClusterResponse.-
Constructor Summary
ConstructorsConstructorDescriptionGetReservationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetReservationHomeSubClusterResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetReservationHomeSubClusterResponseProtogetProto()Get theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.inthashCode()voidsetReservationHomeSubCluster(ReservationHomeSubCluster reservationInfo) Set theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.GetReservationHomeSubClusterResponse
newInstance
-
Constructor Details
-
GetReservationHomeSubClusterResponsePBImpl
public GetReservationHomeSubClusterResponsePBImpl() -
GetReservationHomeSubClusterResponsePBImpl
public GetReservationHomeSubClusterResponsePBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetReservationHomeSubClusterResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.GetReservationHomeSubClusterResponseProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getReservationHomeSubCluster
Description copied from class:GetReservationHomeSubClusterResponseGet theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.- Specified by:
getReservationHomeSubClusterin classGetReservationHomeSubClusterResponse- Returns:
- the mapping of the reservation to it's home sub-cluster.
-
setReservationHomeSubCluster
Description copied from class:GetReservationHomeSubClusterResponseSet theReservationHomeSubClusterrepresenting the mapping of the Reservation to it's home sub-cluster.- Specified by:
setReservationHomeSubClusterin classGetReservationHomeSubClusterResponse- Parameters:
reservationInfo- the mapping of the reservation to it's home sub-cluster.
-