Class InTotoSlsaProvenanceV1.BuildMetadata.Builder (2.46.0)

public static final class InTotoSlsaProvenanceV1.BuildMetadata.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.BuildMetadata.Builder> implements InTotoSlsaProvenanceV1.BuildMetadataOrBuilder

Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

build()

public InTotoSlsaProvenanceV1.BuildMetadata build()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata

buildPartial()

public InTotoSlsaProvenanceV1.BuildMetadata buildPartial()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata

clear()

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clear()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

clearFinishedOn()

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearFinishedOn()

.google.protobuf.Timestamp finished_on = 3;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

clearInvocationId()

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearInvocationId()

string invocation_id = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

clearStartedOn()

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clearStartedOn()

.google.protobuf.Timestamp started_on = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

clone()

public InTotoSlsaProvenanceV1.BuildMetadata.Builder clone()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

getDefaultInstanceForType()

public InTotoSlsaProvenanceV1.BuildMetadata getDefaultInstanceForType()
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFinishedOn()

public Timestamp getFinishedOn()

.google.protobuf.Timestamp finished_on = 3;

Returns
Type Description
Timestamp

The finishedOn.

getFinishedOnBuilder()

public Timestamp.Builder getFinishedOnBuilder()

.google.protobuf.Timestamp finished_on = 3;

Returns
Type Description
Builder

getFinishedOnOrBuilder()

public TimestampOrBuilder getFinishedOnOrBuilder()

.google.protobuf.Timestamp finished_on = 3;

Returns
Type Description
TimestampOrBuilder

getInvocationId()

public String getInvocationId()

string invocation_id = 1;

Returns
Type Description
String

The invocationId.

getInvocationIdBytes()

public ByteString getInvocationIdBytes()

string invocation_id = 1;

Returns
Type Description
ByteString

The bytes for invocationId.

getStartedOn()

public Timestamp getStartedOn()

.google.protobuf.Timestamp started_on = 2;

Returns
Type Description
Timestamp

The startedOn.

getStartedOnBuilder()

public Timestamp.Builder getStartedOnBuilder()

.google.protobuf.Timestamp started_on = 2;

Returns
Type Description
Builder

getStartedOnOrBuilder()

public TimestampOrBuilder getStartedOnOrBuilder()

.google.protobuf.Timestamp started_on = 2;

Returns
Type Description
TimestampOrBuilder

hasFinishedOn()

public boolean hasFinishedOn()

.google.protobuf.Timestamp finished_on = 3;

Returns
Type Description
boolean

Whether the finishedOn field is set.

hasStartedOn()

public boolean hasStartedOn()

.google.protobuf.Timestamp started_on = 2;

Returns
Type Description
boolean

Whether the startedOn field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFinishedOn(Timestamp value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFinishedOn(Timestamp value)

.google.protobuf.Timestamp finished_on = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

mergeFrom(InTotoSlsaProvenanceV1.BuildMetadata other)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeFrom(InTotoSlsaProvenanceV1.BuildMetadata other)
Parameter
Name Description
other InTotoSlsaProvenanceV1.BuildMetadata
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

mergeStartedOn(Timestamp value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeStartedOn(Timestamp value)

.google.protobuf.Timestamp started_on = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InTotoSlsaProvenanceV1.BuildMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

setFinishedOn(Timestamp value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setFinishedOn(Timestamp value)

.google.protobuf.Timestamp finished_on = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

setFinishedOn(Timestamp.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setFinishedOn(Timestamp.Builder builderForValue)

.google.protobuf.Timestamp finished_on = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

setInvocationId(String value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setInvocationId(String value)

string invocation_id = 1;

Parameter
Name Description
value String

The invocationId to set.

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

This builder for chaining.

setInvocationIdBytes(ByteString value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setInvocationIdBytes(ByteString value)

string invocation_id = 1;

Parameter
Name Description
value ByteString

The bytes for invocationId to set.

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides

setStartedOn(Timestamp value)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setStartedOn(Timestamp value)

.google.protobuf.Timestamp started_on = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

setStartedOn(Timestamp.Builder builderForValue)

public InTotoSlsaProvenanceV1.BuildMetadata.Builder setStartedOn(Timestamp.Builder builderForValue)

.google.protobuf.Timestamp started_on = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final InTotoSlsaProvenanceV1.BuildMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder
Overrides