public static final class Protos.Image extends com.google.protobuf.GeneratedMessageV3 implements Protos.ImageOrBuilder
Describe an image used by tasks or executors. Note that it's only for tasks or executors launched by MesosContainerizer currently.Protobuf type
mesos.Image
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Image.Appc
Protobuf for specifying an Appc container image.
|
static interface |
Protos.Image.AppcOrBuilder |
static class |
Protos.Image.Builder
Describe an image used by tasks or executors.
|
static class |
Protos.Image.Docker
Protobuf type
mesos.Image.Docker |
static interface |
Protos.Image.DockerOrBuilder |
static class |
Protos.Image.Type
Protobuf enum
mesos.Image.Type |
Modifier and Type | Field and Description |
---|---|
static int |
APPC_FIELD_NUMBER |
static int |
CACHED_FIELD_NUMBER |
static int |
DOCKER_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Image.Appc |
getAppc()
Only one of the following image messages should be set to match
the type.
|
Protos.Image.AppcOrBuilder |
getAppcOrBuilder()
Only one of the following image messages should be set to match
the type.
|
boolean |
getCached()
With this flag set to false, the mesos containerizer will pull
the docker/appc image from the registry even if the image is
already downloaded on the agent.
|
static Protos.Image |
getDefaultInstance() |
Protos.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Image.Docker |
getDocker()
optional .mesos.Image.Docker docker = 3; |
Protos.Image.DockerOrBuilder |
getDockerOrBuilder()
optional .mesos.Image.Docker docker = 3; |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.Image.Type |
getType()
required .mesos.Image.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAppc()
Only one of the following image messages should be set to match
the type.
|
boolean |
hasCached()
With this flag set to false, the mesos containerizer will pull
the docker/appc image from the registry even if the image is
already downloaded on the agent.
|
boolean |
hasDocker()
optional .mesos.Image.Docker docker = 3; |
int |
hashCode() |
boolean |
hasType()
required .mesos.Image.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Image.Builder |
newBuilder() |
static Protos.Image.Builder |
newBuilder(Protos.Image prototype) |
Protos.Image.Builder |
newBuilderForType() |
protected Protos.Image.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Image |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Image |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Image |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Image |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Image |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Image |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Image.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int APPC_FIELD_NUMBER
public static final int DOCKER_FIELD_NUMBER
public static final int CACHED_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 hasType()
required .mesos.Image.Type type = 1;
hasType
in interface Protos.ImageOrBuilder
public Protos.Image.Type getType()
required .mesos.Image.Type type = 1;
getType
in interface Protos.ImageOrBuilder
public boolean hasAppc()
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
hasAppc
in interface Protos.ImageOrBuilder
public Protos.Image.Appc getAppc()
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
getAppc
in interface Protos.ImageOrBuilder
public Protos.Image.AppcOrBuilder getAppcOrBuilder()
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
getAppcOrBuilder
in interface Protos.ImageOrBuilder
public boolean hasDocker()
optional .mesos.Image.Docker docker = 3;
hasDocker
in interface Protos.ImageOrBuilder
public Protos.Image.Docker getDocker()
optional .mesos.Image.Docker docker = 3;
getDocker
in interface Protos.ImageOrBuilder
public Protos.Image.DockerOrBuilder getDockerOrBuilder()
optional .mesos.Image.Docker docker = 3;
getDockerOrBuilder
in interface Protos.ImageOrBuilder
public boolean hasCached()
With this flag set to false, the mesos containerizer will pull the docker/appc image from the registry even if the image is already downloaded on the agent.
optional bool cached = 4 [default = true];
hasCached
in interface Protos.ImageOrBuilder
public boolean getCached()
With this flag set to false, the mesos containerizer will pull the docker/appc image from the registry even if the image is already downloaded on the agent.
optional bool cached = 4 [default = true];
getCached
in interface Protos.ImageOrBuilder
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.Image parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Image parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Image parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Image parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Image parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Image parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Image.Builder newBuilderForType()
public static Protos.Image.Builder newBuilder()
public static Protos.Image.Builder newBuilder(Protos.Image prototype)
public Protos.Image.Builder toBuilder()
protected Protos.Image.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Image getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Image getDefaultInstanceForType()