public final class SBOMReferenceOccurrence extends GeneratedMessageV3 implements SBOMReferenceOccurrenceOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAYLOAD_TYPE_FIELD_NUMBER
public static final int PAYLOAD_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SIGNATURES_FIELD_NUMBER
public static final int SIGNATURES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SBOMReferenceOccurrence getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SBOMReferenceOccurrence.Builder newBuilder()
newBuilder(SBOMReferenceOccurrence prototype)
public static SBOMReferenceOccurrence.Builder newBuilder(SBOMReferenceOccurrence prototype)
public static SBOMReferenceOccurrence parseDelimitedFrom(InputStream input)
public static SBOMReferenceOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SBOMReferenceOccurrence parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SBOMReferenceOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SBOMReferenceOccurrence parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SBOMReferenceOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SBOMReferenceOccurrence parseFrom(CodedInputStream input)
public static SBOMReferenceOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SBOMReferenceOccurrence parseFrom(InputStream input)
public static SBOMReferenceOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SBOMReferenceOccurrence parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SBOMReferenceOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SBOMReferenceOccurrence> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SBOMReferenceOccurrence getDefaultInstanceForType()
getParserForType()
public Parser<SBOMReferenceOccurrence> getParserForType()
Overrides
getPayload()
public SbomReferenceIntotoPayload getPayload()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSignatures(int index)
public EnvelopeSignature getSignatures(int index)
The signatures over the payload.
repeated .grafeas.v1.EnvelopeSignature signatures = 3;
Parameter |
Name |
Description |
index |
int
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SBOMReferenceOccurrence.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SBOMReferenceOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SBOMReferenceOccurrence.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides