public static final class Protos.CheckInfo.Http.Builder extends <any> 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 | Method and Description |
---|---|
Protos.CheckInfo.Http.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CheckInfo.Http |
build() |
Protos.CheckInfo.Http |
buildPartial() |
Protos.CheckInfo.Http.Builder |
clear() |
Protos.CheckInfo.Http.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.CheckInfo.Http.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.CheckInfo.Http.Builder |
clearPath()
HTTP request path.
|
Protos.CheckInfo.Http.Builder |
clearPort()
Port to send the HTTP request.
|
Protos.CheckInfo.Http.Builder |
clone() |
Protos.CheckInfo.Http |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPath()
HTTP request path.
|
com.google.protobuf.ByteString |
getPathBytes()
HTTP request path.
|
int |
getPort()
Port to send the HTTP request.
|
boolean |
hasPath()
HTTP request path.
|
boolean |
hasPort()
Port to send the HTTP request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.CheckInfo.Http.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.CheckInfo.Http.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.CheckInfo.Http.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CheckInfo.Http.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CheckInfo.Http.Builder |
setPath(java.lang.String value)
HTTP request path.
|
Protos.CheckInfo.Http.Builder |
setPathBytes(com.google.protobuf.ByteString value)
HTTP request path.
|
Protos.CheckInfo.Http.Builder |
setPort(int value)
Port to send the HTTP request.
|
Protos.CheckInfo.Http.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.CheckInfo.Http.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.Http.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CheckInfo.Http getDefaultInstanceForType()
public Protos.CheckInfo.Http build()
public Protos.CheckInfo.Http buildPartial()
public Protos.CheckInfo.Http.Builder clone()
public Protos.CheckInfo.Http.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckInfo.Http.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CheckInfo.Http.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CheckInfo.Http.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CheckInfo.Http.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckInfo.Http.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CheckInfo.Http.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasPort()
Port to send the HTTP request.
required uint32 port = 1;
hasPort
in interface Protos.CheckInfo.HttpOrBuilder
public int getPort()
Port to send the HTTP request.
required uint32 port = 1;
getPort
in interface Protos.CheckInfo.HttpOrBuilder
public Protos.CheckInfo.Http.Builder setPort(int value)
Port to send the HTTP request.
required uint32 port = 1;
public Protos.CheckInfo.Http.Builder clearPort()
Port to send the HTTP request.
required uint32 port = 1;
public boolean hasPath()
HTTP request path.
optional string path = 2;
hasPath
in interface Protos.CheckInfo.HttpOrBuilder
public java.lang.String getPath()
HTTP request path.
optional string path = 2;
getPath
in interface Protos.CheckInfo.HttpOrBuilder
public com.google.protobuf.ByteString getPathBytes()
HTTP request path.
optional string path = 2;
getPathBytes
in interface Protos.CheckInfo.HttpOrBuilder
public Protos.CheckInfo.Http.Builder setPath(java.lang.String value)
HTTP request path.
optional string path = 2;
public Protos.CheckInfo.Http.Builder clearPath()
HTTP request path.
optional string path = 2;
public Protos.CheckInfo.Http.Builder setPathBytes(com.google.protobuf.ByteString value)
HTTP request path.
optional string path = 2;
public final Protos.CheckInfo.Http.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CheckInfo.Http.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)