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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata build()
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata buildPartial()
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clear()
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildFinishedOn()
.google.protobuf.Timestamp build_finished_on = 3;
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildInvocationId()
string build_invocation_id = 1;
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildStartedOn()
.google.protobuf.Timestamp build_started_on = 2;
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearCompleteness()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearReproducible()
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clone()
Returns
Overrides
public Timestamp getBuildFinishedOn()
.google.protobuf.Timestamp build_finished_on = 3;
Returns
public Timestamp.Builder getBuildFinishedOnBuilder()
.google.protobuf.Timestamp build_finished_on = 3;
Returns
public TimestampOrBuilder getBuildFinishedOnOrBuilder()
.google.protobuf.Timestamp build_finished_on = 3;
Returns
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
public Timestamp.Builder getBuildStartedOnBuilder()
.google.protobuf.Timestamp build_started_on = 2;
Returns
public TimestampOrBuilder getBuildStartedOnOrBuilder()
.google.protobuf.Timestamp build_started_on = 2;
Returns
public SlsaProvenanceZeroTwo.SlsaCompleteness getCompleteness()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Returns
public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder getCompletenessBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Returns
public SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder getCompletenessOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeBuildFinishedOn(Timestamp value)
.google.protobuf.Timestamp build_finished_on = 3;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeBuildStartedOn(Timestamp value)
.google.protobuf.Timestamp build_started_on = 2;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaMetadata other)
Parameter
Returns
public final SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildFinishedOn(Timestamp value)
.google.protobuf.Timestamp build_finished_on = 3;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildFinishedOn(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp build_finished_on = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildInvocationId(String value)
string build_invocation_id = 1;
Parameter
Name | Description |
value | String
The buildInvocationId to set.
|
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildInvocationIdBytes(ByteString value)
string build_invocation_id = 1;
Parameter
Name | Description |
value | ByteString
The bytes for buildInvocationId to set.
|
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildStartedOn(Timestamp value)
.google.protobuf.Timestamp build_started_on = 2;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildStartedOn(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp build_started_on = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness.Builder builderForValue)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;
Parameter
Returns
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setReproducible(boolean value)
Parameter
Name | Description |
value | boolean
The reproducible to set.
|
Returns
public final SlsaProvenanceZeroTwo.SlsaMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides