- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 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.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public
static
final
class
Command
.
Builder
extends
GeneratedMessageV3
.
Builder<Command
.
Builder
>
implements
CommandOrBuilder
Command describes a step performed as part of the build pipeline.
Protobuf type grafeas.v1.Command
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Command.BuilderImplements
CommandOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Type | Description |
---|---|
Descriptor |
Methods
addAllArgs(Iterable<String> values)
public
Command
.
Builder
addAllArgs
(
Iterable<String>
values
)
Command-line arguments used when executing this command.
repeated string args = 3;
Name | Description |
values | Iterable
< String
>
The args to add. |
Type | Description |
Command.Builder | This builder for chaining. |
addAllEnv(Iterable<String> values)
public
Command
.
Builder
addAllEnv
(
Iterable<String>
values
)
Environment variables set before running this command.
repeated string env = 2;
Name | Description |
values | Iterable
< String
>
The env to add. |
Type | Description |
Command.Builder | This builder for chaining. |
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;
Name | Description |
values | Iterable
< String
>
The waitFor to add. |
Type | Description |
Command.Builder | This builder for chaining. |
addArgs(String value)
public
Command
.
Builder
addArgs
(
String
value
)
Command-line arguments used when executing this command.
repeated string args = 3;
Name | Description |
---|---|
value | String
The args to add. |
Type | Description |
Command.Builder | This builder for chaining. |
addArgsBytes(ByteString value)
public
Command
.
Builder
addArgsBytes
(
ByteString
value
)
Command-line arguments used when executing this command.
repeated string args = 3;
Name | Description |
value | ByteString
The bytes of the args to add. |
Type | Description |
Command.Builder | This builder for chaining. |
addEnv(String value)
public
Command
.
Builder
addEnv
(
String
value
)
Environment variables set before running this command.
repeated string env = 2;
Name | Description |
---|---|
value | String
The env to add. |
Type | Description |
Command.Builder | This builder for chaining. |
addEnvBytes(ByteString value)
public
Command
.
Builder
addEnvBytes
(
ByteString
value
)
Environment variables set before running this command.
repeated string env = 2;
Name | Description |
value | ByteString
The bytes of the env to add. |
Type | Description |
Command.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
Command
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Name | Description |
---|---|
field | FieldDescriptor
|
value | Object
|
Type | Description |
---|---|
Command.Builder |
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;
Name | Description |
value | String
The waitFor to add. |
Type | Description |
Command.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString
The bytes of the waitFor to add. |
Type | Description |
Command.Builder | This builder for chaining. |
build()
public
Command
build
()
Type | Description |
---|---|
Command |
buildPartial()
public
Command
buildPartial
()
Type | Description |
---|---|
Command |
clear()
public
Command
.
Builder
clear
()
Type | Description |
---|---|
Command.Builder |
clearArgs()
public
Command
.
Builder
clearArgs
()
Command-line arguments used when executing this command.
repeated string args = 3;
Type | Description |
Command.Builder | This builder for chaining. |
clearDir()
public
Command
.
Builder
clearDir
()
Working directory (relative to project source root) used when running this command.
string dir = 4;
Type | Description |
Command.Builder | This builder for chaining. |
clearEnv()
public
Command
.
Builder
clearEnv
()
Environment variables set before running this command.
repeated string env = 2;
Type | Description |
Command.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public
Command
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
Name | Description |
---|---|
field | FieldDescriptor
|
Type | Description |
---|---|
Command.Builder |
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;
Type | Description |
Command.Builder | This builder for chaining. |
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;
Type | Description |
Command.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public
Command
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
Name | Description |
---|---|
oneof | OneofDescriptor
|
Type | Description |
---|---|
Command.Builder |
clearWaitFor()
public
Command
.
Builder
clearWaitFor
()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Type | Description |
Command.Builder | This builder for chaining. |
clone()
public
Command
.
Builder
clone
()
Type | Description |
---|---|
Command.Builder |
getArgs(int index)
public
String
getArgs
(
int
index
)
Command-line arguments used when executing this command.
repeated string args = 3;
Name | Description |
index | int
The index of the element to return. |
Type | Description |
String | The args at the given index. |
getArgsBytes(int index)
public
ByteString
getArgsBytes
(
int
index
)
Command-line arguments used when executing this command.
repeated string args = 3;
Name | Description |
index | int
The index of the value to return. |
Type | Description |
ByteString | The bytes of the args at the given index. |
getArgsCount()
public
int
getArgsCount
()
Command-line arguments used when executing this command.
repeated string args = 3;
Type | Description |
---|---|
int | The count of args. |
getArgsList()
public
ProtocolStringList
getArgsList
()
Command-line arguments used when executing this command.
repeated string args = 3;
Type | Description |
ProtocolStringList | A list containing the args. |
getDefaultInstanceForType()
public
Command
getDefaultInstanceForType
()
Type | Description |
---|---|
Command |
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
Type | Description |
---|---|
Descriptor |
getDir()
public
String
getDir
()
Working directory (relative to project source root) used when running this command.
string dir = 4;
Type | Description |
---|---|
String | The dir. |
getDirBytes()
public
ByteString
getDirBytes
()
Working directory (relative to project source root) used when running this command.
string dir = 4;
Type | Description |
---|---|
ByteString | The bytes for dir. |
getEnv(int index)
public
String
getEnv
(
int
index
)
Environment variables set before running this command.
repeated string env = 2;
Name | Description |
index | int
The index of the element to return. |
Type | Description |
String | The env at the given index. |
getEnvBytes(int index)
public
ByteString
getEnvBytes
(
int
index
)
Environment variables set before running this command.
repeated string env = 2;
Name | Description |
index | int
The index of the value to return. |
Type | Description |
ByteString | The bytes of the env at the given index. |
getEnvCount()
public
int
getEnvCount
()
Environment variables set before running this command.
repeated string env = 2;
Type | Description |
---|---|
int | The count of env. |
getEnvList()
public
ProtocolStringList
getEnvList
()
Environment variables set before running this command.
repeated string env = 2;
Type | Description |
ProtocolStringList | A list containing the env. |
getId()
public
String
getId
()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
Type | Description |
---|---|
String | The id. |
getIdBytes()
public
ByteString
getIdBytes
()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
Type | Description |
---|---|
ByteString | The bytes for id. |
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;
Type | Description |
---|---|
String | The name. |
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;
Type | Description |
---|---|
ByteString | The bytes for name. |
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;
Name | Description |
index | int
The index of the element to return. |
Type | Description |
String | The waitFor at the given index. |
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;
Name | Description |
index | int
The index of the value to return. |
Type | Description |
ByteString | The bytes of the waitFor at the given index. |
getWaitForCount()
public
int
getWaitForCount
()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Type | Description |
---|---|
int | The count of waitFor. |
getWaitForList()
public
ProtocolStringList
getWaitForList
()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
Type | Description |
ProtocolStringList | A list containing the waitFor. |
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
Type | Description |
---|---|
FieldAccessorTable |
isInitialized()
public
final
boolean
isInitialized
()
Type | Description |
---|---|
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Command
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
Name | Description |
input | CodedInputStream
|
extensionRegistry | ExtensionRegistryLite
|
Type | Description |
---|---|
Command.Builder |
Type | Description |
---|---|
IOException |
mergeFrom(Message other)
public
Command
.
Builder
mergeFrom
(
Message
other
)
Name | Description |
---|---|
other | Message
|
Type | Description |
---|---|
Command.Builder |
mergeFrom(Command other)
public
Command
.
Builder
mergeFrom
(
Command
other
)
Name | Description |
---|---|
other | Command
|
Type | Description |
---|---|
Command.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
Command
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
Name | Description |
---|---|
unknownFields | UnknownFieldSet
|
Type | Description |
---|---|
Command.Builder |
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;
Name | Description |
index | int
The index to set the value at. |
value | String
The args to set. |
Type | Description |
Command.Builder | This builder for chaining. |
setDir(String value)
public
Command
.
Builder
setDir
(
String
value
)
Working directory (relative to project source root) used when running this command.
string dir = 4;
Name | Description |
---|---|
value | String
The dir to set. |
Type | Description |
Command.Builder | This builder for chaining. |
setDirBytes(ByteString value)
public
Command
.
Builder
setDirBytes
(
ByteString
value
)
Working directory (relative to project source root) used when running this command.
string dir = 4;
Name | Description |
value | ByteString
The bytes for dir to set. |
Type | Description |
Command.Builder | This builder for chaining. |
setEnv(int index, String value)
public
Command
.
Builder
setEnv
(
int
index
,
String
value
)
Environment variables set before running this command.
repeated string env = 2;
Name | Description |
index | int
The index to set the value at. |
value | String
The env to set. |
Type | Description |
Command.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public
Command
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
Name | Description |
---|---|
field | FieldDescriptor
|
value | Object
|
Type | Description |
---|---|
Command.Builder |
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;
Name | Description |
---|---|
value | String
The id to set. |
Type | Description |
Command.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString
The bytes for id to set. |
Type | Description |
Command.Builder | This builder for chaining. |
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;
Name | Description |
---|---|
value | String
The name to set. |
Type | Description |
Command.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString
The bytes for name to set. |
Type | Description |
Command.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
Command
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
Name | Description |
---|---|
field | FieldDescriptor
|
index | int
|
value | Object
|
Type | Description |
---|---|
Command.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public
final
Command
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)
Name | Description |
---|---|
unknownFields | UnknownFieldSet
|
Type | Description |
---|---|
Command.Builder |
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;
Name | Description |
index | int
The index to set the value at. |
value | String
The waitFor to set. |
Type | Description |
Command.Builder | This builder for chaining. |