public static final class SbomReferenceIntotoPredicate.Builder extends GeneratedMessage.Builder<SbomReferenceIntotoPredicate.Builder> implements SbomReferenceIntotoPredicateOrBuilderA predicate which describes the SBOM being referenced.
Protobuf type grafeas.v1.SbomReferenceIntotoPredicate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SbomReferenceIntotoPredicate.BuilderImplements
SbomReferenceIntotoPredicateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SbomReferenceIntotoPredicate build()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate |
|
buildPartial()
public SbomReferenceIntotoPredicate buildPartial()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate |
|
clear()
public SbomReferenceIntotoPredicate.Builder clear()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
clearDigest()
public SbomReferenceIntotoPredicate.Builder clearDigest()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
clearLocation()
public SbomReferenceIntotoPredicate.Builder clearLocation()The location of the SBOM.
string location = 2;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
clearMimeType()
public SbomReferenceIntotoPredicate.Builder clearMimeType()The mime type of the SBOM.
string mime_type = 3;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
clearReferrerId()
public SbomReferenceIntotoPredicate.Builder clearReferrerId()The person or system referring this predicate to the consumer.
string referrer_id = 1;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SbomReferenceIntotoPredicate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDigest() (deprecated)
public Map<String,String> getDigest()Use #getDigestMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SbomReferenceIntotoPredicate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SbomReferenceIntotoPredicate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
mergeFrom(SbomReferenceIntotoPredicate other)
public SbomReferenceIntotoPredicate.Builder mergeFrom(SbomReferenceIntotoPredicate other)| Parameter | |
|---|---|
| Name | Description |
other |
SbomReferenceIntotoPredicate |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
setLocation(String value)
public SbomReferenceIntotoPredicate.Builder setLocation(String value)The location of the SBOM.
string location = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public SbomReferenceIntotoPredicate.Builder setLocationBytes(ByteString value)The location of the SBOM.
string location = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
setMimeType(String value)
public SbomReferenceIntotoPredicate.Builder setMimeType(String value)The mime type of the SBOM.
string mime_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
setMimeTypeBytes(ByteString value)
public SbomReferenceIntotoPredicate.Builder setMimeTypeBytes(ByteString value)The mime type of the SBOM.
string mime_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
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 |
StringThe referrerId to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for referrerId to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
This builder for chaining. |