public static final class Protos.CheckInfo.Http extends com.google.protobuf.GeneratedMessageV3 implements Protos.CheckInfo.HttpOrBuilder
Describes an HTTP check. Sends a GET request to http://<host>:port/path. Note that <host> is not configurable and is resolved automatically to 127.0.0.1.Protobuf type
mesos.CheckInfo.Http| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.CheckInfo.Http.Builder
Describes an HTTP check.
|
| Modifier and Type | Field and Description |
|---|---|
static <any> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.CheckInfo.Http |
getDefaultInstance() |
Protos.CheckInfo.Http |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
java.lang.String |
getPath()
HTTP request path.
|
com.google.protobuf.ByteString |
getPathBytes()
HTTP request path.
|
int |
getPort()
Port to send the HTTP request.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPath()
HTTP request path.
|
boolean |
hasPort()
Port to send the HTTP request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.CheckInfo.Http.Builder |
newBuilder() |
static Protos.CheckInfo.Http.Builder |
newBuilder(Protos.CheckInfo.Http prototype) |
Protos.CheckInfo.Http.Builder |
newBuilderForType() |
protected Protos.CheckInfo.Http.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.CheckInfo.Http |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.CheckInfo.Http |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckInfo.Http |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckInfo.Http |
parseFrom(java.nio.ByteBuffer data) |
static Protos.CheckInfo.Http |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckInfo.Http |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.CheckInfo.Http |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckInfo.Http |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.CheckInfo.Http |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.CheckInfo.Http |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.CheckInfo.Http.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PORT_FIELD_NUMBER
public static final int PATH_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 hasPort()
Port to send the HTTP request.
required uint32 port = 1;hasPort in interface Protos.CheckInfo.HttpOrBuilderpublic int getPort()
Port to send the HTTP request.
required uint32 port = 1;getPort in interface Protos.CheckInfo.HttpOrBuilderpublic boolean hasPath()
HTTP request path.
optional string path = 2;hasPath in interface Protos.CheckInfo.HttpOrBuilderpublic java.lang.String getPath()
HTTP request path.
optional string path = 2;getPath in interface Protos.CheckInfo.HttpOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
HTTP request path.
optional string path = 2;getPathBytes in interface Protos.CheckInfo.HttpOrBuilderpublic 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.CheckInfo.Http parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckInfo.Http parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckInfo.Http parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckInfo.Http parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckInfo.Http parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.CheckInfo.Http parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckInfo.Http parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckInfo.Http parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckInfo.Http parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.CheckInfo.Http parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.CheckInfo.Http.Builder newBuilderForType()
public static Protos.CheckInfo.Http.Builder newBuilder()
public static Protos.CheckInfo.Http.Builder newBuilder(Protos.CheckInfo.Http prototype)
public Protos.CheckInfo.Http.Builder toBuilder()
protected Protos.CheckInfo.Http.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.CheckInfo.Http getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.CheckInfo.Http getDefaultInstanceForType()