public static final class Protos.ContainerInfo.DockerInfo.PortMapping extends com.google.protobuf.GeneratedMessageV3 implements Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder
mesos.ContainerInfo.DockerInfo.PortMapping
Modifier and Type | Class and Description |
---|---|
static class |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder
Protobuf type
mesos.ContainerInfo.DockerInfo.PortMapping |
Modifier and Type | Field and Description |
---|---|
static int |
CONTAINER_PORT_FIELD_NUMBER |
static int |
HOST_PORT_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PROTOCOL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getContainerPort()
required uint32 container_port = 2; |
static Protos.ContainerInfo.DockerInfo.PortMapping |
getDefaultInstance() |
Protos.ContainerInfo.DockerInfo.PortMapping |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getHostPort()
required uint32 host_port = 1; |
<any> |
getParserForType() |
java.lang.String |
getProtocol()
Protocol to expose as (ie: tcp, udp).
|
com.google.protobuf.ByteString |
getProtocolBytes()
Protocol to expose as (ie: tcp, udp).
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainerPort()
required uint32 container_port = 2; |
int |
hashCode() |
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() |
static Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
newBuilder() |
static Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
newBuilder(Protos.ContainerInfo.DockerInfo.PortMapping prototype) |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
newBuilderForType() |
protected Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(java.nio.ByteBuffer data) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo.PortMapping |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.ContainerInfo.DockerInfo.PortMapping.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int HOST_PORT_FIELD_NUMBER
public static final int CONTAINER_PORT_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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 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 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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo.PortMapping parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder newBuilderForType()
public static Protos.ContainerInfo.DockerInfo.PortMapping.Builder newBuilder()
public static Protos.ContainerInfo.DockerInfo.PortMapping.Builder newBuilder(Protos.ContainerInfo.DockerInfo.PortMapping prototype)
public Protos.ContainerInfo.DockerInfo.PortMapping.Builder toBuilder()
protected Protos.ContainerInfo.DockerInfo.PortMapping.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.ContainerInfo.DockerInfo.PortMapping getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.ContainerInfo.DockerInfo.PortMapping getDefaultInstanceForType()