Class Recipe.Builder (2.20.0)

public static final class Recipe.Builder extends GeneratedMessageV3.Builder<Recipe.Builder> implements RecipeOrBuilder

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.

Protobuf type grafeas.v1.Recipe

Implements

RecipeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllArguments(Iterable<? extends Any> values)

public Recipe.Builder addAllArguments(Iterable<? extends Any> values)

Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any".

repeated .google.protobuf.Any arguments = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Any>
Returns
TypeDescription
Recipe.Builder

addAllEnvironment(Iterable<? extends Any> values)

public Recipe.Builder addAllEnvironment(Iterable<? extends Any> values)

Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any".

repeated .google.protobuf.Any environment = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Any>
Returns
TypeDescription
Recipe.Builder

addArguments(Any value)

public Recipe.Builder addArguments(Any value)

Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any".

repeated .google.protobuf.Any arguments = 4;

Parameter
NameDescription
valueAny
Returns
TypeDescription
Recipe.Builder

addArguments(Any.Builder builderForValue)

public Recipe.Builder addArguments(Any.Builder builderForValue)

Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any".

repeated .google.protobuf.Any arguments = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Recipe.Builder