/* * Copyright 2020 Google LLC * * 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: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto package io.grafeas.v1beta1; public interface ResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.Resource) com.google.protobuf.MessageOrBuilder { /** * * *
   * The name of the resource. For example, the name of a Docker image -
   * "Debian".
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * The name of the resource. For example, the name of a Docker image -
   * "Debian".
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Required. The unique URI of the resource. For example,
   * `https://gcr.io/project/image@sha256:foo` for a Docker image.
   * 
* * string uri = 2; * * @return The uri. */ java.lang.String getUri(); /** * * *
   * Required. The unique URI of the resource. For example,
   * `https://gcr.io/project/image@sha256:foo` for a Docker image.
   * 
* * string uri = 2; * * @return The bytes for uri. */ com.google.protobuf.ByteString getUriBytes(); /** * * *
   * The hash of the resource content. For example, the Docker digest.
   * 
* * .grafeas.v1beta1.provenance.Hash content_hash = 3; * * @return Whether the contentHash field is set. */ boolean hasContentHash(); /** * * *
   * The hash of the resource content. For example, the Docker digest.
   * 
* * .grafeas.v1beta1.provenance.Hash content_hash = 3; * * @return The contentHash. */ io.grafeas.v1beta1.provenance.Hash getContentHash(); /** * * *
   * The hash of the resource content. For example, the Docker digest.
   * 
* * .grafeas.v1beta1.provenance.Hash content_hash = 3; */ io.grafeas.v1beta1.provenance.HashOrBuilder getContentHashOrBuilder(); }