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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
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, 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 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getId()
Required. Unique identifier of the build.
string id = 1;
getId
in interface BuildProvenanceOrBuilder
public ByteString getIdBytes()
Required. Unique identifier of the build.
string id = 1;
getIdBytes
in interface BuildProvenanceOrBuilder
public String getProjectId()
ID of the project.
string project_id = 2;
getProjectId
in interface BuildProvenanceOrBuilder
public ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;
getProjectIdBytes
in interface BuildProvenanceOrBuilder
public List<Command> getCommandsList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
getCommandsList
in interface BuildProvenanceOrBuilder
public List<? extends CommandOrBuilder> getCommandsOrBuilderList()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
getCommandsOrBuilderList
in interface BuildProvenanceOrBuilder
public int getCommandsCount()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
getCommandsCount
in interface BuildProvenanceOrBuilder
public Command getCommands(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
getCommands
in interface BuildProvenanceOrBuilder
public CommandOrBuilder getCommandsOrBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
getCommandsOrBuilder
in interface BuildProvenanceOrBuilder
public List<Artifact> getBuiltArtifactsList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
getBuiltArtifactsList
in interface BuildProvenanceOrBuilder
public List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
getBuiltArtifactsOrBuilderList
in interface BuildProvenanceOrBuilder
public int getBuiltArtifactsCount()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
getBuiltArtifactsCount
in interface BuildProvenanceOrBuilder
public Artifact getBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
getBuiltArtifacts
in interface BuildProvenanceOrBuilder
public ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
getBuiltArtifactsOrBuilder
in interface BuildProvenanceOrBuilder
public boolean hasCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
hasCreateTime
in interface BuildProvenanceOrBuilder
public Timestamp getCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
getCreateTime
in interface BuildProvenanceOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
getCreateTimeOrBuilder
in interface BuildProvenanceOrBuilder
public boolean hasStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
hasStartTime
in interface BuildProvenanceOrBuilder
public Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
getStartTime
in interface BuildProvenanceOrBuilder
public TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
getStartTimeOrBuilder
in interface BuildProvenanceOrBuilder
public boolean hasEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
hasEndTime
in interface BuildProvenanceOrBuilder
public Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
getEndTime
in interface BuildProvenanceOrBuilder
public TimestampOrBuilder getEndTimeOrBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
getEndTimeOrBuilder
in interface BuildProvenanceOrBuilder
public 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 BuildProvenanceOrBuilder
public 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 BuildProvenanceOrBuilder
public String getLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;
getLogsUri
in interface BuildProvenanceOrBuilder
public ByteString getLogsUriBytes()
URI where any logs for this provenance were written.
string logs_uri = 9;
getLogsUriBytes
in interface BuildProvenanceOrBuilder
public boolean hasSourceProvenance()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
hasSourceProvenance
in interface BuildProvenanceOrBuilder
public Source getSourceProvenance()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
getSourceProvenance
in interface BuildProvenanceOrBuilder
public SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1.Source source_provenance = 10;
getSourceProvenanceOrBuilder
in interface BuildProvenanceOrBuilder
public String getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
getTriggerId
in interface BuildProvenanceOrBuilder
public ByteString getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
getTriggerIdBytes
in interface BuildProvenanceOrBuilder
public int getBuildOptionsCount()
BuildProvenanceOrBuilder
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;
getBuildOptionsCount
in interface BuildProvenanceOrBuilder
public 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 BuildProvenanceOrBuilder
public 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 BuildProvenanceOrBuilder
public 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 BuildProvenanceOrBuilder
public 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 BuildProvenanceOrBuilder
public String getBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;
getBuilderVersion
in interface BuildProvenanceOrBuilder
public ByteString getBuilderVersionBytes()
Version string of the builder at the time this build was executed.
string builder_version = 13;
getBuilderVersionBytes
in interface BuildProvenanceOrBuilder
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 BuildProvenance parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BuildProvenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BuildProvenance parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BuildProvenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BuildProvenance parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BuildProvenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BuildProvenance parseFrom(InputStream input) throws IOException
IOException
public static BuildProvenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BuildProvenance parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BuildProvenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BuildProvenance parseFrom(CodedInputStream input) throws IOException
IOException
public static BuildProvenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public BuildProvenance.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static BuildProvenance.Builder newBuilder()
public static BuildProvenance.Builder newBuilder(BuildProvenance prototype)
public BuildProvenance.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected BuildProvenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static BuildProvenance getDefaultInstance()
public static Parser<BuildProvenance> parser()
public Parser<BuildProvenance> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public BuildProvenance getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.