public static final class Protos.CheckStatusInfo.Builder extends <any> implements Protos.CheckStatusInfoOrBuilder
Describes the status of a check. Type and the corresponding field, i.e., `command` or `http` must be set. If the result of the check is not available (e.g., the check timed out), these fields must contain empty messages, i.e., `exit_code` or `status_code` will be unset. NOTE: This API is subject to change and the related feature is experimental.Protobuf type
mesos.CheckStatusInfopublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.CheckStatusInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CheckStatusInfo getDefaultInstanceForType()
public Protos.CheckStatusInfo build()
public Protos.CheckStatusInfo buildPartial()
public Protos.CheckStatusInfo.Builder clone()
public Protos.CheckStatusInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckStatusInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CheckStatusInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CheckStatusInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CheckStatusInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckStatusInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CheckStatusInfo.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 this status corresponds to.
optional .mesos.CheckInfo.Type type = 1;hasType in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckInfo.Type getType()
The type of the check this status corresponds to.
optional .mesos.CheckInfo.Type type = 1;getType in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Builder setType(Protos.CheckInfo.Type value)
The type of the check this status corresponds to.
optional .mesos.CheckInfo.Type type = 1;public Protos.CheckStatusInfo.Builder clearType()
The type of the check this status corresponds to.
optional .mesos.CheckInfo.Type type = 1;public boolean hasCommand()
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;hasCommand in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Command getCommand()
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;getCommand in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Builder setCommand(Protos.CheckStatusInfo.Command value)
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;public Protos.CheckStatusInfo.Builder setCommand(Protos.CheckStatusInfo.Command.Builder builderForValue)
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;public Protos.CheckStatusInfo.Builder mergeCommand(Protos.CheckStatusInfo.Command value)
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;public Protos.CheckStatusInfo.Builder clearCommand()
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;public Protos.CheckStatusInfo.Command.Builder getCommandBuilder()
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;public Protos.CheckStatusInfo.CommandOrBuilder getCommandOrBuilder()
Status of a command check.
optional .mesos.CheckStatusInfo.Command command = 2;getCommandOrBuilder in interface Protos.CheckStatusInfoOrBuilderpublic boolean hasHttp()
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;hasHttp in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Http getHttp()
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;getHttp in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Builder setHttp(Protos.CheckStatusInfo.Http value)
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;public Protos.CheckStatusInfo.Builder setHttp(Protos.CheckStatusInfo.Http.Builder builderForValue)
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;public Protos.CheckStatusInfo.Builder mergeHttp(Protos.CheckStatusInfo.Http value)
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;public Protos.CheckStatusInfo.Builder clearHttp()
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;public Protos.CheckStatusInfo.Http.Builder getHttpBuilder()
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;public Protos.CheckStatusInfo.HttpOrBuilder getHttpOrBuilder()
Status of an HTTP check.
optional .mesos.CheckStatusInfo.Http http = 3;getHttpOrBuilder in interface Protos.CheckStatusInfoOrBuilderpublic boolean hasTcp()
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;hasTcp in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Tcp getTcp()
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;getTcp in interface Protos.CheckStatusInfoOrBuilderpublic Protos.CheckStatusInfo.Builder setTcp(Protos.CheckStatusInfo.Tcp value)
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;public Protos.CheckStatusInfo.Builder setTcp(Protos.CheckStatusInfo.Tcp.Builder builderForValue)
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;public Protos.CheckStatusInfo.Builder mergeTcp(Protos.CheckStatusInfo.Tcp value)
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;public Protos.CheckStatusInfo.Builder clearTcp()
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;public Protos.CheckStatusInfo.Tcp.Builder getTcpBuilder()
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;public Protos.CheckStatusInfo.TcpOrBuilder getTcpOrBuilder()
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;getTcpOrBuilder in interface Protos.CheckStatusInfoOrBuilderpublic final Protos.CheckStatusInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CheckStatusInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)