Class DeleteReservationHomeSubClusterRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.DeleteReservationHomeSubClusterRequest
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.DeleteReservationHomeSubClusterRequestPBImpl
@Private
@Unstable
public class DeleteReservationHomeSubClusterRequestPBImpl
extends DeleteReservationHomeSubClusterRequest
Protocol buffer based implementation of
DeleteReservationHomeSubClusterRequest.-
Constructor Summary
ConstructorsConstructorDescriptionDeleteReservationHomeSubClusterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.DeleteReservationHomeSubClusterRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.DeleteReservationHomeSubClusterRequestProtogetProto()org.apache.hadoop.yarn.api.records.ReservationIdGet the identifier of theReservationIdto be removed fromFederation state store.inthashCode()voidsetReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) Set the identifier of theReservationIdto be removed fromFederation state store.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.DeleteReservationHomeSubClusterRequest
newInstance
-
Constructor Details
-
DeleteReservationHomeSubClusterRequestPBImpl
public DeleteReservationHomeSubClusterRequestPBImpl() -
DeleteReservationHomeSubClusterRequestPBImpl
public DeleteReservationHomeSubClusterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.DeleteReservationHomeSubClusterRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.DeleteReservationHomeSubClusterRequestProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getReservationId
public org.apache.hadoop.yarn.api.records.ReservationId getReservationId()Description copied from class:DeleteReservationHomeSubClusterRequestGet the identifier of theReservationIdto be removed fromFederation state store.- Specified by:
getReservationIdin classDeleteReservationHomeSubClusterRequest- Returns:
- the identifier of the Reservation to be removed from Federation State Store.
-
setReservationId
public void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) Description copied from class:DeleteReservationHomeSubClusterRequestSet the identifier of theReservationIdto be removed fromFederation state store.- Specified by:
setReservationIdin classDeleteReservationHomeSubClusterRequest- Parameters:
reservationId- the identifier of the Reservation to be removed from Federation State Store.
-