public static final class Protos.HealthCheck.TCPCheckInfo.Builder extends <any> implements Protos.HealthCheck.TCPCheckInfoOrBuilder
Describes a TCP health check, i.e. based on establishing a TCP connection to the specified port.Protobuf type
mesos.HealthCheck.TCPCheckInfo| Modifier and Type | Method and Description |
|---|---|
Protos.HealthCheck.TCPCheckInfo.Builder |
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.HealthCheck.TCPCheckInfo |
build () |
Protos.HealthCheck.TCPCheckInfo |
buildPartial () |
Protos.HealthCheck.TCPCheckInfo.Builder |
clear () |
Protos.HealthCheck.TCPCheckInfo.Builder |
clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.HealthCheck.TCPCheckInfo.Builder |
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.HealthCheck.TCPCheckInfo.Builder |
clearPort ()
Port expected to be open.
|
Protos.HealthCheck.TCPCheckInfo.Builder |
clearProtocol ()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4]; |
Protos.HealthCheck.TCPCheckInfo.Builder |
clone () |
Protos.HealthCheck.TCPCheckInfo |
getDefaultInstanceForType () |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor () |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType () |
int |
getPort ()
Port expected to be open.
|
Protos.NetworkInfo.Protocol |
getProtocol ()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4]; |
boolean |
hasPort ()
Port expected to be open.
|
boolean |
hasProtocol ()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable () |
boolean |
isInitialized () |
Protos.HealthCheck.TCPCheckInfo.Builder |
mergeFrom (com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.HealthCheck.TCPCheckInfo.Builder |
mergeFrom (com.google.protobuf.Message other) |
Protos.HealthCheck.TCPCheckInfo.Builder |
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.HealthCheck.TCPCheckInfo.Builder |
setField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.HealthCheck.TCPCheckInfo.Builder |
setPort (int value)
Port expected to be open.
|
Protos.HealthCheck.TCPCheckInfo.Builder |
setProtocol (Protos.NetworkInfo.Protocol value)
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4]; |
Protos.HealthCheck.TCPCheckInfo.Builder |
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.HealthCheck.TCPCheckInfo.Builder |
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.HealthCheck.TCPCheckInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.HealthCheck.TCPCheckInfo getDefaultInstanceForType()
public Protos.HealthCheck.TCPCheckInfo build()
public Protos.HealthCheck.TCPCheckInfo buildPartial()
public Protos.HealthCheck.TCPCheckInfo.Builder clone()
public Protos.HealthCheck.TCPCheckInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.HealthCheck.TCPCheckInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.HealthCheck.TCPCheckInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.HealthCheck.TCPCheckInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.HealthCheck.TCPCheckInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.HealthCheck.TCPCheckInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.HealthCheck.TCPCheckInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasProtocol()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4];hasProtocol in interface Protos.HealthCheck.TCPCheckInfoOrBuilder public Protos.NetworkInfo.Protocol getProtocol()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4];getProtocol in interface Protos.HealthCheck.TCPCheckInfoOrBuilder public Protos.HealthCheck.TCPCheckInfo.Builder setProtocol(Protos.NetworkInfo.Protocol value)
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4];public Protos.HealthCheck.TCPCheckInfo.Builder clearProtocol()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4];public boolean hasPort()
Port expected to be open.
required uint32 port = 1;hasPort in interface Protos.HealthCheck.TCPCheckInfoOrBuilder public int getPort()
Port expected to be open.
required uint32 port = 1;getPort in interface Protos.HealthCheck.TCPCheckInfoOrBuilder public Protos.HealthCheck.TCPCheckInfo.Builder setPort(int value)
Port expected to be open.
required uint32 port = 1;public Protos.HealthCheck.TCPCheckInfo.Builder clearPort()
Port expected to be open.
required uint32 port = 1;public final Protos.HealthCheck.TCPCheckInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.HealthCheck.TCPCheckInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)