Send feedback
Class SlsaProvenanceZeroTwo.SlsaMetadata.Builder (2.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.30.0 keyboard_arrow_down
public static final class SlsaProvenanceZeroTwo . SlsaMetadata . Builder extends GeneratedMessageV3 . Builder<SlsaProvenanceZeroTwo . SlsaMetadata . Builder > implements SlsaProvenanceZeroTwo . SlsaMetadataOrBuilder
Other properties of the build.
Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata
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
public static final Descriptors . Descriptor getDescriptor ()
Methods
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata build ()
public SlsaProvenanceZeroTwo . SlsaMetadata buildPartial ()
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clear ()
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearBuildFinishedOn ()
.google.protobuf.Timestamp build_finished_on = 3;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearBuildInvocationId ()
string build_invocation_id = 1;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearBuildStartedOn ()
.google.protobuf.Timestamp build_started_on = 2;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearCompleteness ()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clearReproducible ()
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder clone ()
Overrides
public Timestamp getBuildFinishedOn ()
.google.protobuf.Timestamp build_finished_on = 3;
Returns Type Description Timestamp
The buildFinishedOn.
public Timestamp . Builder getBuildFinishedOnBuilder ()
.google.protobuf.Timestamp build_finished_on = 3;
public TimestampOrBuilder getBuildFinishedOnOrBuilder ()
.google.protobuf.Timestamp build_finished_on = 3;
public String getBuildInvocationId ()
string build_invocation_id = 1;
Returns Type Description String
The buildInvocationId.
public ByteString getBuildInvocationIdBytes ()
string build_invocation_id = 1;
Returns Type Description ByteString
The bytes for buildInvocationId.
public Timestamp getBuildStartedOn ()
.google.protobuf.Timestamp build_started_on = 2;
Returns Type Description Timestamp
The buildStartedOn.
public Timestamp . Builder getBuildStartedOnBuilder ()
.google.protobuf.Timestamp build_started_on = 2;
public TimestampOrBuilder getBuildStartedOnOrBuilder ()
.google.protobuf.Timestamp build_started_on = 2;
public SlsaProvenanceZeroTwo . SlsaCompleteness getCompleteness ()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaCompleteness . Builder getCompletenessBuilder ()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaCompletenessOrBuilder getCompletenessOrBuilder ()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaMetadata getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public boolean getReproducible ()
Returns Type Description boolean
The reproducible.
public boolean hasBuildFinishedOn ()
.google.protobuf.Timestamp build_finished_on = 3;
Returns Type Description boolean
Whether the buildFinishedOn field is set.
public boolean hasBuildStartedOn ()
.google.protobuf.Timestamp build_started_on = 2;
Returns Type Description boolean
Whether the buildStartedOn field is set.
public boolean hasCompleteness ()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Returns Type Description boolean
Whether the completeness field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeBuildFinishedOn ( Timestamp value )
.google.protobuf.Timestamp build_finished_on = 3;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeBuildStartedOn ( Timestamp value )
.google.protobuf.Timestamp build_started_on = 2;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeCompleteness ( SlsaProvenanceZeroTwo . SlsaCompleteness value )
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeFrom ( SlsaProvenanceZeroTwo . SlsaMetadata other )
public final SlsaProvenanceZeroTwo . SlsaMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setBuildFinishedOn ( Timestamp value )
.google.protobuf.Timestamp build_finished_on = 3;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setBuildFinishedOn ( Timestamp . Builder builderForValue )
.google.protobuf.Timestamp build_finished_on = 3;
Parameter Name Description builderForValue
Builder
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setBuildInvocationId ( String value )
string build_invocation_id = 1;
Parameter Name Description value
String
The buildInvocationId to set.
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setBuildInvocationIdBytes ( ByteString value )
string build_invocation_id = 1;
Parameter Name Description value
ByteString
The bytes for buildInvocationId to set.
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setBuildStartedOn ( Timestamp value )
.google.protobuf.Timestamp build_started_on = 2;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setBuildStartedOn ( Timestamp . Builder builderForValue )
.google.protobuf.Timestamp build_started_on = 2;
Parameter Name Description builderForValue
Builder
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setCompleteness ( SlsaProvenanceZeroTwo . SlsaCompleteness value )
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setCompleteness ( SlsaProvenanceZeroTwo . SlsaCompleteness . Builder builderForValue )
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public SlsaProvenanceZeroTwo . SlsaMetadata . Builder setReproducible ( boolean value )
Parameter Name Description value
boolean
The reproducible to set.
public final SlsaProvenanceZeroTwo . SlsaMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]