public static final class Protos.Port.Builder extends <any> implements Protos.PortOrBuilder
Named port used for service discovery.Protobuf type
mesos.Port| Modifier and Type | Method and Description |
|---|---|
Protos.Port.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Port |
build() |
Protos.Port |
buildPartial() |
Protos.Port.Builder |
clear() |
Protos.Port.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Port.Builder |
clearLabels()
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
Protos.Port.Builder |
clearName()
Name of the service hosted on this port.
|
Protos.Port.Builder |
clearNumber()
Port number on which the framework exposes a service.
|
Protos.Port.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Port.Builder |
clearProtocol()
Layer 4-7 protocol on which the framework exposes its services.
|
Protos.Port.Builder |
clearVisibility()
This field restricts discovery within a framework (FRAMEWORK),
within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL).
|
Protos.Port.Builder |
clone() |
Protos.Port |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Labels |
getLabels()
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
Protos.Labels.Builder |
getLabelsBuilder()
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).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Port.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Port.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Port.Builder |
mergeLabels(Protos.Labels value)
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
Protos.Port.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Port.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Port.Builder |
setLabels(Protos.Labels.Builder builderForValue)
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
Protos.Port.Builder |
setLabels(Protos.Labels value)
This can be used to decorate the message with metadata to be
interpreted by external applications such as firewalls.
|
Protos.Port.Builder |
setName(java.lang.String value)
Name of the service hosted on this port.
|
Protos.Port.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the service hosted on this port.
|
Protos.Port.Builder |
setNumber(int value)
Port number on which the framework exposes a service.
|
Protos.Port.Builder |
setProtocol(java.lang.String value)
Layer 4-7 protocol on which the framework exposes its services.
|
Protos.Port.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
Layer 4-7 protocol on which the framework exposes its services.
|
Protos.Port.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Port.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Port.Builder |
setVisibility(Protos.DiscoveryInfo.Visibility value)
This field restricts discovery within a framework (FRAMEWORK),
within a Mesos cluster (CLUSTER), or places no restrictions (EXTERNAL).
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Port.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Port getDefaultInstanceForType()
public Protos.Port build()
public Protos.Port buildPartial()
public Protos.Port.Builder clone()
public Protos.Port.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Port.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Port.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Port.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Port.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Port.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Port.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasNumber()
Port number on which the framework exposes a service.
required uint32 number = 1;hasNumber in interface Protos.PortOrBuilderpublic int getNumber()
Port number on which the framework exposes a service.
required uint32 number = 1;getNumber in interface Protos.PortOrBuilderpublic Protos.Port.Builder setNumber(int value)
Port number on which the framework exposes a service.
required uint32 number = 1;public Protos.Port.Builder clearNumber()
Port number on which the framework exposes a service.
required uint32 number = 1;public boolean hasName()
Name of the service hosted on this port.
optional string name = 2;hasName in interface Protos.PortOrBuilderpublic java.lang.String getName()
Name of the service hosted on this port.
optional string name = 2;getName in interface Protos.PortOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the service hosted on this port.
optional string name = 2;getNameBytes in interface Protos.PortOrBuilderpublic Protos.Port.Builder setName(java.lang.String value)
Name of the service hosted on this port.
optional string name = 2;public Protos.Port.Builder clearName()
Name of the service hosted on this port.
optional string name = 2;public Protos.Port.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the service hosted on this port.
optional string name = 2;public boolean hasProtocol()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;hasProtocol in interface Protos.PortOrBuilderpublic java.lang.String getProtocol()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;getProtocol in interface Protos.PortOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;getProtocolBytes in interface Protos.PortOrBuilderpublic Protos.Port.Builder setProtocol(java.lang.String value)
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;public Protos.Port.Builder clearProtocol()
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;public Protos.Port.Builder setProtocolBytes(com.google.protobuf.ByteString value)
Layer 4-7 protocol on which the framework exposes its services.
optional string protocol = 3;public 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;hasVisibility in interface Protos.PortOrBuilderpublic 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;getVisibility in interface Protos.PortOrBuilderpublic Protos.Port.Builder setVisibility(Protos.DiscoveryInfo.Visibility value)
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;public Protos.Port.Builder clearVisibility()
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;public 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;hasLabels in interface Protos.PortOrBuilderpublic 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;getLabels in interface Protos.PortOrBuilderpublic Protos.Port.Builder setLabels(Protos.Labels value)
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;public Protos.Port.Builder setLabels(Protos.Labels.Builder builderForValue)
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;public Protos.Port.Builder mergeLabels(Protos.Labels value)
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;public Protos.Port.Builder clearLabels()
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;public Protos.Labels.Builder getLabelsBuilder()
This can be used to decorate the message with metadata to be interpreted by external applications such as firewalls.
optional .mesos.Labels labels = 5;public 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;getLabelsOrBuilder in interface Protos.PortOrBuilderpublic final Protos.Port.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Port.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)