Class InTotoSlsaProvenanceV1.RunDetails.Builder (2.50.0)

public static final class InTotoSlsaProvenanceV1.RunDetails.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.RunDetails.Builder> implements InTotoSlsaProvenanceV1.RunDetailsOrBuilder

Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.RunDetails

Static Methods

getDescriptor()

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

Methods

addAllByproducts(Iterable<? extends InTotoSlsaProvenanceV1.ResourceDescriptor> values)

public InTotoSlsaProvenanceV1.RunDetails.Builder addAllByproducts(Iterable<? extends InTotoSlsaProvenanceV1.ResourceDescriptor> values)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
values Iterable<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor>
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

addByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

public InTotoSlsaProvenanceV1.RunDetails.Builder addByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameters
Name Description
index int
value InTotoSlsaProvenanceV1.ResourceDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

addByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

public InTotoSlsaProvenanceV1.RunDetails.Builder addByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameters
Name Description
index int
builderForValue InTotoSlsaProvenanceV1.ResourceDescriptor.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

addByproducts(InTotoSlsaProvenanceV1.ResourceDescriptor value)

public InTotoSlsaProvenanceV1.RunDetails.Builder addByproducts(InTotoSlsaProvenanceV1.ResourceDescriptor value)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
value InTotoSlsaProvenanceV1.ResourceDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

addByproducts(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

public InTotoSlsaProvenanceV1.RunDetails.Builder addByproducts(InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
builderForValue InTotoSlsaProvenanceV1.ResourceDescriptor.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

addByproductsBuilder()

public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addByproductsBuilder()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor.Builder

addByproductsBuilder(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder addByproductsBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearBuilder()

public InTotoSlsaProvenanceV1.RunDetails.Builder clearBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

clearByproducts()

public InTotoSlsaProvenanceV1.RunDetails.Builder clearByproducts()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public InTotoSlsaProvenanceV1.RunDetails.Builder clearMetadata()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBuilder()

public InTotoSlsaProvenanceV1.ProvenanceBuilder getBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.ProvenanceBuilder

The builder.

getBuilderBuilder()

public InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder getBuilderBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder

getBuilderOrBuilder()

public InTotoSlsaProvenanceV1.ProvenanceBuilderOrBuilder getBuilderOrBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.ProvenanceBuilderOrBuilder

getByproducts(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptor getByproducts(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor

getByproductsBuilder(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptor.Builder getByproductsBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor.Builder

getByproductsBuilderList()

public List<InTotoSlsaProvenanceV1.ResourceDescriptor.Builder> getByproductsBuilderList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
List<Builder>

getByproductsCount()

public int getByproductsCount()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
int

getByproductsList()

public List<InTotoSlsaProvenanceV1.ResourceDescriptor> getByproductsList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
List<ResourceDescriptor>

getByproductsOrBuilder(int index)

public InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder getByproductsOrBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder

getByproductsOrBuilderList()

public List<? extends InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder> getByproductsOrBuilderList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
List<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder>

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMetadata()

public InTotoSlsaProvenanceV1.BuildMetadata getMetadata()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata

The metadata.

getMetadataBuilder()

public InTotoSlsaProvenanceV1.BuildMetadata.Builder getMetadataBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadata.Builder

getMetadataOrBuilder()

public InTotoSlsaProvenanceV1.BuildMetadataOrBuilder getMetadataOrBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildMetadataOrBuilder

hasBuilder()

public boolean hasBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Returns
Type Description
boolean

Whether the builder field is set.

hasMetadata()

public boolean hasMetadata()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Returns
Type Description
boolean

Whether the metadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBuilder(InTotoSlsaProvenanceV1.ProvenanceBuilder value)

public InTotoSlsaProvenanceV1.RunDetails.Builder mergeBuilder(InTotoSlsaProvenanceV1.ProvenanceBuilder value)

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Parameter
Name Description
value InTotoSlsaProvenanceV1.ProvenanceBuilder
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(InTotoSlsaProvenanceV1.RunDetails other)

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

mergeMetadata(InTotoSlsaProvenanceV1.BuildMetadata value)

public InTotoSlsaProvenanceV1.RunDetails.Builder mergeMetadata(InTotoSlsaProvenanceV1.BuildMetadata value)

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeByproducts(int index)

public InTotoSlsaProvenanceV1.RunDetails.Builder removeByproducts(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

setBuilder(InTotoSlsaProvenanceV1.ProvenanceBuilder value)

public InTotoSlsaProvenanceV1.RunDetails.Builder setBuilder(InTotoSlsaProvenanceV1.ProvenanceBuilder value)

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Parameter
Name Description
value InTotoSlsaProvenanceV1.ProvenanceBuilder
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

setBuilder(InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder builderForValue)

public InTotoSlsaProvenanceV1.RunDetails.Builder setBuilder(InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder builderForValue)

.grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Parameter
Name Description
builderForValue InTotoSlsaProvenanceV1.ProvenanceBuilder.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

setByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

public InTotoSlsaProvenanceV1.RunDetails.Builder setByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor value)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameters
Name Description
index int
value InTotoSlsaProvenanceV1.ResourceDescriptor
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

setByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

public InTotoSlsaProvenanceV1.RunDetails.Builder setByproducts(int index, InTotoSlsaProvenanceV1.ResourceDescriptor.Builder builderForValue)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameters
Name Description
index int
builderForValue InTotoSlsaProvenanceV1.ResourceDescriptor.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(InTotoSlsaProvenanceV1.BuildMetadata value)

public InTotoSlsaProvenanceV1.RunDetails.Builder setMetadata(InTotoSlsaProvenanceV1.BuildMetadata value)

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

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

setMetadata(InTotoSlsaProvenanceV1.BuildMetadata.Builder builderForValue)

public InTotoSlsaProvenanceV1.RunDetails.Builder setMetadata(InTotoSlsaProvenanceV1.BuildMetadata.Builder builderForValue)

.grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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