public static final class Protos.CheckInfo.Tcp.Builder extends <any> implements Protos.CheckInfo.TcpOrBuilder
Describes a TCP check, i.e. based on establishing a TCP connection to the specified port. Note that <host> is not configurable and is resolved automatically to 127.0.0.1.Protobuf type
mesos.CheckInfo.Tcp
Modifier and Type | Method and Description |
---|---|
Protos.CheckInfo.Tcp.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CheckInfo.Tcp |
build() |
Protos.CheckInfo.Tcp |
buildPartial() |
Protos.CheckInfo.Tcp.Builder |
clear() |
Protos.CheckInfo.Tcp.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.CheckInfo.Tcp.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.CheckInfo.Tcp.Builder |
clearPort()
required uint32 port = 1; |
Protos.CheckInfo.Tcp.Builder |
clone() |
Protos.CheckInfo.Tcp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPort()
required uint32 port = 1; |
boolean |
hasPort()
required uint32 port = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.CheckInfo.Tcp.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.CheckInfo.Tcp.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.CheckInfo.Tcp.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CheckInfo.Tcp.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CheckInfo.Tcp.Builder |
setPort(int value)
required uint32 port = 1; |
Protos.CheckInfo.Tcp.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.CheckInfo.Tcp.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.Tcp.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CheckInfo.Tcp getDefaultInstanceForType()
public Protos.CheckInfo.Tcp build()
public Protos.CheckInfo.Tcp buildPartial()
public Protos.CheckInfo.Tcp.Builder clone()
public Protos.CheckInfo.Tcp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckInfo.Tcp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CheckInfo.Tcp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CheckInfo.Tcp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CheckInfo.Tcp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CheckInfo.Tcp.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CheckInfo.Tcp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasPort()
required uint32 port = 1;
hasPort
in interface Protos.CheckInfo.TcpOrBuilder
public int getPort()
required uint32 port = 1;
getPort
in interface Protos.CheckInfo.TcpOrBuilder
public Protos.CheckInfo.Tcp.Builder setPort(int value)
required uint32 port = 1;
public Protos.CheckInfo.Tcp.Builder clearPort()
required uint32 port = 1;
public final Protos.CheckInfo.Tcp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CheckInfo.Tcp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)