public static final class Protos.NetworkInfo.Builder extends <any> implements Protos.NetworkInfoOrBuilder
Describes a network request from a framework as well as network resolution provided by Mesos. A framework may request the network isolator on the Agent to isolate the container in a network namespace and create a virtual network interface. The `NetworkInfo` message describes the properties of that virtual interface, including the IP addresses and network isolation policy (network group membership). The NetworkInfo message is not interpreted by the Master or Agent and is intended to be used by Agent and Master modules implementing network isolation. If the modules are missing, the message is simply ignored. In future, the task launch will fail if there is no module providing the network isolation capabilities (MESOS-3390). An executor, Agent, or an Agent module may append NetworkInfos inside TaskStatus::container_status to provide information such as the container IP address and isolation groups.Protobuf type
mesos.NetworkInfo
Modifier and Type | Method and Description |
---|---|
Protos.NetworkInfo.Builder |
addAllGroups(java.lang.Iterable<java.lang.String> values)
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
Protos.NetworkInfo.Builder |
addAllIpAddresses(java.lang.Iterable<? extends Protos.NetworkInfo.IPAddress> values)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
addAllPortMappings(java.lang.Iterable<? extends Protos.NetworkInfo.PortMapping> values)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
addGroups(java.lang.String value)
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
Protos.NetworkInfo.Builder |
addGroupsBytes(com.google.protobuf.ByteString value)
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
Protos.NetworkInfo.Builder |
addIpAddresses(int index,
Protos.NetworkInfo.IPAddress.Builder builderForValue)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
addIpAddresses(int index,
Protos.NetworkInfo.IPAddress value)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
addIpAddresses(Protos.NetworkInfo.IPAddress.Builder builderForValue)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
addIpAddresses(Protos.NetworkInfo.IPAddress value)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.IPAddress.Builder |
addIpAddressesBuilder()
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.IPAddress.Builder |
addIpAddressesBuilder(int index)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
addPortMappings(int index,
Protos.NetworkInfo.PortMapping.Builder builderForValue)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
addPortMappings(int index,
Protos.NetworkInfo.PortMapping value)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
addPortMappings(Protos.NetworkInfo.PortMapping.Builder builderForValue)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
addPortMappings(Protos.NetworkInfo.PortMapping value)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.PortMapping.Builder |
addPortMappingsBuilder()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.PortMapping.Builder |
addPortMappingsBuilder(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.NetworkInfo |
build() |
Protos.NetworkInfo |
buildPartial() |
Protos.NetworkInfo.Builder |
clear() |
Protos.NetworkInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.NetworkInfo.Builder |
clearGroups()
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
Protos.NetworkInfo.Builder |
clearIpAddresses()
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
clearLabels()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
Protos.NetworkInfo.Builder |
clearName()
Name of the network which will be used by network isolator to determine
the network that the container joins.
|
Protos.NetworkInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.NetworkInfo.Builder |
clearPortMappings()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
clone() |
Protos.NetworkInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getGroups(int index)
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
com.google.protobuf.ByteString |
getGroupsBytes(int index)
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
int |
getGroupsCount()
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
com.google.protobuf.ProtocolStringList |
getGroupsList()
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
Protos.NetworkInfo.IPAddress |
getIpAddresses(int index)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.IPAddress.Builder |
getIpAddressesBuilder(int index)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
java.util.List<Protos.NetworkInfo.IPAddress.Builder> |
getIpAddressesBuilderList()
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
int |
getIpAddressesCount()
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
java.util.List<Protos.NetworkInfo.IPAddress> |
getIpAddressesList()
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.IPAddressOrBuilder |
getIpAddressesOrBuilder(int index)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
java.util.List<? extends Protos.NetworkInfo.IPAddressOrBuilder> |
getIpAddressesOrBuilderList()
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.Labels |
getLabels()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
Protos.Labels.Builder |
getLabelsBuilder()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
java.lang.String |
getName()
Name of the network which will be used by network isolator to determine
the network that the container joins.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the network which will be used by network isolator to determine
the network that the container joins.
|
Protos.NetworkInfo.PortMapping |
getPortMappings(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.PortMapping.Builder |
getPortMappingsBuilder(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
java.util.List<Protos.NetworkInfo.PortMapping.Builder> |
getPortMappingsBuilderList()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
int |
getPortMappingsCount()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
java.util.List<Protos.NetworkInfo.PortMapping> |
getPortMappingsList()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.PortMappingOrBuilder |
getPortMappingsOrBuilder(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
java.util.List<? extends Protos.NetworkInfo.PortMappingOrBuilder> |
getPortMappingsOrBuilderList()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
boolean |
hasLabels()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
boolean |
hasName()
Name of the network which will be used by network isolator to determine
the network that the container joins.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.NetworkInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.NetworkInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.NetworkInfo.Builder |
mergeLabels(Protos.Labels value)
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
Protos.NetworkInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.NetworkInfo.Builder |
removeIpAddresses(int index)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
removePortMappings(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.NetworkInfo.Builder |
setGroups(int index,
java.lang.String value)
A group is the name given to a set of logically-related interfaces that
are allowed to communicate among themselves.
|
Protos.NetworkInfo.Builder |
setIpAddresses(int index,
Protos.NetworkInfo.IPAddress.Builder builderForValue)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
setIpAddresses(int index,
Protos.NetworkInfo.IPAddress value)
When included in a ContainerInfo, each of these represent a
request for an IP address.
|
Protos.NetworkInfo.Builder |
setLabels(Protos.Labels.Builder builderForValue)
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
Protos.NetworkInfo.Builder |
setLabels(Protos.Labels value)
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
|
Protos.NetworkInfo.Builder |
setName(java.lang.String value)
Name of the network which will be used by network isolator to determine
the network that the container joins.
|
Protos.NetworkInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the network which will be used by network isolator to determine
the network that the container joins.
|
Protos.NetworkInfo.Builder |
setPortMappings(int index,
Protos.NetworkInfo.PortMapping.Builder builderForValue)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
setPortMappings(int index,
Protos.NetworkInfo.PortMapping value)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7; |
Protos.NetworkInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.NetworkInfo.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.NetworkInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.NetworkInfo getDefaultInstanceForType()
public Protos.NetworkInfo build()
public Protos.NetworkInfo buildPartial()
public Protos.NetworkInfo.Builder clone()
public Protos.NetworkInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.NetworkInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.NetworkInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.NetworkInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.NetworkInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.NetworkInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.NetworkInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.NetworkInfo.IPAddress> getIpAddressesList()
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
getIpAddressesList
in interface Protos.NetworkInfoOrBuilder
public int getIpAddressesCount()
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
getIpAddressesCount
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.IPAddress getIpAddresses(int index)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
getIpAddresses
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.Builder setIpAddresses(int index, Protos.NetworkInfo.IPAddress value)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder setIpAddresses(int index, Protos.NetworkInfo.IPAddress.Builder builderForValue)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder addIpAddresses(Protos.NetworkInfo.IPAddress value)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder addIpAddresses(int index, Protos.NetworkInfo.IPAddress value)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder addIpAddresses(Protos.NetworkInfo.IPAddress.Builder builderForValue)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder addIpAddresses(int index, Protos.NetworkInfo.IPAddress.Builder builderForValue)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder addAllIpAddresses(java.lang.Iterable<? extends Protos.NetworkInfo.IPAddress> values)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder clearIpAddresses()
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.Builder removeIpAddresses(int index)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.IPAddress.Builder getIpAddressesBuilder(int index)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.IPAddressOrBuilder getIpAddressesOrBuilder(int index)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
getIpAddressesOrBuilder
in interface Protos.NetworkInfoOrBuilder
public java.util.List<? extends Protos.NetworkInfo.IPAddressOrBuilder> getIpAddressesOrBuilderList()
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
getIpAddressesOrBuilderList
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.IPAddress.Builder addIpAddressesBuilder()
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public Protos.NetworkInfo.IPAddress.Builder addIpAddressesBuilder(int index)
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public java.util.List<Protos.NetworkInfo.IPAddress.Builder> getIpAddressesBuilderList()
When included in a ContainerInfo, each of these represent a request for an IP address. Each request can specify an explicit address or the IP protocol to use. When included in a TaskStatus message, these inform the framework scheduler about the IP addresses that are bound to the container interface. When there are no custom network isolator modules installed, this field is filled in automatically with the Agent IP address.
repeated .mesos.NetworkInfo.IPAddress ip_addresses = 5;
public boolean hasName()
Name of the network which will be used by network isolator to determine the network that the container joins. It's up to the network isolator to decide how to interpret this field.
optional string name = 6;
hasName
in interface Protos.NetworkInfoOrBuilder
public java.lang.String getName()
Name of the network which will be used by network isolator to determine the network that the container joins. It's up to the network isolator to decide how to interpret this field.
optional string name = 6;
getName
in interface Protos.NetworkInfoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name of the network which will be used by network isolator to determine the network that the container joins. It's up to the network isolator to decide how to interpret this field.
optional string name = 6;
getNameBytes
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.Builder setName(java.lang.String value)
Name of the network which will be used by network isolator to determine the network that the container joins. It's up to the network isolator to decide how to interpret this field.
optional string name = 6;
public Protos.NetworkInfo.Builder clearName()
Name of the network which will be used by network isolator to determine the network that the container joins. It's up to the network isolator to decide how to interpret this field.
optional string name = 6;
public Protos.NetworkInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the network which will be used by network isolator to determine the network that the container joins. It's up to the network isolator to decide how to interpret this field.
optional string name = 6;
public com.google.protobuf.ProtocolStringList getGroupsList()
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
getGroupsList
in interface Protos.NetworkInfoOrBuilder
public int getGroupsCount()
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
getGroupsCount
in interface Protos.NetworkInfoOrBuilder
public java.lang.String getGroups(int index)
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
getGroups
in interface Protos.NetworkInfoOrBuilder
public com.google.protobuf.ByteString getGroupsBytes(int index)
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
getGroupsBytes
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.Builder setGroups(int index, java.lang.String value)
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
public Protos.NetworkInfo.Builder addGroups(java.lang.String value)
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
public Protos.NetworkInfo.Builder addAllGroups(java.lang.Iterable<java.lang.String> values)
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
public Protos.NetworkInfo.Builder clearGroups()
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
public Protos.NetworkInfo.Builder addGroupsBytes(com.google.protobuf.ByteString value)
A group is the name given to a set of logically-related interfaces that are allowed to communicate among themselves. Network traffic is allowed between two container interfaces that share at least one network group. For example, one might want to create separate groups for isolating dev, testing, qa and prod deployment environments.
repeated string groups = 3;
public boolean hasLabels()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
hasLabels
in interface Protos.NetworkInfoOrBuilder
public Protos.Labels getLabels()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
getLabels
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.Builder setLabels(Protos.Labels value)
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
public Protos.NetworkInfo.Builder setLabels(Protos.Labels.Builder builderForValue)
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
public Protos.NetworkInfo.Builder mergeLabels(Protos.Labels value)
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
public Protos.NetworkInfo.Builder clearLabels()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
public Protos.Labels.Builder getLabelsBuilder()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
public Protos.LabelsOrBuilder getLabelsOrBuilder()
To tag certain metadata to be used by Isolator/IPAM, e.g., rack, etc.
optional .mesos.Labels labels = 4;
getLabelsOrBuilder
in interface Protos.NetworkInfoOrBuilder
public java.util.List<Protos.NetworkInfo.PortMapping> getPortMappingsList()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
getPortMappingsList
in interface Protos.NetworkInfoOrBuilder
public int getPortMappingsCount()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
getPortMappingsCount
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.PortMapping getPortMappings(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
getPortMappings
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.Builder setPortMappings(int index, Protos.NetworkInfo.PortMapping value)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder setPortMappings(int index, Protos.NetworkInfo.PortMapping.Builder builderForValue)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder addPortMappings(Protos.NetworkInfo.PortMapping value)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder addPortMappings(int index, Protos.NetworkInfo.PortMapping value)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder addPortMappings(Protos.NetworkInfo.PortMapping.Builder builderForValue)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder addPortMappings(int index, Protos.NetworkInfo.PortMapping.Builder builderForValue)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder addAllPortMappings(java.lang.Iterable<? extends Protos.NetworkInfo.PortMapping> values)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder clearPortMappings()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.Builder removePortMappings(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.PortMapping.Builder getPortMappingsBuilder(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.PortMappingOrBuilder getPortMappingsOrBuilder(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
getPortMappingsOrBuilder
in interface Protos.NetworkInfoOrBuilder
public java.util.List<? extends Protos.NetworkInfo.PortMappingOrBuilder> getPortMappingsOrBuilderList()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
getPortMappingsOrBuilderList
in interface Protos.NetworkInfoOrBuilder
public Protos.NetworkInfo.PortMapping.Builder addPortMappingsBuilder()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public Protos.NetworkInfo.PortMapping.Builder addPortMappingsBuilder(int index)
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public java.util.List<Protos.NetworkInfo.PortMapping.Builder> getPortMappingsBuilderList()
repeated .mesos.NetworkInfo.PortMapping port_mappings = 7;
public final Protos.NetworkInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.NetworkInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)