io.grafeas.v1.InTotoProvenanceOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grafeas Show documentation
Show all versions of grafeas Show documentation
Java idiomatic client for Grafeas.
/*
* 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
// Protobuf Java Version: 3.25.2
package io.grafeas.v1;
public interface InTotoProvenanceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:grafeas.v1.InTotoProvenance)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* required
*
*
* .grafeas.v1.BuilderConfig builder_config = 1;
*
* @return Whether the builderConfig field is set.
*/
boolean hasBuilderConfig();
/**
*
*
*
* required
*
*
* .grafeas.v1.BuilderConfig builder_config = 1;
*
* @return The builderConfig.
*/
io.grafeas.v1.BuilderConfig getBuilderConfig();
/**
*
*
*
* required
*
*
* .grafeas.v1.BuilderConfig builder_config = 1;
*/
io.grafeas.v1.BuilderConfigOrBuilder getBuilderConfigOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the recipe field is set.
*/
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;
*
* @return The recipe.
*/
io.grafeas.v1.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;
*/
io.grafeas.v1.RecipeOrBuilder getRecipeOrBuilder();
/**
* .grafeas.v1.Metadata metadata = 3;
*
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
* .grafeas.v1.Metadata metadata = 3;
*
* @return The metadata.
*/
io.grafeas.v1.Metadata getMetadata();
/** .grafeas.v1.Metadata metadata = 3;
*/
io.grafeas.v1.MetadataOrBuilder getMetadataOrBuilder();
/**
*
*
*
* 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;
*
* @return A list containing the materials.
*/
java.util.List 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;
*
* @return The count of materials.
*/
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;
*
* @param index The index of the element to return.
* @return The materials at the given index.
*/
java.lang.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;
*
* @param index The index of the value to return.
* @return The bytes of the materials at the given index.
*/
com.google.protobuf.ByteString getMaterialsBytes(int index);
}