/* * 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/provenance.proto package io.grafeas.v1; public interface ArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.Artifact) com.google.protobuf.MessageOrBuilder { /** * * *
   * Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
   * container.
   * 
* * string checksum = 1; * * @return The checksum. */ java.lang.String getChecksum(); /** * * *
   * Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
   * container.
   * 
* * string checksum = 1; * * @return The bytes for checksum. */ com.google.protobuf.ByteString getChecksumBytes(); /** * * *
   * Artifact ID, if any; for container images, this will be a URL by digest
   * like `gcr.io/projectID/imagename@sha256:123456`.
   * 
* * string id = 2; * * @return The id. */ java.lang.String getId(); /** * * *
   * Artifact ID, if any; for container images, this will be a URL by digest
   * like `gcr.io/projectID/imagename@sha256:123456`.
   * 
* * string id = 2; * * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * * *
   * Related artifact names. This may be the path to a binary or jar file, or in
   * the case of a container build, the name used to push the container image to
   * Google Container Registry, as presented to `docker push`. Note that a
   * single Artifact ID can have multiple names, for example if two tags are
   * applied to one image.
   * 
* * repeated string names = 3; * * @return A list containing the names. */ java.util.List getNamesList(); /** * * *
   * Related artifact names. This may be the path to a binary or jar file, or in
   * the case of a container build, the name used to push the container image to
   * Google Container Registry, as presented to `docker push`. Note that a
   * single Artifact ID can have multiple names, for example if two tags are
   * applied to one image.
   * 
* * repeated string names = 3; * * @return The count of names. */ int getNamesCount(); /** * * *
   * Related artifact names. This may be the path to a binary or jar file, or in
   * the case of a container build, the name used to push the container image to
   * Google Container Registry, as presented to `docker push`. Note that a
   * single Artifact ID can have multiple names, for example if two tags are
   * applied to one image.
   * 
* * repeated string names = 3; * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** * * *
   * Related artifact names. This may be the path to a binary or jar file, or in
   * the case of a container build, the name used to push the container image to
   * Google Container Registry, as presented to `docker push`. Note that a
   * single Artifact ID can have multiple names, for example if two tags are
   * applied to one image.
   * 
* * repeated string names = 3; * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ com.google.protobuf.ByteString getNamesBytes(int index); }