Class SubClusterDeregisterRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.records.SubClusterDeregisterRequest
org.apache.hadoop.yarn.server.federation.store.records.impl.pb.SubClusterDeregisterRequestPBImpl
@Private
@Unstable
public class SubClusterDeregisterRequestPBImpl
extends SubClusterDeregisterRequest
Protocol buffer based implementation of
SubClusterDeregisterRequest.-
Constructor Summary
ConstructorsConstructorDescriptionSubClusterDeregisterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProtogetProto()getState()Get theSubClusterStateof the subcluster.Get theSubClusterIdrepresenting the unique identifier of the subcluster.inthashCode()voidsetState(SubClusterState state) Set theSubClusterStateof the subcluster.voidsetSubClusterId(SubClusterId subClusterId) Set theSubClusterIdrepresenting the unique identifier of the subcluster.toString()Methods inherited from class org.apache.hadoop.yarn.server.federation.store.records.SubClusterDeregisterRequest
newInstance
-
Constructor Details
-
SubClusterDeregisterRequestPBImpl
public SubClusterDeregisterRequestPBImpl() -
SubClusterDeregisterRequestPBImpl
public SubClusterDeregisterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto getProto() -
hashCode
public int hashCode() -
equals
-
toString
-
getSubClusterId
Description copied from class:SubClusterDeregisterRequestGet theSubClusterIdrepresenting the unique identifier of the subcluster.- Specified by:
getSubClusterIdin classSubClusterDeregisterRequest- Returns:
- the subcluster identifier
-
setSubClusterId
Description copied from class:SubClusterDeregisterRequestSet theSubClusterIdrepresenting the unique identifier of the subcluster.- Specified by:
setSubClusterIdin classSubClusterDeregisterRequest- Parameters:
subClusterId- the subcluster identifier
-
getState
Description copied from class:SubClusterDeregisterRequestGet theSubClusterStateof the subcluster.- Specified by:
getStatein classSubClusterDeregisterRequest- Returns:
- the state of the subcluster
-
setState
Description copied from class:SubClusterDeregisterRequestSet theSubClusterStateof the subcluster.- Specified by:
setStatein classSubClusterDeregisterRequest- Parameters:
state- the state of the subCluster
-