- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public interface CommandOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getArgs(int index)
public abstract String getArgs(int index)
Command-line arguments used when executing this command.
repeated string args = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The args at the given index. |
getArgsBytes(int index)
public abstract ByteString getArgsBytes(int index)
Command-line arguments used when executing this command.
repeated string args = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the args at the given index. |
getArgsCount()
public abstract int getArgsCount()
Command-line arguments used when executing this command.
repeated string args = 3;
Returns | |
---|---|
Type | Description |
int |
The count of args. |
getArgsList()
public abstract List<String> getArgsList()
Command-line arguments used when executing this command.
repeated string args = 3;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the args. |
getDir()
public abstract String getDir()
Working directory (relative to project source root) used when running this command.
string dir = 4;
Returns | |
---|---|
Type | Description |
String |
The dir. |
getDirBytes()
public abstract ByteString getDirBytes()
Working directory (relative to project source root) used when running this command.
string dir = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dir. |
getEnv(int index)
public abstract String getEnv(int index)
Environment variables set before running this command.
repeated string env = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The env at the given index. |
getEnvBytes(int index)
public abstract ByteString getEnvBytes(int index)
Environment variables set before running this command.
repeated string env = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the env at the given index. |
getEnvCount()
public abstract int getEnvCount()
Environment variables set before running this command.
repeated string env = 2;
Returns | |
---|---|
Type | Description |
int |
The count of env. |
getEnvList()
public abstract List<String> getEnvList()
Environment variables set before running this command.
repeated string env = 2;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the env. |
getId()
public abstract String getId()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
Returns | |
---|---|
Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for id. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getWaitFor(int index)
public abstract String getWaitFor(int index)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The waitFor at the given index. |
getWaitForBytes(int index)
public abstract ByteString getWaitForBytes(int index)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the waitFor at the given index. |
getWaitForCount()
public abstract int getWaitForCount()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Returns | |
---|---|
Type | Description |
int |
The count of waitFor. |
getWaitForList()
public abstract List<String> getWaitForList()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the waitFor. |