• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
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 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/kms/v1/service.proto
18 
19 package com.google.cloud.kms.v1;
20 
21 public interface DigestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.Digest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * A message digest produced with the SHA-256 algorithm.
31    * </pre>
32    *
33    * <code>bytes sha256 = 1;</code>
34    *
35    * @return Whether the sha256 field is set.
36    */
hasSha256()37   boolean hasSha256();
38   /**
39    *
40    *
41    * <pre>
42    * A message digest produced with the SHA-256 algorithm.
43    * </pre>
44    *
45    * <code>bytes sha256 = 1;</code>
46    *
47    * @return The sha256.
48    */
getSha256()49   com.google.protobuf.ByteString getSha256();
50 
51   /**
52    *
53    *
54    * <pre>
55    * A message digest produced with the SHA-384 algorithm.
56    * </pre>
57    *
58    * <code>bytes sha384 = 2;</code>
59    *
60    * @return Whether the sha384 field is set.
61    */
hasSha384()62   boolean hasSha384();
63   /**
64    *
65    *
66    * <pre>
67    * A message digest produced with the SHA-384 algorithm.
68    * </pre>
69    *
70    * <code>bytes sha384 = 2;</code>
71    *
72    * @return The sha384.
73    */
getSha384()74   com.google.protobuf.ByteString getSha384();
75 
76   /**
77    *
78    *
79    * <pre>
80    * A message digest produced with the SHA-512 algorithm.
81    * </pre>
82    *
83    * <code>bytes sha512 = 3;</code>
84    *
85    * @return Whether the sha512 field is set.
86    */
hasSha512()87   boolean hasSha512();
88   /**
89    *
90    *
91    * <pre>
92    * A message digest produced with the SHA-512 algorithm.
93    * </pre>
94    *
95    * <code>bytes sha512 = 3;</code>
96    *
97    * @return The sha512.
98    */
getSha512()99   com.google.protobuf.ByteString getSha512();
100 
getDigestCase()101   public com.google.cloud.kms.v1.Digest.DigestCase getDigestCase();
102 }
103