public static interface Protos.PortOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Protos.Labels |
getLabels()
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
java.lang.String |
getName()
Name of the service hosted on this port.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the service hosted on this port.
|
int |
getNumber()
Port number on which the framework exposes a service.
|
java.lang.String |
getProtocol()
Layer 4-7 protocol on which the framework exposes its services.
|
com.google.protobuf.ByteString |
getProtocolBytes()
Layer 4-7 protocol on which the framework exposes its services.
|
Protos.DiscoveryInfo.Visibility |
getVisibility()
This field restricts discovery within a framework (FRAMEWORK),
within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL).
|
boolean |
hasLabels()
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
boolean |
hasName()
Name of the service hosted on this port.
|
boolean |
hasNumber()
Port number on which the framework exposes a service.
|
boolean |
hasProtocol()
Layer 4-7 protocol on which the framework exposes its services.
|
boolean |
hasVisibility()
This field restricts discovery within a framework (FRAMEWORK),
within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL).
|
boolean hasNumber()
Port number on which the framework exposes a service.
required uint32 number = 1;int getNumber()
Port number on which the framework exposes a service.
required uint32 number = 1;boolean hasName()
Name of the service hosted on this port.
optional string name = 2;java.lang.String getName()
Name of the service hosted on this port.
optional string name = 2;com.google.protobuf.ByteString getNameBytes()
Name of the service hosted on this port.
optional string name = 2;boolean hasProtocol()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;java.lang.String getProtocol()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;com.google.protobuf.ByteString getProtocolBytes()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;boolean hasVisibility()
This field restricts discovery within a framework (FRAMEWORK), within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL). The visibility setting for a Port overrides the general visibility setting in the DiscoveryInfo.
optional .mesos.DiscoveryInfo.Visibility visibility = 4;Protos.DiscoveryInfo.Visibility getVisibility()
This field restricts discovery within a framework (FRAMEWORK), within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL). The visibility setting for a Port overrides the general visibility setting in the DiscoveryInfo.
optional .mesos.DiscoveryInfo.Visibility visibility = 4;boolean hasLabels()
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;Protos.Labels getLabels()
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;Protos.LabelsOrBuilder getLabelsOrBuilder()
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;