All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.grafeas.v1.BuildOccurrenceOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.55.0
Show newest version
/*
 * 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/build.proto

// Protobuf Java Version: 3.25.2
package io.grafeas.v1;

public interface BuildOccurrenceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1.BuildOccurrence)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The actual provenance for the build.
   * 
* * .grafeas.v1.BuildProvenance provenance = 1; * * @return Whether the provenance field is set. */ boolean hasProvenance(); /** * * *
   * The actual provenance for the build.
   * 
* * .grafeas.v1.BuildProvenance provenance = 1; * * @return The provenance. */ io.grafeas.v1.BuildProvenance getProvenance(); /** * * *
   * The actual provenance for the build.
   * 
* * .grafeas.v1.BuildProvenance provenance = 1; */ io.grafeas.v1.BuildProvenanceOrBuilder getProvenanceOrBuilder(); /** * * *
   * Serialized JSON representation of the provenance, used in generating the
   * build signature in the corresponding build note. After verifying the
   * signature, `provenance_bytes` can be unmarshalled and compared to the
   * provenance to confirm that it is unchanged. A base64-encoded string
   * representation of the provenance bytes is used for the signature in order
   * to interoperate with openssl which expects this format for signature
   * verification.
   *
   * The serialized form is captured both to avoid ambiguity in how the
   * provenance is marshalled to json as well to prevent incompatibilities with
   * future changes.
   * 
* * string provenance_bytes = 2; * * @return The provenanceBytes. */ java.lang.String getProvenanceBytes(); /** * * *
   * Serialized JSON representation of the provenance, used in generating the
   * build signature in the corresponding build note. After verifying the
   * signature, `provenance_bytes` can be unmarshalled and compared to the
   * provenance to confirm that it is unchanged. A base64-encoded string
   * representation of the provenance bytes is used for the signature in order
   * to interoperate with openssl which expects this format for signature
   * verification.
   *
   * The serialized form is captured both to avoid ambiguity in how the
   * provenance is marshalled to json as well to prevent incompatibilities with
   * future changes.
   * 
* * string provenance_bytes = 2; * * @return The bytes for provenanceBytes. */ com.google.protobuf.ByteString getProvenanceBytesBytes(); /** * * *
   * Deprecated. See InTotoStatement for the replacement.
   * In-toto Provenance representation as defined in spec.
   * 
* * .grafeas.v1.InTotoProvenance intoto_provenance = 3; * * @return Whether the intotoProvenance field is set. */ boolean hasIntotoProvenance(); /** * * *
   * Deprecated. See InTotoStatement for the replacement.
   * In-toto Provenance representation as defined in spec.
   * 
* * .grafeas.v1.InTotoProvenance intoto_provenance = 3; * * @return The intotoProvenance. */ io.grafeas.v1.InTotoProvenance getIntotoProvenance(); /** * * *
   * Deprecated. See InTotoStatement for the replacement.
   * In-toto Provenance representation as defined in spec.
   * 
* * .grafeas.v1.InTotoProvenance intoto_provenance = 3; */ io.grafeas.v1.InTotoProvenanceOrBuilder getIntotoProvenanceOrBuilder(); /** * * *
   * In-toto Statement representation as defined in spec.
   * The intoto_statement can contain any type of provenance. The serialized
   * payload of the statement can be stored and signed in the Occurrence's
   * envelope.
   * 
* * .grafeas.v1.InTotoStatement intoto_statement = 4; * * @return Whether the intotoStatement field is set. */ boolean hasIntotoStatement(); /** * * *
   * In-toto Statement representation as defined in spec.
   * The intoto_statement can contain any type of provenance. The serialized
   * payload of the statement can be stored and signed in the Occurrence's
   * envelope.
   * 
* * .grafeas.v1.InTotoStatement intoto_statement = 4; * * @return The intotoStatement. */ io.grafeas.v1.InTotoStatement getIntotoStatement(); /** * * *
   * In-toto Statement representation as defined in spec.
   * The intoto_statement can contain any type of provenance. The serialized
   * payload of the statement can be stored and signed in the Occurrence's
   * envelope.
   * 
* * .grafeas.v1.InTotoStatement intoto_statement = 4; */ io.grafeas.v1.InTotoStatementOrBuilder getIntotoStatementOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy