• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2019 The Grafeas Authors. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // Generated by the protocol buffer compiler.  DO NOT EDIT!
18 // source: grafeas/v1/common.proto
19 
20 package io.grafeas.v1;
21 
22 public interface DigestOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.Digest)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * `SHA1`, `SHA512` etc.
32    * </pre>
33    *
34    * <code>string algo = 1;</code>
35    *
36    * @return The algo.
37    */
getAlgo()38   java.lang.String getAlgo();
39   /**
40    *
41    *
42    * <pre>
43    * `SHA1`, `SHA512` etc.
44    * </pre>
45    *
46    * <code>string algo = 1;</code>
47    *
48    * @return The bytes for algo.
49    */
getAlgoBytes()50   com.google.protobuf.ByteString getAlgoBytes();
51 
52   /**
53    *
54    *
55    * <pre>
56    * Value of the digest.
57    * </pre>
58    *
59    * <code>bytes digest_bytes = 2;</code>
60    *
61    * @return The digestBytes.
62    */
getDigestBytes()63   com.google.protobuf.ByteString getDigestBytes();
64 }
65