Class SlsaProvenanceZeroTwo.SlsaCompleteness.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

build()

public SlsaProvenanceZeroTwo.SlsaCompleteness build()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness

buildPartial()

public SlsaProvenanceZeroTwo.SlsaCompleteness buildPartial()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness

clear()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clear()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

clearEnvironment()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearEnvironment()

bool environment = 2;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

clearMaterials()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearMaterials()

bool materials = 3;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

clearParameters()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearParameters()

bool parameters = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clone()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clone()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaCompleteness getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public boolean getEnvironment()

bool environment = 2;

Returns
TypeDescription
boolean

The environment.

getMaterials()

public boolean getMaterials()

bool materials = 3;

Returns
TypeDescription
boolean

The materials.

getParameters()

public boolean getParameters()

bool parameters = 1;

Returns
TypeDescription
boolean

The parameters.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

mergeFrom(SlsaProvenanceZeroTwo.SlsaCompleteness other)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaCompleteness other)
Parameter
NameDescription
otherSlsaProvenanceZeroTwo.SlsaCompleteness
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaCompleteness.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

setEnvironment(boolean value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setEnvironment(boolean value)

bool environment = 2;

Parameter
NameDescription
valueboolean

The environment to set.

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

setMaterials(boolean value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setMaterials(boolean value)

bool materials = 3;

Parameter
NameDescription
valueboolean

The materials to set.

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

setParameters(boolean value)

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setParameters(boolean value)

bool parameters = 1;

Parameter
NameDescription
valueboolean

The parameters to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaCompleteness.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Overrides