public final class BuildProvenance extends GeneratedMessageV3 implements BuildProvenanceOrBuilder
Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.Protobuf type
grafeas.v1.BuildProvenance| Modifier and Type | Class and Description |
|---|---|
static class |
BuildProvenance.Builder
Provenance of a build.
|
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 |
BUILD_OPTIONS_FIELD_NUMBER |
static int |
BUILDER_VERSION_FIELD_NUMBER |
static int |
BUILT_ARTIFACTS_FIELD_NUMBER |
static int |
COMMANDS_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CREATOR_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LOGS_URI_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
SOURCE_PROVENANCE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TRIGGER_ID_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBuildOptions(String key)
Special options applied to this build.
|
boolean |
equals(Object obj) |
String |
getBuilderVersion()
Version string of the builder at the time this build was executed.
|
ByteString |
getBuilderVersionBytes()
Version string of the builder at the time this build was executed.
|
Map<String,String> |
getBuildOptions()
Deprecated.
|
int |
getBuildOptionsCount()
Special options applied to this build.
|
Map<String,String> |
getBuildOptionsMap()
Special options applied to this build.
|
String |
getBuildOptionsOrDefault(String key,
String defaultValue)
Special options applied to this build.
|
String |
getBuildOptionsOrThrow(String key)
Special options applied to this build.
|
Artifact |
getBuiltArtifacts(int index)
Output of the build.
|
int |
getBuiltArtifactsCount()
Output of the build.
|
List<Artifact> |
getBuiltArtifactsList()
Output of the build.
|
ArtifactOrBuilder |
getBuiltArtifactsOrBuilder(int index)
Output of the build.
|
List<? extends ArtifactOrBuilder> |
getBuiltArtifactsOrBuilderList()
Output of the build.
|
Command |
getCommands(int index)
Commands requested by the build.
|
int |
getCommandsCount()
Commands requested by the build.
|
List<Command> |
getCommandsList()
Commands requested by the build.
|
CommandOrBuilder |
getCommandsOrBuilder(int index)
Commands requested by the build.
|
List<? extends CommandOrBuilder> |
getCommandsOrBuilderList()
Commands requested by the build.
|
Timestamp |
getCreateTime()
Time at which the build was created.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Time at which the build was created.
|
String |
getCreator()
E-mail address of the user who initiated this build.
|
ByteString |
getCreatorBytes()
E-mail address of the user who initiated this build.
|
static BuildProvenance |
getDefaultInstance() |
BuildProvenance |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Timestamp |
getEndTime()
Time at which execution of the build was finished.
|
TimestampOrBuilder |
getEndTimeOrBuilder()
Time at which execution of the build was finished.
|
String |
getId()
Required.
|
ByteString |
getIdBytes()
Required.
|
String |
getLogsUri()
URI where any logs for this provenance were written.
|
ByteString |
getLogsUriBytes()
URI where any logs for this provenance were written.
|
Parser<BuildProvenance> |
getParserForType() |
String |
getProjectId()
ID of the project.
|
ByteString |
getProjectIdBytes()
ID of the project.
|
int |
getSerializedSize() |
Source |
getSourceProvenance()
Details of the Source input to the build.
|
SourceOrBuilder |
getSourceProvenanceOrBuilder()
Details of the Source input to the build.
|
Timestamp |
getStartTime()
Time at which execution of the build was started.
|
TimestampOrBuilder |
getStartTimeOrBuilder()
Time at which execution of the build was started.
|
String |
getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
|
ByteString |
getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
Time at which the build was created.
|
boolean |
hasEndTime()
Time at which execution of the build was finished.
|
int |
hashCode() |
boolean |
hasSourceProvenance()
Details of the Source input to the build.
|
boolean |
hasStartTime()
Time at which execution of the build was started.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static BuildProvenance.Builder |
newBuilder() |
static BuildProvenance.Builder |
newBuilder(BuildProvenance prototype) |
BuildProvenance.Builder |
newBuilderForType() |
protected BuildProvenance.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static BuildProvenance |
parseDelimitedFrom(InputStream input) |
static BuildProvenance |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(byte[] data) |
static BuildProvenance |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(ByteBuffer data) |
static BuildProvenance |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(ByteString data) |
static BuildProvenance |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(CodedInputStream input) |
static BuildProvenance |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(InputStream input) |
static BuildProvenance |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<BuildProvenance> |
parser() |
BuildProvenance.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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 ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER
public static final int BUILT_ARTIFACTS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
public static final int LOGS_URI_FIELD_NUMBER
public static final int SOURCE_PROVENANCE_FIELD_NUMBER
public static final int TRIGGER_ID_FIELD_NUMBER
public static final int BUILD_OPTIONS_FIELD_NUMBER
public static final int BUILDER_VERSION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getId()
Required. Unique identifier of the build.
string id = 1;getId in interface BuildProvenanceOrBuilderpublic ByteString getIdBytes()
Required. Unique identifier of the build.
string id = 1;getIdBytes in interface BuildProvenanceOrBuilderpublic String getProjectId()
ID of the project.
string project_id = 2;getProjectId in interface BuildProvenanceOrBuilderpublic ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;getProjectIdBytes in interface BuildProvenanceOrBuilderpublic List<Command> getCommandsList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;getCommandsList in interface BuildProvenanceOrBuilderpublic List<? extends CommandOrBuilder> getCommandsOrBuilderList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;getCommandsOrBuilderList in interface BuildProvenanceOrBuilderpublic int getCommandsCount()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;getCommandsCount in interface BuildProvenanceOrBuilderpublic Command getCommands(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;getCommands in interface BuildProvenanceOrBuilderpublic CommandOrBuilder getCommandsOrBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;getCommandsOrBuilder in interface BuildProvenanceOrBuilderpublic List<Artifact> getBuiltArtifactsList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;getBuiltArtifactsList in interface BuildProvenanceOrBuilderpublic List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;getBuiltArtifactsOrBuilderList in interface BuildProvenanceOrBuilderpublic int getBuiltArtifactsCount()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;getBuiltArtifactsCount in interface BuildProvenanceOrBuilderpublic Artifact getBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;getBuiltArtifacts in interface BuildProvenanceOrBuilderpublic ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;getBuiltArtifactsOrBuilder in interface BuildProvenanceOrBuilderpublic boolean hasCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;hasCreateTime in interface BuildProvenanceOrBuilderpublic Timestamp getCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;getCreateTime in interface BuildProvenanceOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;getCreateTimeOrBuilder in interface BuildProvenanceOrBuilderpublic boolean hasStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;hasStartTime in interface BuildProvenanceOrBuilderpublic Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;getStartTime in interface BuildProvenanceOrBuilderpublic TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;getStartTimeOrBuilder in interface BuildProvenanceOrBuilderpublic boolean hasEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;hasEndTime in interface BuildProvenanceOrBuilderpublic Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;getEndTime in interface BuildProvenanceOrBuilderpublic TimestampOrBuilder getEndTimeOrBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;getEndTimeOrBuilder in interface BuildProvenanceOrBuilderpublic String getCreator()
E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
string creator = 8;getCreator in interface BuildProvenanceOrBuilderpublic ByteString getCreatorBytes()
E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
string creator = 8;getCreatorBytes in interface BuildProvenanceOrBuilderpublic String getLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;getLogsUri in interface BuildProvenanceOrBuilderpublic ByteString getLogsUriBytes()
URI where any logs for this provenance were written.
string logs_uri = 9;getLogsUriBytes in interface BuildProvenanceOrBuilderpublic boolean hasSourceProvenance()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;hasSourceProvenance in interface BuildProvenanceOrBuilderpublic Source getSourceProvenance()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;getSourceProvenance in interface BuildProvenanceOrBuilderpublic SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;getSourceProvenanceOrBuilder in interface BuildProvenanceOrBuilderpublic String getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;getTriggerId in interface BuildProvenanceOrBuilderpublic ByteString getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;getTriggerIdBytes in interface BuildProvenanceOrBuilderpublic int getBuildOptionsCount()
BuildProvenanceOrBuilderSpecial options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
map<string, string> build_options = 12;getBuildOptionsCount in interface BuildProvenanceOrBuilderpublic boolean containsBuildOptions(String key)
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
map<string, string> build_options = 12;containsBuildOptions in interface BuildProvenanceOrBuilder@Deprecated public Map<String,String> getBuildOptions()
getBuildOptionsMap() instead.getBuildOptions in interface BuildProvenanceOrBuilderpublic Map<String,String> getBuildOptionsMap()
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
map<string, string> build_options = 12;getBuildOptionsMap in interface BuildProvenanceOrBuilderpublic String getBuildOptionsOrDefault(String key, String defaultValue)
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
map<string, string> build_options = 12;getBuildOptionsOrDefault in interface BuildProvenanceOrBuilderpublic String getBuildOptionsOrThrow(String key)
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
map<string, string> build_options = 12;getBuildOptionsOrThrow in interface BuildProvenanceOrBuilderpublic String getBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;getBuilderVersion in interface BuildProvenanceOrBuilderpublic ByteString getBuilderVersionBytes()
Version string of the builder at the time this build was executed.
string builder_version = 13;getBuilderVersionBytes in interface BuildProvenanceOrBuilderpublic 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 BuildProvenance parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(InputStream input) throws IOException
IOExceptionpublic static BuildProvenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BuildProvenance parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BuildProvenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BuildProvenance parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static BuildProvenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BuildProvenance.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static BuildProvenance.Builder newBuilder()
public static BuildProvenance.Builder newBuilder(BuildProvenance prototype)
public BuildProvenance.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected BuildProvenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static BuildProvenance getDefaultInstance()
public static Parser<BuildProvenance> parser()
public Parser<BuildProvenance> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public BuildProvenance getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.