public static final class SbomReferenceIntotoPredicate.Builder extends GeneratedMessageV3.Builder<SbomReferenceIntotoPredicate.Builder> implements SbomReferenceIntotoPredicateOrBuilder
A predicate which describes the SBOM being referenced.
Protobuf type grafeas.v1.SbomReferenceIntotoPredicate
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SbomReferenceIntotoPredicate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SbomReferenceIntotoPredicate build()
buildPartial()
public SbomReferenceIntotoPredicate buildPartial()
clear()
public SbomReferenceIntotoPredicate.Builder clear()
Overrides
clearDigest()
public SbomReferenceIntotoPredicate.Builder clearDigest()
clearField(Descriptors.FieldDescriptor field)
public SbomReferenceIntotoPredicate.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocation()
public SbomReferenceIntotoPredicate.Builder clearLocation()
The location of the SBOM.
string location = 2;
clearMimeType()
public SbomReferenceIntotoPredicate.Builder clearMimeType()
The mime type of the SBOM.
string mime_type = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public SbomReferenceIntotoPredicate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReferrerId()
public SbomReferenceIntotoPredicate.Builder clearReferrerId()
The person or system referring this predicate to the consumer.
string referrer_id = 1;
clone()
public SbomReferenceIntotoPredicate.Builder clone()
Overrides
containsDigest(String key)
public boolean containsDigest(String key)
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public SbomReferenceIntotoPredicate getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDigest() (deprecated)
public Map<String,String> getDigest()
getDigestCount()
public int getDigestCount()
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
Returns |
Type |
Description |
int |
|
getDigestMap()
public Map<String,String> getDigestMap()
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
getDigestOrDefault(String key, String defaultValue)
public String getDigestOrDefault(String key, String defaultValue)
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
Returns |
Type |
Description |
String |
|
getDigestOrThrow(String key)
public String getDigestOrThrow(String key)
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getLocation()
public String getLocation()
The location of the SBOM.
string location = 2;
Returns |
Type |
Description |
String |
The location.
|
getLocationBytes()
public ByteString getLocationBytes()
The location of the SBOM.
string location = 2;
Returns |
Type |
Description |
ByteString |
The bytes for location.
|
getMimeType()
public String getMimeType()
The mime type of the SBOM.
string mime_type = 3;
Returns |
Type |
Description |
String |
The mimeType.
|
getMimeTypeBytes()
public ByteString getMimeTypeBytes()
The mime type of the SBOM.
string mime_type = 3;
Returns |
Type |
Description |
ByteString |
The bytes for mimeType.
|
getMutableDigest() (deprecated)
public Map<String,String> getMutableDigest()
Use alternate mutation accessors instead.
getReferrerId()
public String getReferrerId()
The person or system referring this predicate to the consumer.
string referrer_id = 1;
Returns |
Type |
Description |
String |
The referrerId.
|
getReferrerIdBytes()
public ByteString getReferrerIdBytes()
The person or system referring this predicate to the consumer.
string referrer_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for referrerId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public SbomReferenceIntotoPredicate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SbomReferenceIntotoPredicate.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(SbomReferenceIntotoPredicate other)
public SbomReferenceIntotoPredicate.Builder mergeFrom(SbomReferenceIntotoPredicate other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SbomReferenceIntotoPredicate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllDigest(Map<String,String> values)
public SbomReferenceIntotoPredicate.Builder putAllDigest(Map<String,String> values)
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
putDigest(String key, String value)
public SbomReferenceIntotoPredicate.Builder putDigest(String key, String value)
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
removeDigest(String key)
public SbomReferenceIntotoPredicate.Builder removeDigest(String key)
A map of algorithm to digest of the contents of the SBOM.
map<string, string> digest = 4;
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public SbomReferenceIntotoPredicate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLocation(String value)
public SbomReferenceIntotoPredicate.Builder setLocation(String value)
The location of the SBOM.
string location = 2;
Parameter |
Name |
Description |
value |
String
The location to set.
|
setLocationBytes(ByteString value)
public SbomReferenceIntotoPredicate.Builder setLocationBytes(ByteString value)
The location of the SBOM.
string location = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for location to set.
|
setMimeType(String value)
public SbomReferenceIntotoPredicate.Builder setMimeType(String value)
The mime type of the SBOM.
string mime_type = 3;
Parameter |
Name |
Description |
value |
String
The mimeType to set.
|
setMimeTypeBytes(ByteString value)
public SbomReferenceIntotoPredicate.Builder setMimeTypeBytes(ByteString value)
The mime type of the SBOM.
string mime_type = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for mimeType to set.
|
setReferrerId(String value)
public SbomReferenceIntotoPredicate.Builder setReferrerId(String value)
The person or system referring this predicate to the consumer.
string referrer_id = 1;
Parameter |
Name |
Description |
value |
String
The referrerId to set.
|
setReferrerIdBytes(ByteString value)
public SbomReferenceIntotoPredicate.Builder setReferrerIdBytes(ByteString value)
The person or system referring this predicate to the consumer.
string referrer_id = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for referrerId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SbomReferenceIntotoPredicate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SbomReferenceIntotoPredicate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides