public static final class Protos.Image.Builder extends <any> 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 | Method and Description |
---|---|
Protos.Image.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Image |
build() |
Protos.Image |
buildPartial() |
Protos.Image.Builder |
clear() |
Protos.Image.Builder |
clearAppc()
Only one of the following image messages should be set to match
the type.
|
Protos.Image.Builder |
clearCached()
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.
|
Protos.Image.Builder |
clearDocker()
optional .mesos.Image.Docker docker = 3; |
Protos.Image.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Image.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Image.Builder |
clearType()
required .mesos.Image.Type type = 1; |
Protos.Image.Builder |
clone() |
Protos.Image.Appc |
getAppc()
Only one of the following image messages should be set to match
the type.
|
Protos.Image.Appc.Builder |
getAppcBuilder()
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.
|
Protos.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Image.Docker |
getDocker()
optional .mesos.Image.Docker docker = 3; |
Protos.Image.Docker.Builder |
getDockerBuilder()
optional .mesos.Image.Docker docker = 3; |
Protos.Image.DockerOrBuilder |
getDockerOrBuilder()
optional .mesos.Image.Docker docker = 3; |
Protos.Image.Type |
getType()
required .mesos.Image.Type type = 1; |
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; |
boolean |
hasType()
required .mesos.Image.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Image.Builder |
mergeAppc(Protos.Image.Appc value)
Only one of the following image messages should be set to match
the type.
|
Protos.Image.Builder |
mergeDocker(Protos.Image.Docker value)
optional .mesos.Image.Docker docker = 3; |
Protos.Image.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Image.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Image.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Image.Builder |
setAppc(Protos.Image.Appc.Builder builderForValue)
Only one of the following image messages should be set to match
the type.
|
Protos.Image.Builder |
setAppc(Protos.Image.Appc value)
Only one of the following image messages should be set to match
the type.
|
Protos.Image.Builder |
setCached(boolean value)
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.
|
Protos.Image.Builder |
setDocker(Protos.Image.Docker.Builder builderForValue)
optional .mesos.Image.Docker docker = 3; |
Protos.Image.Builder |
setDocker(Protos.Image.Docker value)
optional .mesos.Image.Docker docker = 3; |
Protos.Image.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Image.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Image.Builder |
setType(Protos.Image.Type value)
required .mesos.Image.Type type = 1; |
Protos.Image.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.Image.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Image getDefaultInstanceForType()
public Protos.Image build()
public Protos.Image buildPartial()
public Protos.Image.Builder clone()
public Protos.Image.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Image.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Image.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Image.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Image.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Image.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Image.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 Protos.Image.Builder setType(Protos.Image.Type value)
required .mesos.Image.Type type = 1;
public Protos.Image.Builder clearType()
required .mesos.Image.Type type = 1;
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.Builder setAppc(Protos.Image.Appc value)
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
public Protos.Image.Builder setAppc(Protos.Image.Appc.Builder builderForValue)
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
public Protos.Image.Builder mergeAppc(Protos.Image.Appc value)
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
public Protos.Image.Builder clearAppc()
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
public Protos.Image.Appc.Builder getAppcBuilder()
Only one of the following image messages should be set to match the type.
optional .mesos.Image.Appc appc = 2;
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.Builder setDocker(Protos.Image.Docker value)
optional .mesos.Image.Docker docker = 3;
public Protos.Image.Builder setDocker(Protos.Image.Docker.Builder builderForValue)
optional .mesos.Image.Docker docker = 3;
public Protos.Image.Builder mergeDocker(Protos.Image.Docker value)
optional .mesos.Image.Docker docker = 3;
public Protos.Image.Builder clearDocker()
optional .mesos.Image.Docker docker = 3;
public Protos.Image.Docker.Builder getDockerBuilder()
optional .mesos.Image.Docker docker = 3;
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 Protos.Image.Builder setCached(boolean value)
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];
public Protos.Image.Builder clearCached()
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];
public final Protos.Image.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Image.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)