public static final class Protos.CheckInfo.Builder extends <any> implements Protos.CheckInfoOrBuilder
Describes a general non-interpreting non-killing check for a task or executor (or any arbitrary process/command). A type is picked by specifying one of the optional fields. Specifying more than one type is an error. NOTE: This API is subject to change and the related feature is experimental.Protobuf type
mesos.CheckInfo| Modifier and Type | Method and Description |
|---|---|
Protos.CheckInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CheckInfo |
build() |
Protos.CheckInfo |
buildPartial() |
Protos.CheckInfo.Builder |
clear() |
Protos.CheckInfo.Builder |
clearCommand()
Command check.
|
Protos.CheckInfo.Builder |
clearDelaySeconds()
Amount of time to wait to start checking the task after it
transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
is used by the executor.
|
Protos.CheckInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.CheckInfo.Builder |
clearHttp()
HTTP check.
|
Protos.CheckInfo.Builder |
clearIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after
the previous check finished or timed out to start the next check.
|
Protos.CheckInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.CheckInfo.Builder |
clearTcp()
TCP check.
|
Protos.CheckInfo.Builder |
clearTimeoutSeconds()
Amount of time to wait for the check to complete.
|
Protos.CheckInfo.Builder |
clearType()
The type of the check.
|
Protos.CheckInfo.Builder |
clone() |
Protos.CheckInfo.Command |
getCommand()
Command check.
|
Protos.CheckInfo.Command.Builder |
getCommandBuilder()
Command check.
|
Protos.CheckInfo.CommandOrBuilder |
getCommandOrBuilder()
Command check.
|
Protos.CheckInfo |
getDefaultInstanceForType() |
double |
getDelaySeconds()
Amount of time to wait to start checking the task after it
transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
is used by the executor.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.CheckInfo.Http |
getHttp()
HTTP check.
|
Protos.CheckInfo.Http.Builder |
getHttpBuilder()
HTTP check.
|
Protos.CheckInfo.HttpOrBuilder |
getHttpOrBuilder()
HTTP check.
|
double |
getIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after
the previous check finished or timed out to start the next check.
|
Protos.CheckInfo.Tcp |
getTcp()
TCP check.
|
Protos.CheckInfo.Tcp.Builder |
getTcpBuilder()
TCP check.
|
Protos.CheckInfo.TcpOrBuilder |
getTcpOrBuilder()
TCP check.
|
double |
getTimeoutSeconds()
Amount of time to wait for the check to complete.
|
Protos.CheckInfo.Type |
getType()
The type of the check.
|
boolean |
hasCommand()
Command check.
|
boolean |
hasDelaySeconds()
Amount of time to wait to start checking the task after it
transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
is used by the executor.
|
boolean |
hasHttp()
HTTP check.
|
boolean |
hasIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after
the previous check finished or timed out to start the next check.
|
boolean |
hasTcp()
TCP check.
|
boolean |
hasTimeoutSeconds()
Amount of time to wait for the check to complete.
|
boolean |
hasType()
The type of the check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.CheckInfo.Builder |
mergeCommand(Protos.CheckInfo.Command value)
Command check.
|
Protos.CheckInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.CheckInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.CheckInfo.Builder |
mergeHttp(Protos.CheckInfo.Http value)
HTTP check.
|
Protos.CheckInfo.Builder |
mergeTcp(Protos.CheckInfo.Tcp value)
TCP check.
|
Protos.CheckInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CheckInfo.Builder |
setCommand(Protos.CheckInfo.Command.Builder builderForValue)
Command check.
|
Protos.CheckInfo.Builder |
setCommand(Protos.CheckInfo.Command value)
Command check.
|
Protos.CheckInfo.Builder |
setDelaySeconds(double value)
Amount of time to wait to start checking the task after it
transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
is used by the executor.
|
Protos.CheckInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CheckInfo.Builder |
setHttp(Protos.CheckInfo.Http.Builder builderForValue)
HTTP check.
|
Protos.CheckInfo.Builder |
setHttp(Protos.CheckInfo.Http value)
HTTP check.
|
Protos.CheckInfo.Builder |
setIntervalSeconds(double value)
Interval between check attempts, i.e., amount of time to wait after
the previous check finished or timed out to start the next check.
|
Protos.CheckInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.CheckInfo.Builder |
setTcp(Protos.CheckInfo.Tcp.Builder builderForValue)
TCP check.
|
Protos.CheckInfo.Builder |
setTcp(Protos.CheckInfo.Tcp value)
TCP check.
|
Protos.CheckInfo.Builder |
setTimeoutSeconds(double value)
Amount of time to wait for the check to complete.
|
Protos.CheckInfo.Builder |
setType(Protos.CheckInfo.Type value)
The type of the check.
|
Protos.CheckInfo.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.CheckInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CheckInfo getDefaultInstanceForType()
public Protos.CheckInfo build()
public Protos.CheckInfo buildPartial()
public Protos.CheckInfo.Builder clone()
public Protos.CheckInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CheckInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CheckInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CheckInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CheckInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasType()
The type of the check.
optional .mesos.CheckInfo.Type type = 1;hasType in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Type getType()
The type of the check.
optional .mesos.CheckInfo.Type type = 1;getType in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setType(Protos.CheckInfo.Type value)
The type of the check.
optional .mesos.CheckInfo.Type type = 1;public Protos.CheckInfo.Builder clearType()
The type of the check.
optional .mesos.CheckInfo.Type type = 1;public boolean hasCommand()
Command check.
optional .mesos.CheckInfo.Command command = 2;hasCommand in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Command getCommand()
Command check.
optional .mesos.CheckInfo.Command command = 2;getCommand in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setCommand(Protos.CheckInfo.Command value)
Command check.
optional .mesos.CheckInfo.Command command = 2;public Protos.CheckInfo.Builder setCommand(Protos.CheckInfo.Command.Builder builderForValue)
Command check.
optional .mesos.CheckInfo.Command command = 2;public Protos.CheckInfo.Builder mergeCommand(Protos.CheckInfo.Command value)
Command check.
optional .mesos.CheckInfo.Command command = 2;public Protos.CheckInfo.Builder clearCommand()
Command check.
optional .mesos.CheckInfo.Command command = 2;public Protos.CheckInfo.Command.Builder getCommandBuilder()
Command check.
optional .mesos.CheckInfo.Command command = 2;public Protos.CheckInfo.CommandOrBuilder getCommandOrBuilder()
Command check.
optional .mesos.CheckInfo.Command command = 2;getCommandOrBuilder in interface Protos.CheckInfoOrBuilderpublic boolean hasHttp()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;hasHttp in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Http getHttp()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;getHttp in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setHttp(Protos.CheckInfo.Http value)
HTTP check.
optional .mesos.CheckInfo.Http http = 3;public Protos.CheckInfo.Builder setHttp(Protos.CheckInfo.Http.Builder builderForValue)
HTTP check.
optional .mesos.CheckInfo.Http http = 3;public Protos.CheckInfo.Builder mergeHttp(Protos.CheckInfo.Http value)
HTTP check.
optional .mesos.CheckInfo.Http http = 3;public Protos.CheckInfo.Builder clearHttp()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;public Protos.CheckInfo.Http.Builder getHttpBuilder()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;public Protos.CheckInfo.HttpOrBuilder getHttpOrBuilder()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;getHttpOrBuilder in interface Protos.CheckInfoOrBuilderpublic boolean hasTcp()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;hasTcp in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Tcp getTcp()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;getTcp in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setTcp(Protos.CheckInfo.Tcp value)
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;public Protos.CheckInfo.Builder setTcp(Protos.CheckInfo.Tcp.Builder builderForValue)
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;public Protos.CheckInfo.Builder mergeTcp(Protos.CheckInfo.Tcp value)
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;public Protos.CheckInfo.Builder clearTcp()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;public Protos.CheckInfo.Tcp.Builder getTcpBuilder()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;public Protos.CheckInfo.TcpOrBuilder getTcpOrBuilder()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;getTcpOrBuilder in interface Protos.CheckInfoOrBuilderpublic boolean hasDelaySeconds()
Amount of time to wait to start checking the task after it transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter is used by the executor.
optional double delay_seconds = 4 [default = 15];hasDelaySeconds in interface Protos.CheckInfoOrBuilderpublic double getDelaySeconds()
Amount of time to wait to start checking the task after it transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter is used by the executor.
optional double delay_seconds = 4 [default = 15];getDelaySeconds in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setDelaySeconds(double value)
Amount of time to wait to start checking the task after it transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter is used by the executor.
optional double delay_seconds = 4 [default = 15];public Protos.CheckInfo.Builder clearDelaySeconds()
Amount of time to wait to start checking the task after it transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter is used by the executor.
optional double delay_seconds = 4 [default = 15];public boolean hasIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after the previous check finished or timed out to start the next check.
optional double interval_seconds = 5 [default = 10];hasIntervalSeconds in interface Protos.CheckInfoOrBuilderpublic double getIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after the previous check finished or timed out to start the next check.
optional double interval_seconds = 5 [default = 10];getIntervalSeconds in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setIntervalSeconds(double value)
Interval between check attempts, i.e., amount of time to wait after the previous check finished or timed out to start the next check.
optional double interval_seconds = 5 [default = 10];public Protos.CheckInfo.Builder clearIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after the previous check finished or timed out to start the next check.
optional double interval_seconds = 5 [default = 10];public boolean hasTimeoutSeconds()
Amount of time to wait for the check to complete. Zero means infinite timeout. After this timeout, the check attempt is aborted and no result is reported. Note that this may be considered a state change and hence may trigger a check status change delivery to the corresponding scheduler. See `CheckStatusInfo` for more details.
optional double timeout_seconds = 6 [default = 20];hasTimeoutSeconds in interface Protos.CheckInfoOrBuilderpublic double getTimeoutSeconds()
Amount of time to wait for the check to complete. Zero means infinite timeout. After this timeout, the check attempt is aborted and no result is reported. Note that this may be considered a state change and hence may trigger a check status change delivery to the corresponding scheduler. See `CheckStatusInfo` for more details.
optional double timeout_seconds = 6 [default = 20];getTimeoutSeconds in interface Protos.CheckInfoOrBuilderpublic Protos.CheckInfo.Builder setTimeoutSeconds(double value)
Amount of time to wait for the check to complete. Zero means infinite timeout. After this timeout, the check attempt is aborted and no result is reported. Note that this may be considered a state change and hence may trigger a check status change delivery to the corresponding scheduler. See `CheckStatusInfo` for more details.
optional double timeout_seconds = 6 [default = 20];public Protos.CheckInfo.Builder clearTimeoutSeconds()
Amount of time to wait for the check to complete. Zero means infinite timeout. After this timeout, the check attempt is aborted and no result is reported. Note that this may be considered a state change and hence may trigger a check status change delivery to the corresponding scheduler. See `CheckStatusInfo` for more details.
optional double timeout_seconds = 6 [default = 20];public final Protos.CheckInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CheckInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)