Class DockerProto.DockerContainerSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tech.justen.concord.goodwill.grpc.DockerProto.DockerContainerSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,DockerProto.DockerContainerSpecOrBuilder
- Enclosing class:
DockerProto
public static final class DockerProto.DockerContainerSpec
extends com.google.protobuf.GeneratedMessageV3
implements DockerProto.DockerContainerSpecOrBuilder
Protobuf type
docker.DockerContainerSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedocker.DockerContainerSpecNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsEnv(String key) map<string, string> env = 9;booleancontainsLabels(String key) map<string, string> labels = 11;booleangetCommand(int index) repeated string command = 6;com.google.protobuf.ByteStringgetCommandBytes(int index) repeated string command = 6;intrepeated string command = 6;com.google.protobuf.ProtocolStringListrepeated string command = 6;getCpu()string cpu = 7;com.google.protobuf.ByteStringstring cpu = 7;static final com.google.protobuf.Descriptors.Descriptorstring 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;com.google.protobuf.ProtocolStringListrepeated 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;com.google.protobuf.Parser<DockerProto.DockerContainerSpec> booleanbool redirectStdError = 15;intstring 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;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(DockerProto.DockerContainerSpec prototype) protected DockerProto.DockerContainerSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DockerProto.DockerContainerSpec> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER- See Also:
-
WORKDIR_FIELD_NUMBER
public static final int WORKDIR_FIELD_NUMBER- See Also:
-
ENTRYPOINT_FIELD_NUMBER
public static final int ENTRYPOINT_FIELD_NUMBER- See Also:
-
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER- See Also:
-
CPU_FIELD_NUMBER
public static final int CPU_FIELD_NUMBER- See Also:
-
MEMORY_FIELD_NUMBER
public static final int MEMORY_FIELD_NUMBER- See Also:
-
ENV_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER- See Also:
-
ENVFILE_FIELD_NUMBER
public static final int ENVFILE_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
FORCEPULL_FIELD_NUMBER
public static final int FORCEPULL_FIELD_NUMBER- See Also:
-
HOSTS_FIELD_NUMBER
public static final int HOSTS_FIELD_NUMBER- See Also:
-
STDOUTFILEPATH_FIELD_NUMBER
public static final int STDOUTFILEPATH_FIELD_NUMBER- See Also:
-
REDIRECTSTDERROR_FIELD_NUMBER
public static final int REDIRECTSTDERROR_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getImage
string image = 1;- Specified by:
getImagein interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()string image = 1;- Specified by:
getImageBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for image.
-
getName
string name = 2;- Specified by:
getNamein interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2;- Specified by:
getNameBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for name.
-
getUser
string user = 3;- Specified by:
getUserin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()string user = 3;- Specified by:
getUserBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for user.
-
getWorkDir
string workDir = 4;- Specified by:
getWorkDirin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The workDir.
-
getWorkDirBytes
public com.google.protobuf.ByteString getWorkDirBytes()string workDir = 4;- Specified by:
getWorkDirBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for workDir.
-
getEntryPoint
string entryPoint = 5;- Specified by:
getEntryPointin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The entryPoint.
-
getEntryPointBytes
public com.google.protobuf.ByteString getEntryPointBytes()string entryPoint = 5;- Specified by:
getEntryPointBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for entryPoint.
-
getCommandList
public com.google.protobuf.ProtocolStringList getCommandList()repeated string command = 6;- Specified by:
getCommandListin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- A list containing the command.
-
getCommandCount
public int getCommandCount()repeated string command = 6;- Specified by:
getCommandCountin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The count of command.
-
getCommand
repeated string command = 6;- Specified by:
getCommandin interfaceDockerProto.DockerContainerSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes(int index) repeated string command = 6;- Specified by:
getCommandBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
getCpu
string cpu = 7;- Specified by:
getCpuin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The cpu.
-
getCpuBytes
public com.google.protobuf.ByteString getCpuBytes()string cpu = 7;- Specified by:
getCpuBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for cpu.
-
getMemory
string memory = 8;- Specified by:
getMemoryin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The memory.
-
getMemoryBytes
public com.google.protobuf.ByteString getMemoryBytes()string memory = 8;- Specified by:
getMemoryBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for memory.
-
getEnvCount
public int getEnvCount()Description copied from interface:DockerProto.DockerContainerSpecOrBuildermap<string, string> env = 9;- Specified by:
getEnvCountin interfaceDockerProto.DockerContainerSpecOrBuilder
-
containsEnv
map<string, string> env = 9;- Specified by:
containsEnvin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getEnv
Deprecated.UsegetEnvMap()instead.- Specified by:
getEnvin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getEnvMap
map<string, string> env = 9;- Specified by:
getEnvMapin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getEnvOrDefault
map<string, string> env = 9;- Specified by:
getEnvOrDefaultin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getEnvOrThrow
map<string, string> env = 9;- Specified by:
getEnvOrThrowin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getEnvFile
string envFile = 10;- Specified by:
getEnvFilein interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The envFile.
-
getEnvFileBytes
public com.google.protobuf.ByteString getEnvFileBytes()string envFile = 10;- Specified by:
getEnvFileBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for envFile.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DockerProto.DockerContainerSpecOrBuildermap<string, string> labels = 11;- Specified by:
getLabelsCountin interfaceDockerProto.DockerContainerSpecOrBuilder
-
containsLabels
map<string, string> labels = 11;- Specified by:
containsLabelsin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getLabelsMap
map<string, string> labels = 11;- Specified by:
getLabelsMapin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getLabelsOrDefault
map<string, string> labels = 11;- Specified by:
getLabelsOrDefaultin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getLabelsOrThrow
map<string, string> labels = 11;- Specified by:
getLabelsOrThrowin interfaceDockerProto.DockerContainerSpecOrBuilder
-
getForcePull
public boolean getForcePull()bool forcePull = 12;- Specified by:
getForcePullin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The forcePull.
-
getHostsList
public com.google.protobuf.ProtocolStringList getHostsList()repeated string hosts = 13;- Specified by:
getHostsListin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- A list containing the hosts.
-
getHostsCount
public int getHostsCount()repeated string hosts = 13;- Specified by:
getHostsCountin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The count of hosts.
-
getHosts
repeated string hosts = 13;- Specified by:
getHostsin interfaceDockerProto.DockerContainerSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hosts at the given index.
-
getHostsBytes
public com.google.protobuf.ByteString getHostsBytes(int index) repeated string hosts = 13;- Specified by:
getHostsBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hosts at the given index.
-
getStdoutFilePath
string stdoutFilePath = 14;- Specified by:
getStdoutFilePathin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The stdoutFilePath.
-
getStdoutFilePathBytes
public com.google.protobuf.ByteString getStdoutFilePathBytes()string stdoutFilePath = 14;- Specified by:
getStdoutFilePathBytesin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The bytes for stdoutFilePath.
-
getRedirectStdError
public boolean getRedirectStdError()bool redirectStdError = 15;- Specified by:
getRedirectStdErrorin interfaceDockerProto.DockerContainerSpecOrBuilder- Returns:
- The redirectStdError.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DockerProto.DockerContainerSpec parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DockerProto.DockerContainerSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DockerProto.DockerContainerSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static DockerProto.DockerContainerSpec.Builder newBuilder(DockerProto.DockerContainerSpec prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DockerProto.DockerContainerSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-