public static final class Protos.HealthCheck.TCPCheckInfo extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.HealthCheck.TCPCheckInfo.Builder
Describes a TCP health check, i.e.
|
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
PORT_FIELD_NUMBER |
static int |
PROTOCOL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.HealthCheck.TCPCheckInfo |
getDefaultInstance() |
Protos.HealthCheck.TCPCheckInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getPort()
Port expected to be open.
|
Protos.NetworkInfo.Protocol |
getProtocol()
optional .mesos.NetworkInfo.Protocol protocol = 2 [default = IPv4]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static Protos.HealthCheck.TCPCheckInfo.Builder |
newBuilder() |
static Protos.HealthCheck.TCPCheckInfo.Builder |
newBuilder(Protos.HealthCheck.TCPCheckInfo prototype) |
Protos.HealthCheck.TCPCheckInfo.Builder |
newBuilderForType() |
protected Protos.HealthCheck.TCPCheckInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.HealthCheck.TCPCheckInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.HealthCheck.TCPCheckInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.HealthCheck.TCPCheckInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.HealthCheck.TCPCheckInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PROTOCOL_FIELD_NUMBER
public static final int PORT_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 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.HealthCheck.TCPCheckInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.HealthCheck.TCPCheckInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.HealthCheck.TCPCheckInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.HealthCheck.TCPCheckInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.HealthCheck.TCPCheckInfo.Builder newBuilderForType()
public static Protos.HealthCheck.TCPCheckInfo.Builder newBuilder()
public static Protos.HealthCheck.TCPCheckInfo.Builder newBuilder(Protos.HealthCheck.TCPCheckInfo prototype)
public Protos.HealthCheck.TCPCheckInfo.Builder toBuilder()
protected Protos.HealthCheck.TCPCheckInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.HealthCheck.TCPCheckInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.HealthCheck.TCPCheckInfo getDefaultInstanceForType()