Class Recipe.Builder (2.13.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
Type Description
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
Name Description
values Iterable < ? extends com.google.protobuf.Any >
Returns
Type Description
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
Name Description
values Iterable < ? extends com.google.protobuf.Any >
Returns
Type Description
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
Name Description
value Any
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Recipe.Builder

addArguments(int index, Any value)

  public 
  
 Recipe 
 . 
 Builder 
  
 addArguments 
 ( 
 int 
  
 index 
 , 
  
 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;

Parameters
Name Description
index int
value Any
Returns
Type Description
Recipe.Builder

addArguments(int index, Any.Builder builderForValue)

  public 
  
 Recipe 
 . 
 Builder 
  
 addArguments 
 ( 
 int 
  
 index 
 , 
  
 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;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
Recipe.Builder

addArgumentsBuilder()

  public 
  
 Any 
 . 
 Builder 
  
 addArgumentsBuilder 
 () 
 

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;

Returns
Type Description
Builder

addArgumentsBuilder(int index)

  public 
  
 Any 
 . 
 Builder 
  
 addArgumentsBuilder 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Builder

addEnvironment(Any value)

  public 
  
 Recipe 
 . 
 Builder 
  
 addEnvironment 
 ( 
 Any 
  
 value 
 ) 
 

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
Name Description
value Any
Returns
Type Description
Recipe.Builder

addEnvironment(Any.Builder builderForValue)

  public 
  
 Recipe 
 . 
 Builder 
  
 addEnvironment 
 ( 
 Any 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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
Name Description
builderForValue Builder
Returns
Type Description
Recipe.Builder

addEnvironment(int index, Any value)

  public 
  
 Recipe 
 . 
 Builder 
  
 addEnvironment 
 ( 
 int 
  
 index 
 , 
  
 Any 
  
 value 
 ) 
 

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;

Parameters
Name Description
index int
value Any
Returns
Type Description
Recipe.Builder

addEnvironment(int index, Any.Builder builderForValue)

  public 
  
 Recipe 
 . 
 Builder 
  
 addEnvironment 
 ( 
 int 
  
 index 
 , 
  
 Any 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
Recipe.Builder

addEnvironmentBuilder()

  public 
  
 Any 
 . 
 Builder 
  
 addEnvironmentBuilder 
 () 
 

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;

Returns
Type Description
Builder

addEnvironmentBuilder(int index)

  public 
  
 Any 
 . 
 Builder 
  
 addEnvironmentBuilder 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

  public 
  
 Recipe 
  
 build 
 () 
 
Returns
Type Description
Recipe

buildPartial()

  public 
  
 Recipe 
  
 buildPartial 
 () 
 
Returns
Type Description
Recipe

clear()

  public 
  
 Recipe 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type Description
Recipe.Builder
Overrides

clearArguments()

  public 
  
 Recipe 
 . 
 Builder 
  
 clearArguments 
 () 
 

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;

Returns
Type Description
Recipe.Builder

clearDefinedInMaterial()

  public 
  
 Recipe 
 . 
 Builder 
  
 clearDefinedInMaterial 
 () 
 

Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were "make", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.

int64 defined_in_material = 2;

Returns
Type Description
Recipe.Builder

This builder for chaining.

clearEntryPoint()

  public 
  
 Recipe 
 . 
 Builder 
  
 clearEntryPoint 
 () 
 

String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were "make", then this would reference the directory in which to run make as well as which target to use.

string entry_point = 3;

Returns
Type Description
Recipe.Builder

This builder for chaining.

clearEnvironment()

  public 
  
 Recipe 
 . 
 Builder 
  
 clearEnvironment 
 () 
 

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;

Returns
Type Description
Recipe.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

  public 
  
 Recipe 
 . 
 Builder 
  
 clearType 
 () 
 

URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.

string type = 1;

Returns
Type Description
Recipe.Builder

This builder for chaining.

clone()

  public 
  
 Recipe 
 . 
 Builder 
  
 clone 
 () 
 
Returns
Type Description
Recipe.Builder
Overrides

getArguments(int index)

  public 
  
 Any 
  
 getArguments 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Any

getArgumentsBuilder(int index)

  public 
  
 Any 
 . 
 Builder 
  
 getArgumentsBuilder 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Builder

getArgumentsBuilderList()

  public 
  
 List<Any 
 . 
 Builder 
>  
 getArgumentsBuilderList 
 () 
 

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;

Returns
Type Description
List < Builder >

getArgumentsCount()

  public 
  
 int 
  
 getArgumentsCount 
 () 
 

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;

Returns
Type Description
int

getArgumentsList()

  public 
  
 List<Any> 
  
 getArgumentsList 
 () 
 

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;

Returns
Type Description
List < Any >

getArgumentsOrBuilder(int index)

  public 
  
 AnyOrBuilder 
  
 getArgumentsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
AnyOrBuilder

getArgumentsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 AnyOrBuilder 
>  
 getArgumentsOrBuilderList 
 () 
 

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;

Returns
Type Description
List < ? extends com.google.protobuf.AnyOrBuilder >

getDefaultInstanceForType()

  public 
  
 Recipe 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type Description
Recipe

getDefinedInMaterial()

  public 
  
 long 
  
 getDefinedInMaterial 
 () 
 

Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were "make", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.

int64 defined_in_material = 2;

Returns
Type Description
long

The definedInMaterial.

getDescriptorForType()

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

getEntryPoint()

  public 
  
 String 
  
 getEntryPoint 
 () 
 

String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were "make", then this would reference the directory in which to run make as well as which target to use.

string entry_point = 3;

Returns
Type Description
String

The entryPoint.

getEntryPointBytes()

  public 
  
 ByteString 
  
 getEntryPointBytes 
 () 
 

String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were "make", then this would reference the directory in which to run make as well as which target to use.

string entry_point = 3;

Returns
Type Description
ByteString

The bytes for entryPoint.

getEnvironment(int index)

  public 
  
 Any 
  
 getEnvironment 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Any

getEnvironmentBuilder(int index)

  public 
  
 Any 
 . 
 Builder 
  
 getEnvironmentBuilder 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Builder

getEnvironmentBuilderList()

  public 
  
 List<Any 
 . 
 Builder 
>  
 getEnvironmentBuilderList 
 () 
 

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;

Returns
Type Description
List < Builder >

getEnvironmentCount()

  public 
  
 int 
  
 getEnvironmentCount 
 () 
 

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;

Returns
Type Description
int

getEnvironmentList()

  public 
  
 List<Any> 
  
 getEnvironmentList 
 () 
 

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;

Returns
Type Description
List < Any >

getEnvironmentOrBuilder(int index)

  public 
  
 AnyOrBuilder 
  
 getEnvironmentOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
AnyOrBuilder

getEnvironmentOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 AnyOrBuilder 
>  
 getEnvironmentOrBuilderList 
 () 
 

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;

Returns
Type Description
List < ? extends com.google.protobuf.AnyOrBuilder >

getType()

  public 
  
 String 
  
 getType 
 () 
 

URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.

string type = 1;

Returns
Type Description
String

The type.

getTypeBytes()

  public 
  
 ByteString 
  
 getTypeBytes 
 () 
 

URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.

string type = 1;

Returns
Type Description
ByteString

The bytes for type.

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 
  
 Recipe 
 . 
 Builder 
  
 mergeFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Recipe.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(Recipe other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeArguments(int index)

  public 
  
 Recipe 
 . 
 Builder 
  
 removeArguments 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Recipe.Builder

removeEnvironment(int index)

  public 
  
 Recipe 
 . 
 Builder 
  
 removeEnvironment 
 ( 
 int 
  
 index 
 ) 
 

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
Name Description
index int
Returns
Type Description
Recipe.Builder

setArguments(int index, Any value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setArguments 
 ( 
 int 
  
 index 
 , 
  
 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;

Parameters
Name Description
index int
value Any
Returns
Type Description
Recipe.Builder

setArguments(int index, Any.Builder builderForValue)

  public 
  
 Recipe 
 . 
 Builder 
  
 setArguments 
 ( 
 int 
  
 index 
 , 
  
 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;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
Recipe.Builder

setDefinedInMaterial(long value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setDefinedInMaterial 
 ( 
 long 
  
 value 
 ) 
 

Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were "make", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.

int64 defined_in_material = 2;

Parameter
Name Description
value long

The definedInMaterial to set.

Returns
Type Description
Recipe.Builder

This builder for chaining.

setEntryPoint(String value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setEntryPoint 
 ( 
 String 
  
 value 
 ) 
 

String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were "make", then this would reference the directory in which to run make as well as which target to use.

string entry_point = 3;

Parameter
Name Description
value String

The entryPoint to set.

Returns
Type Description
Recipe.Builder

This builder for chaining.

setEntryPointBytes(ByteString value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setEntryPointBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were "make", then this would reference the directory in which to run make as well as which target to use.

string entry_point = 3;

Parameter
Name Description
value ByteString

The bytes for entryPoint to set.

Returns
Type Description
Recipe.Builder

This builder for chaining.

setEnvironment(int index, Any value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setEnvironment 
 ( 
 int 
  
 index 
 , 
  
 Any 
  
 value 
 ) 
 

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;

Parameters
Name Description
index int
value Any
Returns
Type Description
Recipe.Builder

setEnvironment(int index, Any.Builder builderForValue)

  public 
  
 Recipe 
 . 
 Builder 
  
 setEnvironment 
 ( 
 int 
  
 index 
 , 
  
 Any 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
Recipe.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(String value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setType 
 ( 
 String 
  
 value 
 ) 
 

URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.

string type = 1;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
Recipe.Builder

This builder for chaining.

setTypeBytes(ByteString value)

  public 
  
 Recipe 
 . 
 Builder 
  
 setTypeBytes 
 ( 
 ByteString 
  
 value 
 ) 
 

URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.

string type = 1;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
Recipe.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 Recipe 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Recipe.Builder
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: