public static final class SBOMReferenceOccurrence.Builder extends GeneratedMessageV3.Builder<SBOMReferenceOccurrence.Builder> implements SBOMReferenceOccurrenceOrBuilder
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SBOMReferenceOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSignatures(int index, EnvelopeSignature value)
public SBOMReferenceOccurrence.Builder addSignatures(int index, EnvelopeSignature value)
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
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;
addSignatures(EnvelopeSignature value)
public SBOMReferenceOccurrence.Builder addSignatures(EnvelopeSignature value)
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignatures(EnvelopeSignature.Builder builderForValue)
public SBOMReferenceOccurrence.Builder addSignatures(EnvelopeSignature.Builder builderForValue)
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
addSignaturesBuilder()
public EnvelopeSignature.Builder addSignaturesBuilder()
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
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
|
build()
public SBOMReferenceOccurrence build()
buildPartial()
public SBOMReferenceOccurrence buildPartial()
clear()
public SBOMReferenceOccurrence.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SBOMReferenceOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SBOMReferenceOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public SBOMReferenceOccurrence.Builder clearPayload()
The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
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;
clearSignatures()
public SBOMReferenceOccurrence.Builder clearSignatures()
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
clone()
public SBOMReferenceOccurrence.Builder clone()
Overrides
getDefaultInstanceForType()
public SBOMReferenceOccurrence getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPayload()
public SbomReferenceIntotoPayload getPayload()
The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
getPayloadBuilder()
public SbomReferenceIntotoPayload.Builder getPayloadBuilder()
The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
getPayloadOrBuilder()
public SbomReferenceIntotoPayloadOrBuilder getPayloadOrBuilder()
The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
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
|
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
|
getSignaturesBuilderList()
public List<EnvelopeSignature.Builder> getSignaturesBuilderList()
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
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;
getSignaturesOrBuilder(int index)
public EnvelopeSignatureOrBuilder getSignaturesOrBuilder(int index)
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter |
Name |
Description |
index |
int
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public SBOMReferenceOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SBOMReferenceOccurrence.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(SBOMReferenceOccurrence other)
public SBOMReferenceOccurrence.Builder mergeFrom(SBOMReferenceOccurrence other)
mergePayload(SbomReferenceIntotoPayload value)
public SBOMReferenceOccurrence.Builder mergePayload(SbomReferenceIntotoPayload value)
The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SBOMReferenceOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public SBOMReferenceOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPayload(SbomReferenceIntotoPayload value)
public SBOMReferenceOccurrence.Builder setPayload(SbomReferenceIntotoPayload value)
The actual payload that contains the SBOM reference data.
.grafeas.v1.SbomReferenceIntotoPayload payload = 1;
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;
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 |
String
The payloadType to set.
|
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 |
ByteString
The bytes for payloadType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SBOMReferenceOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSignatures(int index, EnvelopeSignature value)
public SBOMReferenceOccurrence.Builder setSignatures(int index, EnvelopeSignature value)
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SBOMReferenceOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides