public static final class Protos.ContainerInfo.DockerInfo.PortMapping.Builder extends <any> implements Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
mesos.ContainerInfo.DockerInfo.PortMapping
Modifier and Type | Method and Description |
---|---|
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ContainerInfo.DockerInfo.PortMapping |
build() |
Protos.ContainerInfo.DockerInfo.PortMapping |
buildPartial() |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clear() |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clearContainerPort()
required uint32 container_port = 2; |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clearHostPort()
required uint32 host_port = 1; |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clearProtocol()
Protocol to expose as (ie: tcp, udp).
|
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
clone() |
int |
getContainerPort()
required uint32 container_port = 2; |
Protos.ContainerInfo.DockerInfo.PortMapping |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getHostPort()
required uint32 host_port = 1; |
java.lang.String |
getProtocol()
Protocol to expose as (ie: tcp, udp).
|
com.google.protobuf.ByteString |
getProtocolBytes()
Protocol to expose as (ie: tcp, udp).
|
boolean |
hasContainerPort()
required uint32 container_port = 2; |
boolean |
hasHostPort()
required uint32 host_port = 1; |
boolean |
hasProtocol()
Protocol to expose as (ie: tcp, udp).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
setContainerPort(int value)
required uint32 container_port = 2; |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
setHostPort(int value)
required uint32 host_port = 1; |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
setProtocol(java.lang.String value)
Protocol to expose as (ie: tcp, udp).
|
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
Protocol to expose as (ie: tcp, udp).
|
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ContainerInfo.DockerInfo.PortMapping.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.ContainerInfo.DockerInfo.PortMapping.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ContainerInfo.DockerInfo.PortMapping getDefaultInstanceForType()
public Protos.ContainerInfo.DockerInfo.PortMapping build()
public Protos.ContainerInfo.DockerInfo.PortMapping buildPartial()
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder clone()
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasHostPort()
required uint32 host_port = 1;
hasHostPort
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public int getHostPort()
required uint32 host_port = 1;
getHostPort
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder setHostPort(int value)
required uint32 host_port = 1;
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder clearHostPort()
required uint32 host_port = 1;
public boolean hasContainerPort()
required uint32 container_port = 2;
hasContainerPort
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public int getContainerPort()
required uint32 container_port = 2;
getContainerPort
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder setContainerPort(int value)
required uint32 container_port = 2;
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder clearContainerPort()
required uint32 container_port = 2;
public boolean hasProtocol()
Protocol to expose as (ie: tcp, udp).
optional string protocol = 3;
hasProtocol
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public java.lang.String getProtocol()
Protocol to expose as (ie: tcp, udp).
optional string protocol = 3;
getProtocol
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public com.google.protobuf.ByteString getProtocolBytes()
Protocol to expose as (ie: tcp, udp).
optional string protocol = 3;
getProtocolBytes
in interface Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder setProtocol(java.lang.String value)
Protocol to expose as (ie: tcp, udp).
optional string protocol = 3;
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder clearProtocol()
Protocol to expose as (ie: tcp, udp).
optional string protocol = 3;
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder setProtocolBytes(com.google.protobuf.ByteString value)
Protocol to expose as (ie: tcp, udp).
optional string protocol = 3;
public final Protos.ContainerInfo.DockerInfo.PortMapping.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ContainerInfo.DockerInfo.PortMapping.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)