@InterfaceAudience.Private @InterfaceStability.Unstable public class SubClusterDeregisterRequestPBImpl extends SubClusterDeregisterRequest
SubClusterDeregisterRequest
.Constructor and Description |
---|
SubClusterDeregisterRequestPBImpl() |
SubClusterDeregisterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto |
getProto() |
SubClusterState |
getState()
Get the
SubClusterState of the subcluster. |
SubClusterId |
getSubClusterId()
Get the
SubClusterId representing the unique identifier of the
subcluster. |
int |
hashCode() |
void |
setState(SubClusterState state)
Set the
SubClusterState of the subcluster. |
void |
setSubClusterId(SubClusterId subClusterId)
Set the
SubClusterId representing the unique identifier of the
subcluster. |
String |
toString() |
newInstance
public SubClusterDeregisterRequestPBImpl()
public SubClusterDeregisterRequestPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto proto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.SubClusterDeregisterRequestProto getProto()
public SubClusterId getSubClusterId()
SubClusterDeregisterRequest
SubClusterId
representing the unique identifier of the
subcluster.getSubClusterId
in class SubClusterDeregisterRequest
public void setSubClusterId(SubClusterId subClusterId)
SubClusterDeregisterRequest
SubClusterId
representing the unique identifier of the
subcluster.setSubClusterId
in class SubClusterDeregisterRequest
subClusterId
- the subcluster identifierpublic SubClusterState getState()
SubClusterDeregisterRequest
SubClusterState
of the subcluster.getState
in class SubClusterDeregisterRequest
public void setState(SubClusterState state)
SubClusterDeregisterRequest
SubClusterState
of the subcluster.setState
in class SubClusterDeregisterRequest
state
- the state of the subClusterCopyright © 2008–2024 Apache Software Foundation. All rights reserved.