Class InTotoSlsaProvenanceV1.BuildMetadata.Builder (2.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class InTotoSlsaProvenanceV1.BuildMetadata.Builder extends GeneratedMessage.Builder<InTotoSlsaProvenanceV1.BuildMetadata.Builder> implements InTotoSlsaProvenanceV1.BuildMetadataOrBuilder
Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InTotoSlsaProvenanceV1.BuildMetadata build()
public InTotoSlsaProvenanceV1.BuildMetadata buildPartial()
public InTotoSlsaProvenanceV1.BuildMetadata.Builder clear()
Overrides
public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearFinishedOn()
.google.protobuf.Timestamp finished_on = 3;
public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearInvocationId()
string invocation_id = 1;
public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearStartedOn()
.google.protobuf.Timestamp started_on = 2;
public InTotoSlsaProvenanceV1.BuildMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Timestamp getFinishedOn()
.google.protobuf.Timestamp finished_on = 3;
| Returns |
| Type |
Description |
Timestamp |
The finishedOn.
|
public Timestamp.Builder getFinishedOnBuilder()
.google.protobuf.Timestamp finished_on = 3;
public TimestampOrBuilder getFinishedOnOrBuilder()
.google.protobuf.Timestamp finished_on = 3;
public String getInvocationId()
string invocation_id = 1;
| Returns |
| Type |
Description |
String |
The invocationId.
|
public ByteString getInvocationIdBytes()
string invocation_id = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for invocationId.
|
public Timestamp getStartedOn()
.google.protobuf.Timestamp started_on = 2;
| Returns |
| Type |
Description |
Timestamp |
The startedOn.
|
public Timestamp.Builder getStartedOnBuilder()
.google.protobuf.Timestamp started_on = 2;
public TimestampOrBuilder getStartedOnOrBuilder()
.google.protobuf.Timestamp started_on = 2;
public boolean hasFinishedOn()
.google.protobuf.Timestamp finished_on = 3;
| Returns |
| Type |
Description |
boolean |
Whether the finishedOn field is set.
|
public boolean hasStartedOn()
.google.protobuf.Timestamp started_on = 2;
| Returns |
| Type |
Description |
boolean |
Whether the startedOn field is set.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFinishedOn(Timestamp value)
.google.protobuf.Timestamp finished_on = 3;
public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFrom(InTotoSlsaProvenanceV1.BuildMetadata other)
public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeStartedOn(Timestamp value)
.google.protobuf.Timestamp started_on = 2;
public InTotoSlsaProvenanceV1.BuildMetadata.Builder setFinishedOn(Timestamp value)
.google.protobuf.Timestamp finished_on = 3;
public InTotoSlsaProvenanceV1.BuildMetadata.Builder setFinishedOn(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp finished_on = 3;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
public InTotoSlsaProvenanceV1.BuildMetadata.Builder setInvocationId(String value)
string invocation_id = 1;
| Parameter |
| Name |
Description |
value |
String
The invocationId to set.
|
public InTotoSlsaProvenanceV1.BuildMetadata.Builder setInvocationIdBytes(ByteString value)
string invocation_id = 1;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for invocationId to set.
|
public InTotoSlsaProvenanceV1.BuildMetadata.Builder setStartedOn(Timestamp value)
.google.protobuf.Timestamp started_on = 2;
public InTotoSlsaProvenanceV1.BuildMetadata.Builder setStartedOn(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp started_on = 2;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
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 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]