public static enum Hash.HashType extends Enum<Hash.HashType> implements com.google.protobuf.ProtocolMessageEnum
Specifies the hash algorithm, if any.Protobuf enum
grafeas.v1beta1.provenance.Hash.HashType| Enum Constant and Description |
|---|
HASH_TYPE_UNSPECIFIED
Unknown.
|
SHA256
A SHA-256 hash.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_TYPE_UNSPECIFIED_VALUE
Unknown.
|
static int |
SHA256_VALUE
A SHA-256 hash.
|
| Modifier and Type | Method and Description |
|---|---|
static Hash.HashType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Hash.HashType> |
internalGetValueMap() |
static Hash.HashType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Hash.HashType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Hash.HashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hash.HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hash.HashType HASH_TYPE_UNSPECIFIED
Unknown.
HASH_TYPE_UNSPECIFIED = 0;public static final Hash.HashType SHA256
A SHA-256 hash.
SHA256 = 1;public static final Hash.HashType UNRECOGNIZED
public static final int HASH_TYPE_UNSPECIFIED_VALUE
Unknown.
HASH_TYPE_UNSPECIFIED = 0;public static final int SHA256_VALUE
A SHA-256 hash.
SHA256 = 1;public static Hash.HashType[] values()
for (Hash.HashType c : Hash.HashType.values()) System.out.println(c);
public static Hash.HashType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Hash.HashType valueOf(int value)
forNumber(int) instead.public static Hash.HashType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Hash.HashType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Hash.HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.