Interface DockerProto.DockerContainerSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DockerProto.DockerContainerSpec,DockerProto.DockerContainerSpec.Builder
- Enclosing class:
DockerProto
public static interface DockerProto.DockerContainerSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsEnv(String key) map<string, string> env = 9;booleancontainsLabels(String key) map<string, string> labels = 11;getCommand(int index) repeated string command = 6;com.google.protobuf.ByteStringgetCommandBytes(int index) repeated string command = 6;intrepeated string command = 6;repeated string command = 6;getCpu()string cpu = 7;com.google.protobuf.ByteStringstring cpu = 7;string entryPoint = 5;com.google.protobuf.ByteStringstring entryPoint = 5;getEnv()Deprecated.intmap<string, string> env = 9;string envFile = 10;com.google.protobuf.ByteStringstring envFile = 10;map<string, string> env = 9;getEnvOrDefault(String key, String defaultValue) map<string, string> env = 9;getEnvOrThrow(String key) map<string, string> env = 9;booleanbool forcePull = 12;getHosts(int index) repeated string hosts = 13;com.google.protobuf.ByteStringgetHostsBytes(int index) repeated string hosts = 13;intrepeated string hosts = 13;repeated string hosts = 13;getImage()string image = 1;com.google.protobuf.ByteStringstring image = 1;Deprecated.intmap<string, string> labels = 11;map<string, string> labels = 11;getLabelsOrDefault(String key, String defaultValue) map<string, string> labels = 11;getLabelsOrThrow(String key) map<string, string> labels = 11;string memory = 8;com.google.protobuf.ByteStringstring memory = 8;getName()string name = 2;com.google.protobuf.ByteStringstring name = 2;booleanbool redirectStdError = 15;string stdoutFilePath = 14;com.google.protobuf.ByteStringstring stdoutFilePath = 14;getUser()string user = 3;com.google.protobuf.ByteStringstring user = 3;string workDir = 4;com.google.protobuf.ByteStringstring workDir = 4;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getImage
String getImage()string image = 1;- Returns:
- The image.
-
getImageBytes
com.google.protobuf.ByteString getImageBytes()string image = 1;- Returns:
- The bytes for image.
-
getName
String getName()string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 2;- Returns:
- The bytes for name.
-
getUser
String getUser()string user = 3;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()string user = 3;- Returns:
- The bytes for user.
-
getWorkDir
String getWorkDir()string workDir = 4;- Returns:
- The workDir.
-
getWorkDirBytes
com.google.protobuf.ByteString getWorkDirBytes()string workDir = 4;- Returns:
- The bytes for workDir.
-
getEntryPoint
String getEntryPoint()string entryPoint = 5;- Returns:
- The entryPoint.
-
getEntryPointBytes
com.google.protobuf.ByteString getEntryPointBytes()string entryPoint = 5;- Returns:
- The bytes for entryPoint.
-
getCommandList
repeated string command = 6;- Returns:
- A list containing the command.
-
getCommandCount
int getCommandCount()repeated string command = 6;- Returns:
- The count of command.
-
getCommand
repeated string command = 6;- Parameters:
index- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes(int index) repeated string command = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
getCpu
String getCpu()string cpu = 7;- Returns:
- The cpu.
-
getCpuBytes
com.google.protobuf.ByteString getCpuBytes()string cpu = 7;- Returns:
- The bytes for cpu.
-
getMemory
String getMemory()string memory = 8;- Returns:
- The memory.
-
getMemoryBytes
com.google.protobuf.ByteString getMemoryBytes()string memory = 8;- Returns:
- The bytes for memory.
-
getEnvCount
int getEnvCount()map<string, string> env = 9; -
containsEnv
map<string, string> env = 9; -
getEnv
Deprecated.UsegetEnvMap()instead. -
getEnvMap
map<string, string> env = 9; -
getEnvOrDefault
map<string, string> env = 9; -
getEnvOrThrow
map<string, string> env = 9; -
getEnvFile
String getEnvFile()string envFile = 10;- Returns:
- The envFile.
-
getEnvFileBytes
com.google.protobuf.ByteString getEnvFileBytes()string envFile = 10;- Returns:
- The bytes for envFile.
-
getLabelsCount
int getLabelsCount()map<string, string> labels = 11; -
containsLabels
map<string, string> labels = 11; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
map<string, string> labels = 11; -
getLabelsOrDefault
map<string, string> labels = 11; -
getLabelsOrThrow
map<string, string> labels = 11; -
getForcePull
boolean getForcePull()bool forcePull = 12;- Returns:
- The forcePull.
-
getHostsList
repeated string hosts = 13;- Returns:
- A list containing the hosts.
-
getHostsCount
int getHostsCount()repeated string hosts = 13;- Returns:
- The count of hosts.
-
getHosts
repeated string hosts = 13;- Parameters:
index- The index of the element to return.- Returns:
- The hosts at the given index.
-
getHostsBytes
com.google.protobuf.ByteString getHostsBytes(int index) repeated string hosts = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hosts at the given index.
-
getStdoutFilePath
String getStdoutFilePath()string stdoutFilePath = 14;- Returns:
- The stdoutFilePath.
-
getStdoutFilePathBytes
com.google.protobuf.ByteString getStdoutFilePathBytes()string stdoutFilePath = 14;- Returns:
- The bytes for stdoutFilePath.
-
getRedirectStdError
boolean getRedirectStdError()bool redirectStdError = 15;- Returns:
- The redirectStdError.
-