public static final class SlsaProvenance.SlsaMetadata.Builder extends GeneratedMessageV3.Builder<SlsaProvenance.SlsaMetadata.Builder> implements SlsaProvenance.SlsaMetadataOrBuilderOther properties of the build.
Protobuf type grafeas.v1.SlsaProvenance.SlsaMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SlsaProvenance.SlsaMetadata.BuilderImplements
SlsaProvenance.SlsaMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.SlsaMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
build()
public SlsaProvenance.SlsaMetadata build()| Type | Description |
| SlsaProvenance.SlsaMetadata |
buildPartial()
public SlsaProvenance.SlsaMetadata buildPartial()| Type | Description |
| SlsaProvenance.SlsaMetadata |
clear()
public SlsaProvenance.SlsaMetadata.Builder clear()| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
clearBuildFinishedOn()
public SlsaProvenance.SlsaMetadata.Builder clearBuildFinishedOn()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
clearBuildInvocationId()
public SlsaProvenance.SlsaMetadata.Builder clearBuildInvocationId()Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder | This builder for chaining. |
clearBuildStartedOn()
public SlsaProvenance.SlsaMetadata.Builder clearBuildStartedOn()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
clearCompleteness()
public SlsaProvenance.SlsaMetadata.Builder clearCompleteness()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public SlsaProvenance.SlsaMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SlsaProvenance.SlsaMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
clearReproducible()
public SlsaProvenance.SlsaMetadata.Builder clearReproducible()If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
bool reproducible = 5;
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder | This builder for chaining. |
clone()
public SlsaProvenance.SlsaMetadata.Builder clone()| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
getBuildFinishedOn()
public Timestamp getBuildFinishedOn()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Type | Description |
| Timestamp | The buildFinishedOn. |
getBuildFinishedOnBuilder()
public Timestamp.Builder getBuildFinishedOnBuilder()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Type | Description |
| Builder |
getBuildFinishedOnOrBuilder()
public TimestampOrBuilder getBuildFinishedOnOrBuilder()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Type | Description |
| TimestampOrBuilder |
getBuildInvocationId()
public String getBuildInvocationId()Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Type | Description |
| String | The buildInvocationId. |
getBuildInvocationIdBytes()
public ByteString getBuildInvocationIdBytes()Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Type | Description |
| ByteString | The bytes for buildInvocationId. |
getBuildStartedOn()
public Timestamp getBuildStartedOn()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Type | Description |
| Timestamp | The buildStartedOn. |
getBuildStartedOnBuilder()
public Timestamp.Builder getBuildStartedOnBuilder()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Type | Description |
| Builder |
getBuildStartedOnOrBuilder()
public TimestampOrBuilder getBuildStartedOnOrBuilder()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Type | Description |
| TimestampOrBuilder |
getCompleteness()
public SlsaProvenance.SlsaCompleteness getCompleteness()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Type | Description |
| SlsaProvenance.SlsaCompleteness | The completeness. |
getCompletenessBuilder()
public SlsaProvenance.SlsaCompleteness.Builder getCompletenessBuilder()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Type | Description |
| SlsaProvenance.SlsaCompleteness.Builder |
getCompletenessOrBuilder()
public SlsaProvenance.SlsaCompletenessOrBuilder getCompletenessOrBuilder()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Type | Description |
| SlsaProvenance.SlsaCompletenessOrBuilder |
getDefaultInstanceForType()
public SlsaProvenance.SlsaMetadata getDefaultInstanceForType()| Type | Description |
| SlsaProvenance.SlsaMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getReproducible()
public boolean getReproducible()If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
bool reproducible = 5;
| Type | Description |
| boolean | The reproducible. |
hasBuildFinishedOn()
public boolean hasBuildFinishedOn()The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Type | Description |
| boolean | Whether the buildFinishedOn field is set. |
hasBuildStartedOn()
public boolean hasBuildStartedOn()The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Type | Description |
| boolean | Whether the buildStartedOn field is set. |
hasCompleteness()
public boolean hasCompleteness()Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Type | Description |
| boolean | Whether the completeness field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeBuildFinishedOn(Timestamp value)
public SlsaProvenance.SlsaMetadata.Builder mergeBuildFinishedOn(Timestamp value)The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Name | Description |
| value | Timestamp |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
mergeBuildStartedOn(Timestamp value)
public SlsaProvenance.SlsaMetadata.Builder mergeBuildStartedOn(Timestamp value)The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
mergeCompleteness(SlsaProvenance.SlsaCompleteness value)
public SlsaProvenance.SlsaMetadata.Builder mergeCompleteness(SlsaProvenance.SlsaCompleteness value)Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Name | Description |
| value | SlsaProvenance.SlsaCompleteness |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SlsaProvenance.SlsaMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public SlsaProvenance.SlsaMetadata.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
mergeFrom(SlsaProvenance.SlsaMetadata other)
public SlsaProvenance.SlsaMetadata.Builder mergeFrom(SlsaProvenance.SlsaMetadata other)| Name | Description |
| other | SlsaProvenance.SlsaMetadata |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenance.SlsaMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setBuildFinishedOn(Timestamp value)
public SlsaProvenance.SlsaMetadata.Builder setBuildFinishedOn(Timestamp value)The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Name | Description |
| value | Timestamp |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setBuildFinishedOn(Timestamp.Builder builderForValue)
public SlsaProvenance.SlsaMetadata.Builder setBuildFinishedOn(Timestamp.Builder builderForValue)The timestamp of when the build completed.
.google.protobuf.Timestamp build_finished_on = 3;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setBuildInvocationId(String value)
public SlsaProvenance.SlsaMetadata.Builder setBuildInvocationId(String value)Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Name | Description |
| value | StringThe buildInvocationId to set. |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder | This builder for chaining. |
setBuildInvocationIdBytes(ByteString value)
public SlsaProvenance.SlsaMetadata.Builder setBuildInvocationIdBytes(ByteString value)Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
string build_invocation_id = 1;
| Name | Description |
| value | ByteStringThe bytes for buildInvocationId to set. |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder | This builder for chaining. |
setBuildStartedOn(Timestamp value)
public SlsaProvenance.SlsaMetadata.Builder setBuildStartedOn(Timestamp value)The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setBuildStartedOn(Timestamp.Builder builderForValue)
public SlsaProvenance.SlsaMetadata.Builder setBuildStartedOn(Timestamp.Builder builderForValue)The timestamp of when the build started.
.google.protobuf.Timestamp build_started_on = 2;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setCompleteness(SlsaProvenance.SlsaCompleteness value)
public SlsaProvenance.SlsaMetadata.Builder setCompleteness(SlsaProvenance.SlsaCompleteness value)Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Name | Description |
| value | SlsaProvenance.SlsaCompleteness |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setCompleteness(SlsaProvenance.SlsaCompleteness.Builder builderForValue)
public SlsaProvenance.SlsaMetadata.Builder setCompleteness(SlsaProvenance.SlsaCompleteness.Builder builderForValue)Indicates that the builder claims certain fields in this message to be complete.
.grafeas.v1.SlsaProvenance.SlsaCompleteness completeness = 4;
| Name | Description |
| builderForValue | SlsaProvenance.SlsaCompleteness.Builder |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.SlsaMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlsaProvenance.SlsaMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |
setReproducible(boolean value)
public SlsaProvenance.SlsaMetadata.Builder setReproducible(boolean value)If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
bool reproducible = 5;
| Name | Description |
| value | booleanThe reproducible to set. |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenance.SlsaMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SlsaProvenance.SlsaMetadata.Builder |