Class SlsaProvenanceZeroTwo.SlsaCompleteness.Builder (2.50.0)

public static final class SlsaProvenanceZeroTwo.SlsaCompleteness.Builder extends GeneratedMessageV3.Builder<SlsaProvenanceZeroTwo.SlsaCompleteness.Builder> implements SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder

Indicates that the builder claims certain fields in this message to be complete.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SlsaProvenanceZeroTwo.SlsaCompleteness build()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness

buildPartial()

public SlsaProvenanceZeroTwo.SlsaCompleteness buildPartial()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness

clear()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clear()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

clearEnvironment()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearEnvironment()

bool environment = 2;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

clearMaterials()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearMaterials()

bool materials = 3;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

clearParameters()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearParameters()

bool parameters = 1;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clone()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clone()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaCompleteness getDefaultInstanceForType()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness

getDescriptorForType()

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

getEnvironment()

public boolean getEnvironment()

bool environment = 2;

Returns
Type Description
boolean

The environment.

getMaterials()

public boolean getMaterials()

bool materials = 3;

Returns
Type Description
boolean

The materials.

getParameters()

public boolean getParameters()

bool parameters = 1;

Returns
Type Description
boolean

The parameters.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

mergeFrom(SlsaProvenanceZeroTwo.SlsaCompleteness other)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaCompleteness other)
Parameter
Name Description
other SlsaProvenanceZeroTwo.SlsaCompleteness
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

setEnvironment(boolean value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setEnvironment(boolean value)

bool environment = 2;

Parameter
Name Description
value boolean

The environment to set.

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaterials(boolean value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setMaterials(boolean value)

bool materials = 3;

Parameter
Name Description
value boolean

The materials to set.

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

setParameters(boolean value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setParameters(boolean value)

bool parameters = 1;

Parameter
Name Description
value boolean

The parameters to set.

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides