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.UnusedPrivateParameterAbstractMessageLite.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, unknownFieldsmemoizedSizememoizedHashCode| 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 CommandOrBuilderpublic 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 CommandOrBuilderpublic ProtocolStringList getEnvList()
Environment variables set before running this command.
repeated string env = 2;getEnvList in interface CommandOrBuilderpublic int getEnvCount()
Environment variables set before running this command.
repeated string env = 2;getEnvCount in interface CommandOrBuilderpublic String getEnv(int index)
Environment variables set before running this command.
repeated string env = 2;getEnv in interface CommandOrBuilderpublic ByteString getEnvBytes(int index)
Environment variables set before running this command.
repeated string env = 2;getEnvBytes in interface CommandOrBuilderpublic ProtocolStringList getArgsList()
Command-line arguments used when executing this command.
repeated string args = 3;getArgsList in interface CommandOrBuilderpublic int getArgsCount()
Command-line arguments used when executing this command.
repeated string args = 3;getArgsCount in interface CommandOrBuilderpublic String getArgs(int index)
Command-line arguments used when executing this command.
repeated string args = 3;getArgs in interface CommandOrBuilderpublic ByteString getArgsBytes(int index)
Command-line arguments used when executing this command.
repeated string args = 3;getArgsBytes in interface CommandOrBuilderpublic String getDir()
Working directory (relative to project source root) used when running this command.
string dir = 4;getDir in interface CommandOrBuilderpublic ByteString getDirBytes()
Working directory (relative to project source root) used when running this command.
string dir = 4;getDirBytes in interface CommandOrBuilderpublic 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 CommandOrBuilderpublic 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 CommandOrBuilderpublic ProtocolStringList getWaitForList()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;getWaitForList in interface CommandOrBuilderpublic int getWaitForCount()
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;getWaitForCount in interface CommandOrBuilderpublic String getWaitFor(int index)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;getWaitFor in interface CommandOrBuilderpublic ByteString getWaitForBytes(int index)
The ID(s) of the command(s) that this command depends on.
repeated string wait_for = 6;getWaitForBytes in interface CommandOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Command parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Command parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Command parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Command parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Command parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Command parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Command parseFrom(InputStream input) throws IOException
IOExceptionpublic static Command parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Command parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Command parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Command parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Command parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Command.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Command.Builder newBuilder()
public static Command.Builder newBuilder(Command prototype)
public Command.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Command.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Command getDefaultInstance()
public Parser<Command> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Command getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.