public static final class Protos.DrainInfo.Builder extends <any> implements Protos.DrainInfoOrBuilder
mesos.DrainInfo| Modifier and Type | Method and Description |
|---|---|
Protos.DrainInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.DrainInfo |
build() |
Protos.DrainInfo |
buildPartial() |
Protos.DrainInfo.Builder |
clear() |
Protos.DrainInfo.Builder |
clearConfig()
The configuration used to drain the agent.
|
Protos.DrainInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.DrainInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.DrainInfo.Builder |
clearState()
The drain state of the agent.
|
Protos.DrainInfo.Builder |
clone() |
Protos.DrainConfig |
getConfig()
The configuration used to drain the agent.
|
Protos.DrainConfig.Builder |
getConfigBuilder()
The configuration used to drain the agent.
|
Protos.DrainConfigOrBuilder |
getConfigOrBuilder()
The configuration used to drain the agent.
|
Protos.DrainInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.DrainInfo.Builder |
mergeConfig(Protos.DrainConfig value)
The configuration used to drain the agent.
|
Protos.DrainInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.DrainInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.DrainInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.DrainInfo.Builder |
setConfig(Protos.DrainConfig.Builder builderForValue)
The configuration used to drain the agent.
|
Protos.DrainInfo.Builder |
setConfig(Protos.DrainConfig value)
The configuration used to drain the agent.
|
Protos.DrainInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.DrainInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.DrainInfo.Builder |
setState(Protos.DrainState value)
The drain state of the agent.
|
Protos.DrainInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.DrainInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.DrainInfo getDefaultInstanceForType()
public Protos.DrainInfo build()
public Protos.DrainInfo buildPartial()
public Protos.DrainInfo.Builder clone()
public Protos.DrainInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.DrainInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.DrainInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.DrainInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.DrainInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.DrainInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.DrainInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasState()
The drain state of the agent.
required .mesos.DrainState state = 1;hasState in interface Protos.DrainInfoOrBuilderpublic Protos.DrainState getState()
The drain state of the agent.
required .mesos.DrainState state = 1;getState in interface Protos.DrainInfoOrBuilderpublic Protos.DrainInfo.Builder setState(Protos.DrainState value)
The drain state of the agent.
required .mesos.DrainState state = 1;public Protos.DrainInfo.Builder clearState()
The drain state of the agent.
required .mesos.DrainState state = 1;public boolean hasConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;hasConfig in interface Protos.DrainInfoOrBuilderpublic Protos.DrainConfig getConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;getConfig in interface Protos.DrainInfoOrBuilderpublic Protos.DrainInfo.Builder setConfig(Protos.DrainConfig value)
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;public Protos.DrainInfo.Builder setConfig(Protos.DrainConfig.Builder builderForValue)
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;public Protos.DrainInfo.Builder mergeConfig(Protos.DrainConfig value)
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;public Protos.DrainInfo.Builder clearConfig()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;public Protos.DrainConfig.Builder getConfigBuilder()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;public Protos.DrainConfigOrBuilder getConfigOrBuilder()
The configuration used to drain the agent.
required .mesos.DrainConfig config = 2;getConfigOrBuilder in interface Protos.DrainInfoOrBuilderpublic final Protos.DrainInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.DrainInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)