- 2.84.0 (latest)
- 2.83.0
- 2.82.0
- 2.81.0
- 2.79.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class SBOMReferenceOccurrence.Builder extends GeneratedMessage.Builder<SBOMReferenceOccurrence.Builder> implements SBOMReferenceOccurrenceOrBuilderThe occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
Protobuf type grafeas.v1.SBOMReferenceOccurrence
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SBOMReferenceOccurrence.BuilderImplements
SBOMReferenceOccurrenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSignatures(Iterable<? extends EnvelopeSignature> values)
public SBOMReferenceOccurrence.Builder addAllSignatures(Iterable<? extends EnvelopeSignature> values)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends io.grafeas.v1.EnvelopeSignature> |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
addSignatures(int index, EnvelopeSignature value)
public SBOMReferenceOccurrence.Builder addSignatures(int index, EnvelopeSignature value)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EnvelopeSignature |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
addSignatures(int index, EnvelopeSignature.Builder builderForValue)
public SBOMReferenceOccurrence.Builder addSignatures(int index, EnvelopeSignature.Builder builderForValue)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EnvelopeSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
addSignatures(EnvelopeSignature value)
public SBOMReferenceOccurrence.Builder addSignatures(EnvelopeSignature value)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
EnvelopeSignature |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
addSignatures(EnvelopeSignature.Builder builderForValue)
public SBOMReferenceOccurrence.Builder addSignatures(EnvelopeSignature.Builder builderForValue)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EnvelopeSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
addSignaturesBuilder()
public EnvelopeSignature.Builder addSignaturesBuilder()The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
EnvelopeSignature.Builder |
|
addSignaturesBuilder(int index)
public EnvelopeSignature.Builder addSignaturesBuilder(int index)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvelopeSignature.Builder |
|
build()
public SBOMReferenceOccurrence build()| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence |
|
buildPartial()
public SBOMReferenceOccurrence buildPartial()| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence |
|
clear()
public SBOMReferenceOccurrence.Builder clear()| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
clearPayload()
public SBOMReferenceOccurrence.Builder clearPayload()The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
clearPayloadType()
public SBOMReferenceOccurrence.Builder clearPayloadType()The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
string payload_type = 2;
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
This builder for chaining. |
clearSignatures()
public SBOMReferenceOccurrence.Builder clearSignatures()The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
getDefaultInstanceForType()
public SBOMReferenceOccurrence getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPayload()
public SbomReferenceIntotoPayload getPayload()The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload |
The payload. |
getPayloadBuilder()
public SbomReferenceIntotoPayload.Builder getPayloadBuilder()The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
getPayloadOrBuilder()
public SbomReferenceIntotoPayloadOrBuilder getPayloadOrBuilder()The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayloadOrBuilder |
|
getPayloadType()
public String getPayloadType()The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
string payload_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The payloadType. |
getPayloadTypeBytes()
public ByteString getPayloadTypeBytes()The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
string payload_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for payloadType. |
getSignatures(int index)
public EnvelopeSignature getSignatures(int index)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvelopeSignature |
|
getSignaturesBuilder(int index)
public EnvelopeSignature.Builder getSignaturesBuilder(int index)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvelopeSignature.Builder |
|
getSignaturesBuilderList()
public List<EnvelopeSignature.Builder> getSignaturesBuilderList()The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSignaturesCount()
public int getSignaturesCount()The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSignaturesList()
public List<EnvelopeSignature> getSignaturesList()The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
List<EnvelopeSignature> |
|
getSignaturesOrBuilder(int index)
public EnvelopeSignatureOrBuilder getSignaturesOrBuilder(int index)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvelopeSignatureOrBuilder |
|
getSignaturesOrBuilderList()
public List<? extends EnvelopeSignatureOrBuilder> getSignaturesOrBuilderList()The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends io.grafeas.v1.EnvelopeSignatureOrBuilder> |
|
hasPayload()
public boolean hasPayload()The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SBOMReferenceOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SBOMReferenceOccurrence.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
mergeFrom(SBOMReferenceOccurrence other)
public SBOMReferenceOccurrence.Builder mergeFrom(SBOMReferenceOccurrence other)| Parameter | |
|---|---|
| Name | Description |
other |
SBOMReferenceOccurrence |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
mergePayload(SbomReferenceIntotoPayload value)
public SBOMReferenceOccurrence.Builder mergePayload(SbomReferenceIntotoPayload value)The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SbomReferenceIntotoPayload |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
removeSignatures(int index)
public SBOMReferenceOccurrence.Builder removeSignatures(int index)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
setPayload(SbomReferenceIntotoPayload value)
public SBOMReferenceOccurrence.Builder setPayload(SbomReferenceIntotoPayload value)The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SbomReferenceIntotoPayload |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
setPayload(SbomReferenceIntotoPayload.Builder builderForValue)
public SBOMReferenceOccurrence.Builder setPayload(SbomReferenceIntotoPayload.Builder builderForValue)The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SbomReferenceIntotoPayload.Builder |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
setPayloadType(String value)
public SBOMReferenceOccurrence.Builder setPayloadType(String value)The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
string payload_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe payloadType to set. |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
This builder for chaining. |
setPayloadTypeBytes(ByteString value)
public SBOMReferenceOccurrence.Builder setPayloadTypeBytes(ByteString value)The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
string payload_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for payloadType to set. |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
This builder for chaining. |
setSignatures(int index, EnvelopeSignature value)
public SBOMReferenceOccurrence.Builder setSignatures(int index, EnvelopeSignature value)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EnvelopeSignature |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|
setSignatures(int index, EnvelopeSignature.Builder builderForValue)
public SBOMReferenceOccurrence.Builder setSignatures(int index, EnvelopeSignature.Builder builderForValue)The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EnvelopeSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
SBOMReferenceOccurrence.Builder |
|