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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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