public static final class Protos.ContainerInfo.DockerInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.ContainerInfo.DockerInfoOrBuilder
mesos.ContainerInfo.DockerInfo
Modifier and Type | Class and Description |
---|---|
static class |
Protos.ContainerInfo.DockerInfo.Builder
Protobuf type
mesos.ContainerInfo.DockerInfo |
static class |
Protos.ContainerInfo.DockerInfo.Network
Network options.
|
static class |
Protos.ContainerInfo.DockerInfo.PortMapping
Protobuf type
mesos.ContainerInfo.DockerInfo.PortMapping |
static interface |
Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
FORCE_PULL_IMAGE_FIELD_NUMBER |
static int |
IMAGE_FIELD_NUMBER |
static int |
NETWORK_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PORT_MAPPINGS_FIELD_NUMBER |
static int |
PRIVILEGED_FIELD_NUMBER |
static int |
VOLUME_DRIVER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.ContainerInfo.DockerInfo |
getDefaultInstance() |
Protos.ContainerInfo.DockerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getForcePullImage()
With this flag set to true, the docker containerizer will
pull the docker image from the registry even if the image
is already downloaded on the slave.
|
java.lang.String |
getImage()
The docker image that is going to be passed to the registry.
|
com.google.protobuf.ByteString |
getImageBytes()
The docker image that is going to be passed to the registry.
|
Protos.ContainerInfo.DockerInfo.Network |
getNetwork()
optional .mesos.ContainerInfo.DockerInfo.Network network = 2 [default = HOST]; |
Protos.Parameter |
getParameters(int index)
Allowing arbitrary parameters to be passed to docker CLI.
|
int |
getParametersCount()
Allowing arbitrary parameters to be passed to docker CLI.
|
java.util.List<Protos.Parameter> |
getParametersList()
Allowing arbitrary parameters to be passed to docker CLI.
|
Protos.ParameterOrBuilder |
getParametersOrBuilder(int index)
Allowing arbitrary parameters to be passed to docker CLI.
|
java.util.List<? extends Protos.ParameterOrBuilder> |
getParametersOrBuilderList()
Allowing arbitrary parameters to be passed to docker CLI.
|
<any> |
getParserForType() |
Protos.ContainerInfo.DockerInfo.PortMapping |
getPortMappings(int index)
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3; |
int |
getPortMappingsCount()
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3; |
java.util.List<Protos.ContainerInfo.DockerInfo.PortMapping> |
getPortMappingsList()
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3; |
Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder |
getPortMappingsOrBuilder(int index)
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3; |
java.util.List<? extends Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder> |
getPortMappingsOrBuilderList()
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3; |
boolean |
getPrivileged()
optional bool privileged = 4 [default = false]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVolumeDriver()
Deprecated.
|
com.google.protobuf.ByteString |
getVolumeDriverBytes()
Deprecated.
|
boolean |
hasForcePullImage()
With this flag set to true, the docker containerizer will
pull the docker image from the registry even if the image
is already downloaded on the slave.
|
int |
hashCode() |
boolean |
hasImage()
The docker image that is going to be passed to the registry.
|
boolean |
hasNetwork()
optional .mesos.ContainerInfo.DockerInfo.Network network = 2 [default = HOST]; |
boolean |
hasPrivileged()
optional bool privileged = 4 [default = false]; |
boolean |
hasVolumeDriver()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.ContainerInfo.DockerInfo.Builder |
newBuilder() |
static Protos.ContainerInfo.DockerInfo.Builder |
newBuilder(Protos.ContainerInfo.DockerInfo prototype) |
Protos.ContainerInfo.DockerInfo.Builder |
newBuilderForType() |
protected Protos.ContainerInfo.DockerInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.ContainerInfo.DockerInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.ContainerInfo.DockerInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ContainerInfo.DockerInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.ContainerInfo.DockerInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int IMAGE_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int PORT_MAPPINGS_FIELD_NUMBER
public static final int PRIVILEGED_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int FORCE_PULL_IMAGE_FIELD_NUMBER
public static final int VOLUME_DRIVER_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 hasImage()
The docker image that is going to be passed to the registry.
required string image = 1;
hasImage
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public java.lang.String getImage()
The docker image that is going to be passed to the registry.
required string image = 1;
getImage
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public com.google.protobuf.ByteString getImageBytes()
The docker image that is going to be passed to the registry.
required string image = 1;
getImageBytes
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public boolean hasNetwork()
optional .mesos.ContainerInfo.DockerInfo.Network network = 2 [default = HOST];
hasNetwork
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public Protos.ContainerInfo.DockerInfo.Network getNetwork()
optional .mesos.ContainerInfo.DockerInfo.Network network = 2 [default = HOST];
getNetwork
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public java.util.List<Protos.ContainerInfo.DockerInfo.PortMapping> getPortMappingsList()
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3;
getPortMappingsList
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public java.util.List<? extends Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder> getPortMappingsOrBuilderList()
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3;
getPortMappingsOrBuilderList
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public int getPortMappingsCount()
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3;
getPortMappingsCount
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public Protos.ContainerInfo.DockerInfo.PortMapping getPortMappings(int index)
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3;
getPortMappings
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public Protos.ContainerInfo.DockerInfo.PortMappingOrBuilder getPortMappingsOrBuilder(int index)
repeated .mesos.ContainerInfo.DockerInfo.PortMapping port_mappings = 3;
getPortMappingsOrBuilder
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public boolean hasPrivileged()
optional bool privileged = 4 [default = false];
hasPrivileged
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public boolean getPrivileged()
optional bool privileged = 4 [default = false];
getPrivileged
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public java.util.List<Protos.Parameter> getParametersList()
Allowing arbitrary parameters to be passed to docker CLI. Note that anything passed to this field is not guaranteed to be supported moving forward, as we might move away from the docker CLI.
repeated .mesos.Parameter parameters = 5;
getParametersList
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public java.util.List<? extends Protos.ParameterOrBuilder> getParametersOrBuilderList()
Allowing arbitrary parameters to be passed to docker CLI. Note that anything passed to this field is not guaranteed to be supported moving forward, as we might move away from the docker CLI.
repeated .mesos.Parameter parameters = 5;
getParametersOrBuilderList
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public int getParametersCount()
Allowing arbitrary parameters to be passed to docker CLI. Note that anything passed to this field is not guaranteed to be supported moving forward, as we might move away from the docker CLI.
repeated .mesos.Parameter parameters = 5;
getParametersCount
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public Protos.Parameter getParameters(int index)
Allowing arbitrary parameters to be passed to docker CLI. Note that anything passed to this field is not guaranteed to be supported moving forward, as we might move away from the docker CLI.
repeated .mesos.Parameter parameters = 5;
getParameters
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public Protos.ParameterOrBuilder getParametersOrBuilder(int index)
Allowing arbitrary parameters to be passed to docker CLI. Note that anything passed to this field is not guaranteed to be supported moving forward, as we might move away from the docker CLI.
repeated .mesos.Parameter parameters = 5;
getParametersOrBuilder
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public boolean hasForcePullImage()
With this flag set to true, the docker containerizer will pull the docker image from the registry even if the image is already downloaded on the slave.
optional bool force_pull_image = 6;
hasForcePullImage
in interface Protos.ContainerInfo.DockerInfoOrBuilder
public boolean getForcePullImage()
With this flag set to true, the docker containerizer will pull the docker image from the registry even if the image is already downloaded on the slave.
optional bool force_pull_image = 6;
getForcePullImage
in interface Protos.ContainerInfo.DockerInfoOrBuilder
@Deprecated public boolean hasVolumeDriver()
The name of volume driver plugin.
optional string volume_driver = 7 [deprecated = true];
hasVolumeDriver
in interface Protos.ContainerInfo.DockerInfoOrBuilder
@Deprecated public java.lang.String getVolumeDriver()
The name of volume driver plugin.
optional string volume_driver = 7 [deprecated = true];
getVolumeDriver
in interface Protos.ContainerInfo.DockerInfoOrBuilder
@Deprecated public com.google.protobuf.ByteString getVolumeDriverBytes()
The name of volume driver plugin.
optional string volume_driver = 7 [deprecated = true];
getVolumeDriverBytes
in interface Protos.ContainerInfo.DockerInfoOrBuilder
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 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo 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 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ContainerInfo.DockerInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ContainerInfo.DockerInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.ContainerInfo.DockerInfo.Builder newBuilderForType()
public static Protos.ContainerInfo.DockerInfo.Builder newBuilder()
public static Protos.ContainerInfo.DockerInfo.Builder newBuilder(Protos.ContainerInfo.DockerInfo prototype)
public Protos.ContainerInfo.DockerInfo.Builder toBuilder()
protected Protos.ContainerInfo.DockerInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.ContainerInfo.DockerInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.ContainerInfo.DockerInfo getDefaultInstanceForType()