Interface HashOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Hash,Hash.Builder
public interface HashOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Hash.HashTypegetType()The algorithm used to compute the hash value.intgetTypeValue()The algorithm used to compute the hash value.com.google.protobuf.ByteStringgetValue()The hash value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
The algorithm used to compute the hash value.
.google.devtools.artifactregistry.v1.Hash.HashType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Hash.HashType getType()
The algorithm used to compute the hash value.
.google.devtools.artifactregistry.v1.Hash.HashType type = 1;- Returns:
- The type.
-
getValue
com.google.protobuf.ByteString getValue()
The hash value.
bytes value = 2;- Returns:
- The value.
-
-