Package io.grafeas.v1beta1.provenance
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.HashType
getType()
Required.int
getTypeValue()
Required.com.google.protobuf.ByteString
getValue()
Required.-
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()
Required. The type of hash that was performed.
.grafeas.v1beta1.provenance.Hash.HashType type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Hash.HashType getType()
Required. The type of hash that was performed.
.grafeas.v1beta1.provenance.Hash.HashType type = 1;
- Returns:
- The type.
-
getValue
com.google.protobuf.ByteString getValue()
Required. The hash value.
bytes value = 2;
- Returns:
- The value.
-
-