Interface DigestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Digest, Digest.Builder

    public interface DigestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Digest.DigestCase getDigestCase()  
      com.google.protobuf.ByteString getSha256()
      A message digest produced with the SHA-256 algorithm.
      com.google.protobuf.ByteString getSha384()
      A message digest produced with the SHA-384 algorithm.
      com.google.protobuf.ByteString getSha512()
      A message digest produced with the SHA-512 algorithm.
      boolean hasSha256()
      A message digest produced with the SHA-256 algorithm.
      boolean hasSha384()
      A message digest produced with the SHA-384 algorithm.
      boolean hasSha512()
      A message digest produced with the SHA-512 algorithm.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasSha256

        boolean hasSha256()
         A message digest produced with the SHA-256 algorithm.
         
        bytes sha256 = 1;
        Returns:
        Whether the sha256 field is set.
      • getSha256

        com.google.protobuf.ByteString getSha256()
         A message digest produced with the SHA-256 algorithm.
         
        bytes sha256 = 1;
        Returns:
        The sha256.
      • hasSha384

        boolean hasSha384()
         A message digest produced with the SHA-384 algorithm.
         
        bytes sha384 = 2;
        Returns:
        Whether the sha384 field is set.
      • getSha384

        com.google.protobuf.ByteString getSha384()
         A message digest produced with the SHA-384 algorithm.
         
        bytes sha384 = 2;
        Returns:
        The sha384.
      • hasSha512

        boolean hasSha512()
         A message digest produced with the SHA-512 algorithm.
         
        bytes sha512 = 3;
        Returns:
        Whether the sha512 field is set.
      • getSha512

        com.google.protobuf.ByteString getSha512()
         A message digest produced with the SHA-512 algorithm.
         
        bytes sha512 = 3;
        Returns:
        The sha512.