/* * Copyright 2019 The Grafeas Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto package io.grafeas.v1; public interface RecipeOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.Recipe) com.google.protobuf.MessageOrBuilder { /** * * *
* URI indicating what type of recipe was performed. It determines the meaning * of recipe.entryPoint, recipe.arguments, recipe.environment, and materials. ** *
string type = 1;
*
* @return The type.
*/
java.lang.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;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
* * 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;
*
* @return The definedInMaterial.
*/
long getDefinedInMaterial();
/**
*
*
* * 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;
*
* @return The entryPoint.
*/
java.lang.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;
*
* @return The bytes for entryPoint.
*/
com.google.protobuf.ByteString getEntryPointBytes();
/**
*
*
* * 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;
*/
java.util.List* 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;
*/
com.google.protobuf.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;
*/
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;
*/
java.util.List extends com.google.protobuf.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;
*/
com.google.protobuf.AnyOrBuilder getArgumentsOrBuilder(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;
*/
java.util.List* 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;
*/
com.google.protobuf.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;
*/
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;
*/
java.util.List extends com.google.protobuf.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;
*/
com.google.protobuf.AnyOrBuilder getEnvironmentOrBuilder(int index);
}