public final class BuildProvenance extends com.google.protobuf.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.v1beta1.provenance.BuildProvenance| Modifier and Type | Class and Description |
|---|---|
static class |
BuildProvenance.Builder
Provenance of a build.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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 |
| 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.
|
com.google.protobuf.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.
|
com.google.protobuf.Timestamp |
getCreateTime()
Time at which the build was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Time at which the build was created.
|
String |
getCreator()
E-mail address of the user who initiated this build.
|
com.google.protobuf.ByteString |
getCreatorBytes()
E-mail address of the user who initiated this build.
|
static BuildProvenance |
getDefaultInstance() |
BuildProvenance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Time at which execution of the build was finished.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Time at which execution of the build was finished.
|
String |
getId()
Unique identifier of the build.
|
com.google.protobuf.ByteString |
getIdBytes()
Unique identifier of the build.
|
String |
getLogsUri()
URI where any logs for this provenance were written.
|
com.google.protobuf.ByteString |
getLogsUriBytes()
URI where any logs for this provenance were written.
|
com.google.protobuf.Parser<BuildProvenance> |
getParserForType() |
String |
getProjectId()
ID of the project.
|
com.google.protobuf.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.
|
com.google.protobuf.Timestamp |
getStartTime()
Time at which execution of the build was started.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Time at which execution of the build was started.
|
String |
getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
|
com.google.protobuf.ByteString |
getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
|
com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static BuildProvenance.Builder |
newBuilder() |
static BuildProvenance.Builder |
newBuilder(BuildProvenance prototype) |
BuildProvenance.Builder |
newBuilderForType() |
protected BuildProvenance.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BuildProvenance |
parseDelimitedFrom(InputStream input) |
static BuildProvenance |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(byte[] data) |
static BuildProvenance |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(ByteBuffer data) |
static BuildProvenance |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(com.google.protobuf.ByteString data) |
static BuildProvenance |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BuildProvenance |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BuildProvenance |
parseFrom(InputStream input) |
static BuildProvenance |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BuildProvenance> |
parser() |
BuildProvenance.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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, waitpublic 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 com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getId()
Unique identifier of the build.
string id = 1;getId in interface BuildProvenanceOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
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 com.google.protobuf.ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;getProjectIdBytes in interface BuildProvenanceOrBuilderpublic List<Command> getCommandsList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;getCommandsList in interface BuildProvenanceOrBuilderpublic List<? extends CommandOrBuilder> getCommandsOrBuilderList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;getCommandsOrBuilderList in interface BuildProvenanceOrBuilderpublic int getCommandsCount()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;getCommandsCount in interface BuildProvenanceOrBuilderpublic Command getCommands(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;getCommands in interface BuildProvenanceOrBuilderpublic CommandOrBuilder getCommandsOrBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;getCommandsOrBuilder in interface BuildProvenanceOrBuilderpublic List<Artifact> getBuiltArtifactsList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;getBuiltArtifactsList in interface BuildProvenanceOrBuilderpublic List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;getBuiltArtifactsOrBuilderList in interface BuildProvenanceOrBuilderpublic int getBuiltArtifactsCount()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;getBuiltArtifactsCount in interface BuildProvenanceOrBuilderpublic Artifact getBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;getBuiltArtifacts in interface BuildProvenanceOrBuilderpublic ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.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 com.google.protobuf.Timestamp getCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;getCreateTime in interface BuildProvenanceOrBuilderpublic com.google.protobuf.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 com.google.protobuf.Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;getStartTime in interface BuildProvenanceOrBuilderpublic com.google.protobuf.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 com.google.protobuf.Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;getEndTime in interface BuildProvenanceOrBuilderpublic com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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.v1beta1.provenance.Source source_provenance = 10;hasSourceProvenance in interface BuildProvenanceOrBuilderpublic Source getSourceProvenance()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;getSourceProvenance in interface BuildProvenanceOrBuilderpublic SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.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 com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BuildProvenance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BuildProvenance parseFrom(InputStream input) throws IOException
IOExceptionpublic static BuildProvenance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BuildProvenance parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BuildProvenance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BuildProvenance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BuildProvenance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BuildProvenance.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BuildProvenance.Builder newBuilder()
public static BuildProvenance.Builder newBuilder(BuildProvenance prototype)
public BuildProvenance.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BuildProvenance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BuildProvenance getDefaultInstance()
public static com.google.protobuf.Parser<BuildProvenance> parser()
public com.google.protobuf.Parser<BuildProvenance> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BuildProvenance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.