public static final class Protos.CheckStatusInfo extends com.google.protobuf.GeneratedMessageV3 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.CheckStatusInfo| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.CheckStatusInfo.Builder
Describes the status of a check.
|
static class |
Protos.CheckStatusInfo.Command
Protobuf type
mesos.CheckStatusInfo.Command |
static interface |
Protos.CheckStatusInfo.CommandOrBuilder |
static class |
Protos.CheckStatusInfo.Http
Protobuf type
mesos.CheckStatusInfo.Http |
static interface |
Protos.CheckStatusInfo.HttpOrBuilder |
static class |
Protos.CheckStatusInfo.Tcp
Protobuf type
mesos.CheckStatusInfo.Tcp |
static interface |
Protos.CheckStatusInfo.TcpOrBuilder |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMMAND_FIELD_NUMBER |
static int |
HTTP_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
TCP_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Protos.CheckStatusInfo.Command |
getCommand()
Status of a command check.
|
Protos.CheckStatusInfo.CommandOrBuilder |
getCommandOrBuilder()
Status of a command check.
|
static Protos.CheckStatusInfo |
getDefaultInstance() |
Protos.CheckStatusInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.CheckStatusInfo.Http |
getHttp()
Status of an HTTP check.
|
Protos.CheckStatusInfo.HttpOrBuilder |
getHttpOrBuilder()
Status of an HTTP check.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.CheckStatusInfo.Tcp |
getTcp()
Status of a TCP check.
|
Protos.CheckStatusInfo.TcpOrBuilder |
getTcpOrBuilder()
Status of a TCP check.
|
Protos.CheckInfo.Type |
getType()
The type of the check this status corresponds to.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCommand()
Status of a command check.
|
int |
hashCode() |
boolean |
hasHttp()
Status of an HTTP check.
|
boolean |
hasTcp()
Status of a TCP check.
|
boolean |
hasType()
The type of the check this status corresponds to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.CheckStatusInfo.Builder |
newBuilder() |
static Protos.CheckStatusInfo.Builder |
newBuilder(Protos.CheckStatusInfo prototype) |
Protos.CheckStatusInfo.Builder |
newBuilderForType() |
protected Protos.CheckStatusInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.CheckStatusInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.CheckStatusInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckStatusInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckStatusInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.CheckStatusInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckStatusInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.CheckStatusInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckStatusInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.CheckStatusInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckStatusInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.CheckStatusInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER
public static final int HTTP_FIELD_NUMBER
public static final int TCP_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 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 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.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.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.TcpOrBuilder getTcpOrBuilder()
Status of a TCP check.
optional .mesos.CheckStatusInfo.Tcp tcp = 4;getTcpOrBuilder in interface Protos.CheckStatusInfoOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.CheckStatusInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckStatusInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckStatusInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckStatusInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckStatusInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckStatusInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckStatusInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckStatusInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckStatusInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckStatusInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.CheckStatusInfo.Builder newBuilderForType()
public static Protos.CheckStatusInfo.Builder newBuilder()
public static Protos.CheckStatusInfo.Builder newBuilder(Protos.CheckStatusInfo prototype)
public Protos.CheckStatusInfo.Builder toBuilder()
protected Protos.CheckStatusInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.CheckStatusInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.CheckStatusInfo getDefaultInstanceForType()