public
final
class
Command
extends
GeneratedMessage
implements
CommandOrBuilder
Command describes a step performed as part of the build pipeline.
Protobuf type grafeas.v1.Command
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CommandImplements
CommandOrBuilderStatic Fields
ARGS_FIELD_NUMBER
public
static
final
int
ARGS_FIELD_NUMBER
DIR_FIELD_NUMBER
public
static
final
int
DIR_FIELD_NUMBER
ENV_FIELD_NUMBER
public
static
final
int
ENV_FIELD_NUMBER
ID_FIELD_NUMBER
public
static
final
int
ID_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
WAIT_FOR_FIELD_NUMBER
public
static
final
int
WAIT_FOR_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Command
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Command
.
Builder
newBuilder
()
newBuilder(Command prototype)
public
static
Command
.
Builder
newBuilder
(
Command
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Command
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Command
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Command
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Command
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Command
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Command
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Command
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Command
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Command
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Command
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Command
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Command
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Command>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
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
()
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;
getParserForType()
public
Parser<Command>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
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;
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Command
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
Command
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
Command
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

