public static final class Protos.DrainInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.DrainInfoOrBuilder
mesos.DrainInfo
Modifier and Type | Class and Description |
---|---|
static class |
Protos.DrainInfo.Builder
Protobuf type
mesos.DrainInfo |
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
STATE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.DrainConfig |
getConfig()
The configuration used to drain the agent.
|
Protos.DrainConfigOrBuilder |
getConfigOrBuilder()
The configuration used to drain the agent.
|
static Protos.DrainInfo |
getDefaultInstance() |
Protos.DrainInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.DrainState |
getState()
The drain state of the agent.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConfig()
The configuration used to drain the agent.
|
int |
hashCode() |
boolean |
hasState()
The drain state of the agent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.DrainInfo.Builder |
newBuilder() |
static Protos.DrainInfo.Builder |
newBuilder(Protos.DrainInfo prototype) |
Protos.DrainInfo.Builder |
newBuilderForType() |
protected Protos.DrainInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.DrainInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.DrainInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DrainInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DrainInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.DrainInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DrainInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.DrainInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DrainInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.DrainInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.DrainInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.DrainInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int STATE_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasState()
The drain state of the agent.
required .mesos.DrainState state = 1;
hasState
in interface Protos.DrainInfoOrBuilder
public Protos.DrainState getState()
The drain state of the agent.
required .mesos.DrainState state = 1;
getState
in interface Protos.DrainInfoOrBuilder
public boolean hasConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;
hasConfig
in interface Protos.DrainInfoOrBuilder
public Protos.DrainConfig getConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;
getConfig
in interface Protos.DrainInfoOrBuilder
public Protos.DrainConfigOrBuilder getConfigOrBuilder()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;
getConfigOrBuilder
in interface Protos.DrainInfoOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.DrainInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DrainInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DrainInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DrainInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DrainInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.DrainInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.DrainInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.DrainInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.DrainInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.DrainInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.DrainInfo.Builder newBuilderForType()
public static Protos.DrainInfo.Builder newBuilder()
public static Protos.DrainInfo.Builder newBuilder(Protos.DrainInfo prototype)
public Protos.DrainInfo.Builder toBuilder()
protected Protos.DrainInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.DrainInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.DrainInfo getDefaultInstanceForType()