public static final class SlsaProvenance.SlsaCompleteness.Builder extends GeneratedMessageV3.Builder<SlsaProvenance.SlsaCompleteness.Builder> implements SlsaProvenance.SlsaCompletenessOrBuilder
Indicates that the builder claims certain fields in this message to be
complete.
Protobuf type grafeas.v1.SlsaProvenance.SlsaCompleteness
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.SlsaCompleteness.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SlsaProvenance.SlsaCompleteness build()
Returns
buildPartial()
public SlsaProvenance.SlsaCompleteness buildPartial()
Returns
clear()
public SlsaProvenance.SlsaCompleteness.Builder clear()
Returns
Overrides
clearArguments()
public SlsaProvenance.SlsaCompleteness.Builder clearArguments()
If true, the builder claims that recipe.arguments is complete, meaning
that all external inputs are properly captured in the recipe.
bool arguments = 1;
Returns
clearEnvironment()
public SlsaProvenance.SlsaCompleteness.Builder clearEnvironment()
If true, the builder claims that recipe.environment is claimed to be
complete.
bool environment = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public SlsaProvenance.SlsaCompleteness.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMaterials()
public SlsaProvenance.SlsaCompleteness.Builder clearMaterials()
If true, the builder claims that materials are complete, usually through
some controls to prevent network access. Sometimes called "hermetic".
bool materials = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SlsaProvenance.SlsaCompleteness.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SlsaProvenance.SlsaCompleteness.Builder clone()
Returns
Overrides
getArguments()
public boolean getArguments()
If true, the builder claims that recipe.arguments is complete, meaning
that all external inputs are properly captured in the recipe.
bool arguments = 1;
Returns
Type | Description |
boolean | The arguments.
|
getDefaultInstanceForType()
public SlsaProvenance.SlsaCompleteness getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnvironment()
public boolean getEnvironment()
If true, the builder claims that recipe.environment is claimed to be
complete.
bool environment = 2;
Returns
Type | Description |
boolean | The environment.
|
getMaterials()
public boolean getMaterials()
If true, the builder claims that materials are complete, usually through
some controls to prevent network access. Sometimes called "hermetic".
bool materials = 3;
Returns
Type | Description |
boolean | The materials.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public SlsaProvenance.SlsaCompleteness.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SlsaProvenance.SlsaCompleteness.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(SlsaProvenance.SlsaCompleteness other)
public SlsaProvenance.SlsaCompleteness.Builder mergeFrom(SlsaProvenance.SlsaCompleteness other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenance.SlsaCompleteness.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setArguments(boolean value)
public SlsaProvenance.SlsaCompleteness.Builder setArguments(boolean value)
If true, the builder claims that recipe.arguments is complete, meaning
that all external inputs are properly captured in the recipe.
bool arguments = 1;
Parameter
Name | Description |
value | boolean
The arguments to set.
|
Returns
setEnvironment(boolean value)
public SlsaProvenance.SlsaCompleteness.Builder setEnvironment(boolean value)
If true, the builder claims that recipe.environment is claimed to be
complete.
bool environment = 2;
Parameter
Name | Description |
value | boolean
The environment to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.SlsaCompleteness.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMaterials(boolean value)
public SlsaProvenance.SlsaCompleteness.Builder setMaterials(boolean value)
If true, the builder claims that materials are complete, usually through
some controls to prevent network access. Sometimes called "hermetic".
bool materials = 3;
Parameter
Name | Description |
value | boolean
The materials to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlsaProvenance.SlsaCompleteness.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenance.SlsaCompleteness.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides