public static final class BuildProvenance.Builder extends GeneratedMessageV3.Builder<BuildProvenance.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBuiltArtifacts(Iterable<? extends Artifact> values)
public BuildProvenance.Builder addAllBuiltArtifacts(Iterable<? extends Artifact> values)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Parameter |
---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.Artifact>
|
addAllCommands(Iterable<? extends Command> values)
public BuildProvenance.Builder addAllCommands(Iterable<? extends Command> values)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.Command>
|
addBuiltArtifacts(int index, Artifact value)
public BuildProvenance.Builder addBuiltArtifacts(int index, Artifact value)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
addBuiltArtifacts(int index, Artifact.Builder builderForValue)
public BuildProvenance.Builder addBuiltArtifacts(int index, Artifact.Builder builderForValue)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
addBuiltArtifacts(Artifact value)
public BuildProvenance.Builder addBuiltArtifacts(Artifact value)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
addBuiltArtifacts(Artifact.Builder builderForValue)
public BuildProvenance.Builder addBuiltArtifacts(Artifact.Builder builderForValue)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
addBuiltArtifactsBuilder()
public Artifact.Builder addBuiltArtifactsBuilder()
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
addBuiltArtifactsBuilder(int index)
public Artifact.Builder addBuiltArtifactsBuilder(int index)
Output of the build.
repeated .grafeas.v1.Artifact built_artifacts = 4;
Parameter |
---|
Name | Description |
index | int
|
addCommands(int index, Command value)
public BuildProvenance.Builder addCommands(int index, Command value)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
addCommands(int index, Command.Builder builderForValue)
public BuildProvenance.Builder addCommands(int index, Command.Builder builderForValue)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
addCommands(Command value)
public BuildProvenance.Builder addCommands(Command value)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Parameter |
---|
Name | Description |
value | Command
|
addCommands(Command.Builder builderForValue)
public BuildProvenance.Builder addCommands(Command.Builder builderForValue)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
addCommandsBuilder()
public Command.Builder addCommandsBuilder()
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
addCommandsBuilder(int index)
public Command.Builder addCommandsBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1.Command commands = 3;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BuildProvenance build()
buildPartial()
public BuildProvenance buildPartial()
clear()
public BuildProvenance.Builder clear()
Overrides
clearBuildOptions()
public BuildProvenance.Builder clearBuildOptions()
clearBuilderVersion()
public BuildProvenance.Builder clearBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;
clearBuil