Package io.grafeas.v1beta1.provenance
Interface CommandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Command,Command.Builder
@Generated
public interface CommandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArgs(int index) Command-line arguments used when executing this command.com.google.protobuf.ByteStringgetArgsBytes(int index) Command-line arguments used when executing this command.intCommand-line arguments used when executing this command.Command-line arguments used when executing this command.getDir()Working directory (relative to project source root) used when running this command.com.google.protobuf.ByteStringWorking directory (relative to project source root) used when running this command.getEnv(int index) Environment variables set before running this command.com.google.protobuf.ByteStringgetEnvBytes(int index) Environment variables set before running this command.intEnvironment variables set before running this command.Environment variables set before running this command.getId()Optional unique identifier for this command, used in wait_for to reference this command as a dependency.com.google.protobuf.ByteStringOptional unique identifier for this command, used in wait_for to reference this command as a dependency.getName()Required.com.google.protobuf.ByteStringRequired.getWaitFor(int index) The ID(s) of the command(s) that this command depends on.com.google.protobuf.ByteStringgetWaitForBytes(int index) The ID(s) of the command(s) that this command depends on.intThe ID(s) of the command(s) that this command depends on.The ID(s) of the command(s) that this command depends on.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
-
getName
String getName()Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
string name = 1;- Returns:
- The bytes for name.
-
getEnvList
Environment variables set before running this command.
repeated string env = 2;- Returns:
- A list containing the env.
-
getEnvCount
int getEnvCount()Environment variables set before running this command.
repeated string env = 2;- Returns:
- The count of env.
-
getEnv
Environment variables set before running this command.
repeated string env = 2;- Parameters:
index- The index of the element to return.- Returns:
- The env at the given index.
-
getEnvBytes
com.google.protobuf.ByteString getEnvBytes(int index) Environment variables set before running this command.
repeated string env = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the env at the given index.
-
getArgsList
Command-line arguments used when executing this command.
repeated string args = 3;- Returns:
- A list containing the args.
-
getArgsCount
int getArgsCount()Command-line arguments used when executing this command.
repeated string args = 3;- Returns:
- The count of args.
-
getArgs
Command-line arguments used when executing this command.
repeated string args = 3;- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
com.google.protobuf.ByteString getArgsBytes(int index) Command-line arguments used when executing this command.
repeated string args = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
getDir
String getDir()Working directory (relative to project source root) used when running this command.
string dir = 4;- Returns:
- The dir.
-
getDirBytes
com.google.protobuf.ByteString getDirBytes()Working directory (relative to project source root) used when running this command.
string dir = 4;- Returns:
- The bytes for dir.
-
getId
String getId()Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;- Returns:
- The bytes for id.
-
getWaitForList
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;- Returns:
- A list containing the waitFor.
-
getWaitForCount
int getWaitForCount()The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;- Returns:
- The count of waitFor.
-
getWaitFor
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;- Parameters:
index- The index of the element to return.- Returns:
- The waitFor at the given index.
-
getWaitForBytes
com.google.protobuf.ByteString getWaitForBytes(int index) The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the waitFor at the given index.
-