public final class Command extends GeneratedMessageV3 implements CommandOrBuilder
Command describes a step performed as part of the build pipeline.Protobuf type
grafeas.v1.Command
Modifier and Type | Class and Description |
---|---|
static class |
Command.Builder
Command describes a step performed as part of the build pipeline.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ARGS_FIELD_NUMBER |
static int |
DIR_FIELD_NUMBER |
static int |
ENV_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
WAIT_FOR_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArgs(int index)
Command-line arguments used when executing this command.
|
ByteString |
getArgsBytes(int index)
Command-line arguments used when executing this command.
|
int |
getArgsCount()
Command-line arguments used when executing this command.
|
ProtocolStringList |
getArgsList()
Command-line arguments used when executing this command.
|
static Command |
getDefaultInstance() |
Command |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
String |
getDir()
Working directory (relative to project source root) used when running this
command.
|
ByteString |
getDirBytes()
Working directory (relative to project source root) used when running this
command.
|
String |
getEnv(int index)
Environment variables set before running this command.
|
ByteString |
getEnvBytes(int index)
Environment variables set before running this command.
|
int |
getEnvCount()
Environment variables set before running this command.
|
ProtocolStringList |
getEnvList()
Environment variables set before running this command.
|
String |
getId()
Optional unique identifier for this command, used in wait_for to reference
this command as a dependency.
|
ByteString |
getIdBytes()
Optional unique identifier for this command, used in wait_for to reference
this command as a dependency.
|
String |
getName()
Required.
|
ByteString |
getNameBytes()
Required.
|
Parser<Command> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
String |
getWaitFor(int index)
The ID(s) of the command(s) that this command depends on.
|
ByteString |
getWaitForBytes(int index)
The ID(s) of the command(s) that this command depends on.
|
int |
getWaitForCount()
The ID(s) of the command(s) that this command depends on.
|
ProtocolStringList |
getWaitForList()
The ID(s) of the command(s) that this command depends on.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Command.Builder |
newBuilder() |
static Command.Builder |
newBuilder(Command prototype) |
Command.Builder |
newBuilderForType() |
protected Command.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Command |
parseDelimitedFrom(InputStream input) |
static Command |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(byte[] data) |
static Command |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(ByteBuffer data) |
static Command |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(ByteString data) |
static Command |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(CodedInputStream input) |
static Command |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Command |
parseFrom(InputStream input) |
static Command |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Command> |
parser() |
Command.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int DIR_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int WAIT_FOR_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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;
getName
in interface CommandOrBuilder
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;
getNameBytes
in interface CommandOrBuilder
public ProtocolStringList getEnvList()
Environment variables set before running this command.
repeated string env = 2;
getEnvList
in interface CommandOrBuilder
public int getEnvCount()
Environment variables set before running this command.
repeated string env = 2;
getEnvCount
in interface CommandOrBuilder
public String getEnv(int index)
Environment variables set before running this command.
repeated string env = 2;
getEnv
in interface CommandOrBuilder
public ByteString getEnvBytes(int index)
Environment variables set before running this command.
repeated string env = 2;
getEnvBytes
in interface CommandOrBuilder
public ProtocolStringList getArgsList()
Command-line arguments used when executing this command.
repeated string args = 3;
getArgsList
in interface CommandOrBuilder
public int getArgsCount()
Command-line arguments used when executing this command.
repeated string args = 3;
getArgsCount
in interface CommandOrBuilder
public String getArgs(int index)
Command-line arguments used when executing this command.
repeated string args = 3;
getArgs
in interface CommandOrBuilder
public ByteString getArgsBytes(int index)
Command-line arguments used when executing this command.
repeated string args = 3;
getArgsBytes
in interface CommandOrBuilder
public String getDir()
Working directory (relative to project source root) used when running this command.
string dir = 4;
getDir
in interface CommandOrBuilder
public ByteString getDirBytes()
Working directory (relative to project source root) used when running this command.
string dir = 4;
getDirBytes
in interface CommandOrBuilder
public String getId()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
getId
in interface CommandOrBuilder
public ByteString getIdBytes()
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string id = 5;
getIdBytes
in interface CommandOrBuilder
public ProtocolStringList getWaitForList()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitForList
in interface CommandOrBuilder
public int getWaitForCount()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitForCount
in interface CommandOrBuilder
public String getWaitFor(int index)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitFor
in interface CommandOrBuilder
public ByteString getWaitForBytes(int index)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;
getWaitForBytes
in interface CommandOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Command parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Command parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Command parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Command parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Command parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Command parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Command parseFrom(InputStream input) throws IOException
IOException
public static Command parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Command parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Command parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Command parseFrom(CodedInputStream input) throws IOException
IOException
public static Command parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Command.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Command.Builder newBuilder()
public static Command.Builder newBuilder(Command prototype)
public Command.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Command.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Command getDefaultInstance()
public Parser<Command> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Command getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.