public
static
final
class
Command
.
Builder
extends
GeneratedMessage
.
Builder<Command
.
Builder
>
implements
CommandOrBuilder
Command describes a step performed as part of the build pipeline.
Protobuf type grafeas.v1.Command
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Command.BuilderImplements
CommandOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addAllArgs(Iterable<String> values)
public
Command
.
Builder
addAllArgs
(
Iterable<String>
values
)
Command-line arguments used when executing this command.
repeated string args = 3;
addAllEnv(Iterable<String> values)
public
Command
.
Builder
addAllEnv
(
Iterable<String>
values
)
Environment variables set before running this command.
repeated string env = 2;
addAllWaitFor(Iterable<String> values)
public
Command
.
Builder
addAllWaitFor
(
Iterable<String>
values
)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
addArgs(String value)
public
Command
.
Builder
addArgs
(
String
value
)
Command-line arguments used when executing this command.
repeated string args = 3;
addArgsBytes(ByteString value)
public
Command
.
Builder
addArgsBytes
(
ByteString
value
)
Command-line arguments used when executing this command.
repeated string args = 3;
addEnv(String value)
public
Command
.
Builder
addEnv
(
String
value
)
Environment variables set before running this command.
repeated string env = 2;
addEnvBytes(ByteString value)
public
Command
.
Builder
addEnvBytes
(
ByteString
value
)
Environment variables set before running this command.
repeated string env = 2;
addWaitFor(String value)
public
Command
.
Builder
addWaitFor
(
String
value
)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
addWaitForBytes(ByteString value)
public
Command
.
Builder
addWaitForBytes
(
ByteString
value
)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
build()
public
Command
build
()
buildPartial()
public
Command
buildPartial
()
clear()
public
Command
.
Builder
clear
()
clearArgs()
public
Command
.
Builder
clearArgs
()
Command-line arguments used when executing this command.
repeated string args = 3;
clearDir()
public
Command
.
Builder
clearDir
()
Working directory (relative to project source root) used when running this command.
string dir = 4;
clearEnv()
public
Command
.
Builder
clearEnv
()
Environment variables set before running this command.
repeated string env = 2;
clearId()
public
Command
.
Builder
clearId
()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
clearName()
public
Command
.
Builder
clearName
()
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;
clearWaitFor()
public
Command
.
Builder
clearWaitFor
()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getArgs(int index)
public
String
getArgs
(
int
index
)
Command-line arguments used when executing this command.
repeated string args = 3;
getArgsBytes(int index)
public
ByteString
getArgsBytes
(
int
index
)
Command-line arguments used when executing this command.
repeated string args = 3;
getArgsCount()
public
int
getArgsCount
()
Command-line arguments used when executing this command.
repeated string args = 3;
getArgsList()
public
ProtocolStringList
getArgsList
()
Command-line arguments used when executing this command.
repeated string args = 3;
getDefaultInstanceForType()
public
Command
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getDir()
public
String
getDir
()
Working directory (relative to project source root) used when running this command.
string dir = 4;
getDirBytes()
public
ByteString
getDirBytes
()
Working directory (relative to project source root) used when running this command.
string dir = 4;
getEnv(int index)
public
String
getEnv
(
int
index
)
Environment variables set before running this command.
repeated string env = 2;
getEnvBytes(int index)
public
ByteString
getEnvBytes
(
int
index
)
Environment variables set before running this command.
repeated string env = 2;
getEnvCount()
public
int
getEnvCount
()
Environment variables set before running this command.
repeated string env = 2;
getEnvList()
public
ProtocolStringList
getEnvList
()
Environment variables set before running this command.
repeated string env = 2;
getId()
public
String
getId
()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
getIdBytes()
public
ByteString
getIdBytes
()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
getName()
public
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;
getNameBytes()
public
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;
getWaitFor(int index)
public
String
getWaitFor
(
int
index
)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitForBytes(int index)
public
ByteString
getWaitForBytes
(
int
index
)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitForCount()
public
int
getWaitForCount
()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitForList()
public
ProtocolStringList
getWaitForList
()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Command
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
Command
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(Command other)
public
Command
.
Builder
mergeFrom
(
Command
other
)
setArgs(int index, String value)
public
Command
.
Builder
setArgs
(
int
index
,
String
value
)
Command-line arguments used when executing this command.
repeated string args = 3;
setDir(String value)
public
Command
.
Builder
setDir
(
String
value
)
Working directory (relative to project source root) used when running this command.
string dir = 4;
setDirBytes(ByteString value)
public
Command
.
Builder
setDirBytes
(
ByteString
value
)
Working directory (relative to project source root) used when running this command.
string dir = 4;
setEnv(int index, String value)
public
Command
.
Builder
setEnv
(
int
index
,
String
value
)
Environment variables set before running this command.
repeated string env = 2;
setId(String value)
public
Command
.
Builder
setId
(
String
value
)
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
setIdBytes(ByteString value)
public
Command
.
Builder
setIdBytes
(
ByteString
value
)
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
setName(String value)
public
Command
.
Builder
setName
(
String
value
)
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;
setNameBytes(ByteString value)
public
Command
.
Builder
setNameBytes
(
ByteString
value
)
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;
setWaitFor(int index, String value)
public
Command
.
Builder
setWaitFor
(
int
index
,
String
value
)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;

