/*
 * 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/cloud/kms/v1/service.proto

package com.google.cloud.kms.v1;

public interface DigestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.Digest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * A message digest produced with the SHA-256 algorithm.
   * </pre>
   *
   * <code>bytes sha256 = 1;</code>
   *
   * @return Whether the sha256 field is set.
   */
  boolean hasSha256();
  /**
   *
   *
   * <pre>
   * A message digest produced with the SHA-256 algorithm.
   * </pre>
   *
   * <code>bytes sha256 = 1;</code>
   *
   * @return The sha256.
   */
  com.google.protobuf.ByteString getSha256();

  /**
   *
   *
   * <pre>
   * A message digest produced with the SHA-384 algorithm.
   * </pre>
   *
   * <code>bytes sha384 = 2;</code>
   *
   * @return Whether the sha384 field is set.
   */
  boolean hasSha384();
  /**
   *
   *
   * <pre>
   * A message digest produced with the SHA-384 algorithm.
   * </pre>
   *
   * <code>bytes sha384 = 2;</code>
   *
   * @return The sha384.
   */
  com.google.protobuf.ByteString getSha384();

  /**
   *
   *
   * <pre>
   * A message digest produced with the SHA-512 algorithm.
   * </pre>
   *
   * <code>bytes sha512 = 3;</code>
   *
   * @return Whether the sha512 field is set.
   */
  boolean hasSha512();
  /**
   *
   *
   * <pre>
   * A message digest produced with the SHA-512 algorithm.
   * </pre>
   *
   * <code>bytes sha512 = 3;</code>
   *
   * @return The sha512.
   */
  com.google.protobuf.ByteString getSha512();

  public com.google.cloud.kms.v1.Digest.DigestCase getDigestCase();
}
