Package io.grafeas.v1beta1.provenance
Interface CommandOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Command,Command.Builder
public interface CommandOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetArgs(int index)Command-line arguments used when executing this command.com.google.protobuf.ByteStringgetArgsBytes(int index)Command-line arguments used when executing this command.intgetArgsCount()Command-line arguments used when executing this command.List<String>getArgsList()Command-line arguments used when executing this command.StringgetDir()Working directory (relative to project source root) used when running this command.com.google.protobuf.ByteStringgetDirBytes()Working directory (relative to project source root) used when running this command.StringgetEnv(int index)Environment variables set before running this command.com.google.protobuf.ByteStringgetEnvBytes(int index)Environment variables set before running this command.intgetEnvCount()Environment variables set before running this command.List<String>getEnvList()Environment variables set before running this command.StringgetId()Optional unique identifier for this command, used in wait_for to reference this command as a dependency.com.google.protobuf.ByteStringgetIdBytes()Optional unique identifier for this command, used in wait_for to reference this command as a dependency.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.StringgetWaitFor(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.intgetWaitForCount()The ID(s) of the command(s) that this command depends on.List<String>getWaitForList()The ID(s) of the command(s) that this command depends on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<String> 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
String getEnv(int index)
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
List<String> 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
String getArgs(int index)
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
List<String> 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
String getWaitFor(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 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.
-
-