public static interface Protos.NetworkInfo.IPAddressOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIpAddress()
Statically assigned IP provided by the Framework.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
Statically assigned IP provided by the Framework.
|
Protos.NetworkInfo.Protocol |
getProtocol()
Specify IP address requirement.
|
boolean |
hasIpAddress()
Statically assigned IP provided by the Framework.
|
boolean |
hasProtocol()
Specify IP address requirement.
|
boolean hasProtocol()
Specify IP address requirement. Set protocol to the desired value to request the network isolator on the Agent to assign an IP address to the container being launched. If a specific IP address is specified in ip_address, this field should not be set.
optional .mesos.NetworkInfo.Protocol protocol = 1 [default = IPv4];
Protos.NetworkInfo.Protocol getProtocol()
Specify IP address requirement. Set protocol to the desired value to request the network isolator on the Agent to assign an IP address to the container being launched. If a specific IP address is specified in ip_address, this field should not be set.
optional .mesos.NetworkInfo.Protocol protocol = 1 [default = IPv4];
boolean hasIpAddress()
Statically assigned IP provided by the Framework. This IP will be assigned to the container by the network isolator module on the Agent. This field should not be used with the protocol field above. If an explicit address is requested but is unavailable, the network isolator should fail the task.
optional string ip_address = 2;
java.lang.String getIpAddress()
Statically assigned IP provided by the Framework. This IP will be assigned to the container by the network isolator module on the Agent. This field should not be used with the protocol field above. If an explicit address is requested but is unavailable, the network isolator should fail the task.
optional string ip_address = 2;
com.google.protobuf.ByteString getIpAddressBytes()
Statically assigned IP provided by the Framework. This IP will be assigned to the container by the network isolator module on the Agent. This field should not be used with the protocol field above. If an explicit address is requested but is unavailable, the network isolator should fail the task.
optional string ip_address = 2;