- 2.77.0 (latest)
- 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 SbomReferenceIntotoPayload.Builder extends GeneratedMessageV3.Builder<SbomReferenceIntotoPayload.Builder> implements SbomReferenceIntotoPayloadOrBuilderThe actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.
Protobuf type grafeas.v1.SbomReferenceIntotoPayload
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SbomReferenceIntotoPayload.BuilderImplements
SbomReferenceIntotoPayloadOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSubject(Iterable<? extends Subject> values)
public SbomReferenceIntotoPayload.Builder addAllSubject(Iterable<? extends Subject> values)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends io.grafeas.v1.Subject> |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SbomReferenceIntotoPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
addSubject(int index, Subject value)
public SbomReferenceIntotoPayload.Builder addSubject(int index, Subject value)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Subject |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
addSubject(int index, Subject.Builder builderForValue)
public SbomReferenceIntotoPayload.Builder addSubject(int index, Subject.Builder builderForValue)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Subject.Builder |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
addSubject(Subject value)
public SbomReferenceIntotoPayload.Builder addSubject(Subject value)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Subject |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
addSubject(Subject.Builder builderForValue)
public SbomReferenceIntotoPayload.Builder addSubject(Subject.Builder builderForValue)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Subject.Builder |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
addSubjectBuilder()
public Subject.Builder addSubjectBuilder()Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Returns | |
|---|---|
| Type | Description |
Subject.Builder |
|
addSubjectBuilder(int index)
public Subject.Builder addSubjectBuilder(int index)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Subject.Builder |
|
build()
public SbomReferenceIntotoPayload build()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload |
|
buildPartial()
public SbomReferenceIntotoPayload buildPartial()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload |
|
clear()
public SbomReferenceIntotoPayload.Builder clear()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public SbomReferenceIntotoPayload.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public SbomReferenceIntotoPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
clearPredicate()
public SbomReferenceIntotoPayload.Builder clearPredicate()Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
clearPredicateType()
public SbomReferenceIntotoPayload.Builder clearPredicateType()URI identifying the type of the Predicate.
string predicate_type = 2;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
This builder for chaining. |
clearSubject()
public SbomReferenceIntotoPayload.Builder clearSubject()Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
clearType()
public SbomReferenceIntotoPayload.Builder clearType()Identifier for the schema of the Statement.
string type = 1 [json_name = "_type"];
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
This builder for chaining. |
clone()
public SbomReferenceIntotoPayload.Builder clone()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
getDefaultInstanceForType()
public SbomReferenceIntotoPayload getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPredicate()
public SbomReferenceIntotoPredicate getPredicate()Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate |
The predicate. |
getPredicateBuilder()
public SbomReferenceIntotoPredicate.Builder getPredicateBuilder()Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicate.Builder |
|
getPredicateOrBuilder()
public SbomReferenceIntotoPredicateOrBuilder getPredicateOrBuilder()Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPredicateOrBuilder |
|
getPredicateType()
public String getPredicateType()URI identifying the type of the Predicate.
string predicate_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The predicateType. |
getPredicateTypeBytes()
public ByteString getPredicateTypeBytes()URI identifying the type of the Predicate.
string predicate_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for predicateType. |
getSubject(int index)
public Subject getSubject(int index)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Subject |
|
getSubjectBuilder(int index)
public Subject.Builder getSubjectBuilder(int index)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Subject.Builder |
|
getSubjectBuilderList()
public List<Subject.Builder> getSubjectBuilderList()Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSubjectCount()
public int getSubjectCount()Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSubjectList()
public List<Subject> getSubjectList()Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Returns | |
|---|---|
| Type | Description |
List<Subject> |
|
getSubjectOrBuilder(int index)
public SubjectOrBuilder getSubjectOrBuilder(int index)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SubjectOrBuilder |
|
getSubjectOrBuilderList()
public List<? extends SubjectOrBuilder> getSubjectOrBuilderList()Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends io.grafeas.v1.SubjectOrBuilder> |
|
getType()
public String getType()Identifier for the schema of the Statement.
string type = 1 [json_name = "_type"];
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Identifier for the schema of the Statement.
string type = 1 [json_name = "_type"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
hasPredicate()
public boolean hasPredicate()Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the predicate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SbomReferenceIntotoPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SbomReferenceIntotoPayload.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
mergeFrom(SbomReferenceIntotoPayload other)
public SbomReferenceIntotoPayload.Builder mergeFrom(SbomReferenceIntotoPayload other)| Parameter | |
|---|---|
| Name | Description |
other |
SbomReferenceIntotoPayload |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
mergePredicate(SbomReferenceIntotoPredicate value)
public SbomReferenceIntotoPayload.Builder mergePredicate(SbomReferenceIntotoPredicate value)Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
SbomReferenceIntotoPredicate |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SbomReferenceIntotoPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
removeSubject(int index)
public SbomReferenceIntotoPayload.Builder removeSubject(int index)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public SbomReferenceIntotoPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setPredicate(SbomReferenceIntotoPredicate value)
public SbomReferenceIntotoPayload.Builder setPredicate(SbomReferenceIntotoPredicate value)Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
SbomReferenceIntotoPredicate |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setPredicate(SbomReferenceIntotoPredicate.Builder builderForValue)
public SbomReferenceIntotoPayload.Builder setPredicate(SbomReferenceIntotoPredicate.Builder builderForValue)Additional parameters of the Predicate. Includes the actual data about the SBOM.
.grafeas.v1.SbomReferenceIntotoPredicate predicate = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SbomReferenceIntotoPredicate.Builder |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setPredicateType(String value)
public SbomReferenceIntotoPayload.Builder setPredicateType(String value)URI identifying the type of the Predicate.
string predicate_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe predicateType to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
This builder for chaining. |
setPredicateTypeBytes(ByteString value)
public SbomReferenceIntotoPayload.Builder setPredicateTypeBytes(ByteString value)URI identifying the type of the Predicate.
string predicate_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for predicateType to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SbomReferenceIntotoPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setSubject(int index, Subject value)
public SbomReferenceIntotoPayload.Builder setSubject(int index, Subject value)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Subject |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setSubject(int index, Subject.Builder builderForValue)
public SbomReferenceIntotoPayload.Builder setSubject(int index, Subject.Builder builderForValue)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
repeated .grafeas.v1.Subject subject = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Subject.Builder |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|
setType(String value)
public SbomReferenceIntotoPayload.Builder setType(String value)Identifier for the schema of the Statement.
string type = 1 [json_name = "_type"];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public SbomReferenceIntotoPayload.Builder setTypeBytes(ByteString value)Identifier for the schema of the Statement.
string type = 1 [json_name = "_type"];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SbomReferenceIntotoPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SbomReferenceIntotoPayload.Builder |
|