public static final class InTotoProvenance.Builder extends GeneratedMessageV3.Builder<InTotoProvenance.Builder> implements InTotoProvenanceOrBuilder
Protobuf type grafeas.v1.InTotoProvenance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InTotoProvenance.BuilderImplements
InTotoProvenanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMaterials(Iterable<String> values)
public InTotoProvenance.Builder addAllMaterials(Iterable<String> values)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Name | Description |
values | Iterable<String> The materials to add. |
Type | Description |
InTotoProvenance.Builder | This builder for chaining. |
addMaterials(String value)
public InTotoProvenance.Builder addMaterials(String value)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Name | Description |
value | String The materials to add. |
Type | Description |
InTotoProvenance.Builder | This builder for chaining. |
addMaterialsBytes(ByteString value)
public InTotoProvenance.Builder addMaterialsBytes(ByteString value)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Name | Description |
value | ByteString The bytes of the materials to add. |
Type | Description |
InTotoProvenance.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InTotoProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
InTotoProvenance.Builder |
build()
public InTotoProvenance build()
Type | Description |
InTotoProvenance |
buildPartial()
public InTotoProvenance buildPartial()
Type | Description |
InTotoProvenance |
clear()
public InTotoProvenance.Builder clear()
Type | Description |
InTotoProvenance.Builder |
clearBuilderConfig()
public InTotoProvenance.Builder clearBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Type | Description |
InTotoProvenance.Builder |
clearField(Descriptors.FieldDescriptor field)
public InTotoProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
InTotoProvenance.Builder |
clearMaterials()
public InTotoProvenance.Builder clearMaterials()
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Type | Description |
InTotoProvenance.Builder | This builder for chaining. |
clearMetadata()
public InTotoProvenance.Builder clearMetadata()
.grafeas.v1.Metadata metadata = 3;
Type | Description |
InTotoProvenance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
InTotoProvenance.Builder |
clearRecipe()
public InTotoProvenance.Builder clearRecipe()
Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
.grafeas.v1.Recipe recipe = 2;
Type | Description |
InTotoProvenance.Builder |
clone()
public InTotoProvenance.Builder clone()
Type | Description |
InTotoProvenance.Builder |
getBuilderConfig()
public BuilderConfig getBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Type | Description |
BuilderConfig | The builderConfig. |
getBuilderConfigBuilder()
public BuilderConfig.Builder getBuilderConfigBuilder()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Type | Description |
BuilderConfig.Builder |
getBuilderConfigOrBuilder()
public BuilderConfigOrBuilder getBuilderConfigOrBuilder()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Type | Description |
BuilderConfigOrBuilder |
getDefaultInstanceForType()
public InTotoProvenance getDefaultInstanceForType()
Type | Description |
InTotoProvenance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMaterials(int index)
public String getMaterials(int index)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The materials at the given index. |
getMaterialsBytes(int index)
public ByteString getMaterialsBytes(int index)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the materials at the given index. |
getMaterialsCount()
public int getMaterialsCount()
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Type | Description |
int | The count of materials. |
getMaterialsList()
public ProtocolStringList getMaterialsList()
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
repeated string materials = 4;
Type | Description |
ProtocolStringList | A list containing the materials. |
getMetadata()
public Metadata getMetadata()
.grafeas.v1.Metadata metadata = 3;
Type | Description |
Metadata | The metadata. |
getMetadataBuilder()
public Metadata.Builder getMetadataBuilder()
.grafeas.v1.Metadata metadata = 3;
Type | Description |
Metadata.Builder |
getMetadataOrBuilder()
public MetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.Metadata metadata = 3;
Type | Description |
MetadataOrBuilder |
getRecipe()
public Recipe getRecipe()
Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
.grafeas.v1.Recipe recipe = 2;
Type | Description |
Recipe | The recipe. |
getRecipeBuilder()
public Recipe.Builder getRecipeBuilder()
Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
.grafeas.v1.Recipe recipe = 2;
Type | Description |
Recipe.Builder |
getRecipeOrBuilder()
public RecipeOrBuilder getRecipeOrBuilder()
Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
.grafeas.v1.Recipe recipe = 2;
Type | Description |
RecipeOrBuilder |
hasBuilderConfig()
public boolean hasBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Type | Description |
boolean | Whether the builderConfig field is set. |
hasMetadata()
public boolean hasMetadata()
.grafeas.v1.Metadata metadata = 3;
Type | Description |
boolean | Whether the metadata field is set. |
hasRecipe()
public boolean hasRecipe()
Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
.grafeas.v1.Recipe recipe = 2;
Type | Description |
boolean | Whether the recipe field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBuilderConfig(BuilderConfig value)
public InTotoProvenance.Builder mergeBuilderConfig(BuilderConfig value)
required
.grafeas.v1.BuilderConfig builder_config = 1;
Name | Description |
value | BuilderConfig |
Type | Description |
InTotoProvenance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InTotoProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
InTotoProvenance.Builder |