Class InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder (2.50.0)

public static final class InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder extends GeneratedMessageV3.Builder<InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder> implements InTotoSlsaProvenanceV1.SlsaProvenanceV1OrBuilder

Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.

Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearBuildDefinition()

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder clearBuildDefinition()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRunDetails()

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder clearRunDetails()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

clone()

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

getBuildDefinition()

public InTotoSlsaProvenanceV1.BuildDefinition getBuildDefinition()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition

The buildDefinition.

getBuildDefinitionBuilder()

public InTotoSlsaProvenanceV1.BuildDefinition.Builder getBuildDefinitionBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition.Builder

getBuildDefinitionOrBuilder()

public InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder getBuildDefinitionOrBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getRunDetails()

public InTotoSlsaProvenanceV1.RunDetails getRunDetails()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails

The runDetails.

getRunDetailsBuilder()

public InTotoSlsaProvenanceV1.RunDetails.Builder getRunDetailsBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails.Builder

getRunDetailsOrBuilder()

public InTotoSlsaProvenanceV1.RunDetailsOrBuilder getRunDetailsOrBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetailsOrBuilder

hasBuildDefinition()

public boolean hasBuildDefinition()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
boolean

Whether the buildDefinition field is set.

hasRunDetails()

public boolean hasRunDetails()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
boolean

Whether the runDetails field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBuildDefinition(InTotoSlsaProvenanceV1.BuildDefinition value)

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder mergeBuildDefinition(InTotoSlsaProvenanceV1.BuildDefinition value)

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Parameter
Name Description
value InTotoSlsaProvenanceV1.BuildDefinition
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(InTotoSlsaProvenanceV1.SlsaProvenanceV1 other)

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

mergeRunDetails(InTotoSlsaProvenanceV1.RunDetails value)

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder mergeRunDetails(InTotoSlsaProvenanceV1.RunDetails value)

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBuildDefinition(InTotoSlsaProvenanceV1.BuildDefinition value)

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder setBuildDefinition(InTotoSlsaProvenanceV1.BuildDefinition value)

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Parameter
Name Description
value InTotoSlsaProvenanceV1.BuildDefinition
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

setBuildDefinition(InTotoSlsaProvenanceV1.BuildDefinition.Builder builderForValue)

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder setBuildDefinition(InTotoSlsaProvenanceV1.BuildDefinition.Builder builderForValue)

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Parameter
Name Description
builderForValue InTotoSlsaProvenanceV1.BuildDefinition.Builder
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRunDetails(InTotoSlsaProvenanceV1.RunDetails value)

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder setRunDetails(InTotoSlsaProvenanceV1.RunDetails value)

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

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

setRunDetails(InTotoSlsaProvenanceV1.RunDetails.Builder builderForValue)

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder setRunDetails(InTotoSlsaProvenanceV1.RunDetails.Builder builderForValue)

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

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

setUnknownFields(UnknownFieldSet unknownFields)

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