Package io.grafeas.v1beta1.provenance
Class BuildProvenance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grafeas.v1beta1.provenance.BuildProvenance
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BuildProvenanceOrBuilder,Serializable
@Generated
public final class BuildProvenance
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProvenance of a build.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecial options applied to this build.booleanVersion string of the builder at the time this build was executed.com.google.protobuf.ByteStringVersion string of the builder at the time this build was executed.Deprecated.intSpecial options applied to this build.Special options applied to this build.getBuildOptionsOrDefault(String key, String defaultValue) Special options applied to this build.Special options applied to this build.getBuiltArtifacts(int index) Output of the build.intOutput of the build.Output of the build.getBuiltArtifactsOrBuilder(int index) Output of the build.List<? extends ArtifactOrBuilder>Output of the build.getCommands(int index) Commands requested by the build.intCommands requested by the build.Commands requested by the build.getCommandsOrBuilder(int index) Commands requested by the build.List<? extends CommandOrBuilder>Commands requested by the build.com.google.protobuf.TimestampTime at which the build was created.com.google.protobuf.TimestampOrBuilderTime at which the build was created.E-mail address of the user who initiated this build.com.google.protobuf.ByteStringE-mail address of the user who initiated this build.static BuildProvenancestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTime at which execution of the build was finished.com.google.protobuf.TimestampOrBuilderTime at which execution of the build was finished.getId()Required.com.google.protobuf.ByteStringRequired.URI where any logs for this provenance were written.com.google.protobuf.ByteStringURI where any logs for this provenance were written.com.google.protobuf.Parser<BuildProvenance>ID of the project.com.google.protobuf.ByteStringID of the project.intDetails of the Source input to the build.Details of the Source input to the build.com.google.protobuf.TimestampTime at which execution of the build was started.com.google.protobuf.TimestampOrBuilderTime at which execution of the build was started.Trigger identifier if the build was triggered automatically; empty if not.com.google.protobuf.ByteStringTrigger identifier if the build was triggered automatically; empty if not.booleanTime at which the build was created.booleanTime at which execution of the build was finished.inthashCode()booleanDetails of the Source input to the build.booleanTime at which execution of the build was started.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic BuildProvenance.Builderstatic BuildProvenance.BuildernewBuilder(BuildProvenance prototype) protected BuildProvenance.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BuildProvenanceparseDelimitedFrom(InputStream input) static BuildProvenanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildProvenanceparseFrom(byte[] data) static BuildProvenanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildProvenanceparseFrom(com.google.protobuf.ByteString data) static BuildProvenanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildProvenanceparseFrom(com.google.protobuf.CodedInputStream input) static BuildProvenanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildProvenanceparseFrom(InputStream input) static BuildProvenanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BuildProvenanceparseFrom(ByteBuffer data) static BuildProvenanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildProvenance>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER- See Also:
-
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER- See Also:
-
BUILT_ARTIFACTS_FIELD_NUMBER
public static final int BUILT_ARTIFACTS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER- See Also:
-
CREATOR_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER- See Also:
-
LOGS_URI_FIELD_NUMBER
public static final int LOGS_URI_FIELD_NUMBER- See Also:
-
SOURCE_PROVENANCE_FIELD_NUMBER
public static final int SOURCE_PROVENANCE_FIELD_NUMBER- See Also:
-
TRIGGER_ID_FIELD_NUMBER
public static final int TRIGGER_ID_FIELD_NUMBER- See Also:
-
BUILD_OPTIONS_FIELD_NUMBER
public static final int BUILD_OPTIONS_FIELD_NUMBER- See Also:
-
BUILDER_VERSION_FIELD_NUMBER
public static final int BUILDER_VERSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
Required. Unique identifier of the build.
string id = 1;- Specified by:
getIdin interfaceBuildProvenanceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Required. Unique identifier of the build.
string id = 1;- Specified by:
getIdBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for id.
-
getProjectId
ID of the project.
string project_id = 2;- Specified by:
getProjectIdin interfaceBuildProvenanceOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()ID of the project.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for projectId.
-
getCommandsList
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsListin interfaceBuildProvenanceOrBuilder
-
getCommandsOrBuilderList
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsOrBuilderListin interfaceBuildProvenanceOrBuilder
-
getCommandsCount
public int getCommandsCount()Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsCountin interfaceBuildProvenanceOrBuilder
-
getCommands
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsin interfaceBuildProvenanceOrBuilder
-
getCommandsOrBuilder
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsOrBuilderin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifactsList
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsListin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifactsOrBuilderList
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsOrBuilderListin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifactsCount
public int getBuiltArtifactsCount()Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsCountin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifacts
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifactsOrBuilder
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsOrBuilderin interfaceBuildProvenanceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
hasCreateTimein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimein interfaceBuildProvenanceOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimeOrBuilderin interfaceBuildProvenanceOrBuilder
-
hasStartTime
public boolean hasStartTime()Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;- Specified by:
hasStartTimein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;- Specified by:
getStartTimein interfaceBuildProvenanceOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;- Specified by:
getStartTimeOrBuilderin interfaceBuildProvenanceOrBuilder
-
hasEndTime
public boolean hasEndTime()Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;- Specified by:
hasEndTimein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;- Specified by:
getEndTimein interfaceBuildProvenanceOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;- Specified by:
getEndTimeOrBuilderin interfaceBuildProvenanceOrBuilder
-
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;- Specified by:
getCreatorin interfaceBuildProvenanceOrBuilder- Returns:
- The creator.
-
getCreatorBytes
public 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;- Specified by:
getCreatorBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for creator.
-
getLogsUri
URI where any logs for this provenance were written.
string logs_uri = 9;- Specified by:
getLogsUriin interfaceBuildProvenanceOrBuilder- Returns:
- The logsUri.
-
getLogsUriBytes
public com.google.protobuf.ByteString getLogsUriBytes()URI where any logs for this provenance were written.
string logs_uri = 9;- Specified by:
getLogsUriBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for logsUri.
-
hasSourceProvenance
public boolean hasSourceProvenance()Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;- Specified by:
hasSourceProvenancein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the sourceProvenance field is set.
-
getSourceProvenance
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;- Specified by:
getSourceProvenancein interfaceBuildProvenanceOrBuilder- Returns:
- The sourceProvenance.
-
getSourceProvenanceOrBuilder
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;- Specified by:
getSourceProvenanceOrBuilderin interfaceBuildProvenanceOrBuilder
-
getTriggerId
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Specified by:
getTriggerIdin interfaceBuildProvenanceOrBuilder- Returns:
- The triggerId.
-
getTriggerIdBytes
public com.google.protobuf.ByteString getTriggerIdBytes()Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Specified by:
getTriggerIdBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for triggerId.
-
getBuildOptionsCount
public int getBuildOptionsCount()Description copied from interface: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;- Specified by:
getBuildOptionsCountin interfaceBuildProvenanceOrBuilder
-
containsBuildOptions
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;- Specified by:
containsBuildOptionsin interfaceBuildProvenanceOrBuilder
-
getBuildOptions
Deprecated.UsegetBuildOptionsMap()instead.- Specified by:
getBuildOptionsin interfaceBuildProvenanceOrBuilder
-
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;- Specified by:
getBuildOptionsMapin interfaceBuildProvenanceOrBuilder
-
getBuildOptionsOrDefault
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;- Specified by:
getBuildOptionsOrDefaultin interfaceBuildProvenanceOrBuilder
-
getBuildOptionsOrThrow
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;- Specified by:
getBuildOptionsOrThrowin interfaceBuildProvenanceOrBuilder
-
getBuilderVersion
Version string of the builder at the time this build was executed.
string builder_version = 13;- Specified by:
getBuilderVersionin interfaceBuildProvenanceOrBuilder- Returns:
- The builderVersion.
-
getBuilderVersionBytes
public com.google.protobuf.ByteString getBuilderVersionBytes()Version string of the builder at the time this build was executed.
string builder_version = 13;- Specified by:
getBuilderVersionBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for builderVersion.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BuildProvenance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildProvenance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildProvenance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildProvenance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildProvenance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildProvenance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildProvenance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BuildProvenance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BuildProvenance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildProvenance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildProvenance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-