public static interface Protos.DrainInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.DrainConfig |
getConfig()
The configuration used to drain the agent.
|
Protos.DrainConfigOrBuilder |
getConfigOrBuilder()
The configuration used to drain the agent.
|
Protos.DrainState |
getState()
The drain state of the agent.
|
boolean |
hasConfig()
The configuration used to drain the agent.
|
boolean |
hasState()
The drain state of the agent.
|
boolean hasState()
The drain state of the agent.
required .mesos.DrainState state = 1;
Protos.DrainState getState()
The drain state of the agent.
required .mesos.DrainState state = 1;
boolean hasConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;
Protos.DrainConfig getConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;
Protos.DrainConfigOrBuilder getConfigOrBuilder()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;