- 2.74.0 (latest)
- 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
Occurrence
.
Builder
extends
GeneratedMessageV3
.
Builder<Occurrence
.
Builder
>
implements
OccurrenceOrBuilder
An instance of an analysis type that has been found on a resource.
Protobuf type grafeas.v1.Occurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Occurrence.BuilderImplements
OccurrenceOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
Occurrence
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
build()
public
Occurrence
build
()
buildPartial()
public
Occurrence
buildPartial
()
clear()
public
Occurrence
.
Builder
clear
()
clearAttestation()
public
Occurrence
.
Builder
clearAttestation
()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
clearBuild()
public
Occurrence
.
Builder
clearBuild
()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
clearCompliance()
public
Occurrence
.
Builder
clearCompliance
()
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
clearCreateTime()
public
Occurrence
.
Builder
clearCreateTime
()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
clearDeployment()
public
Occurrence
.
Builder
clearDeployment
()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
clearDetails()
public
Occurrence
.
Builder
clearDetails
()
clearDiscovery()
public
Occurrence
.
Builder
clearDiscovery
()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
clearDsseAttestation()
public
Occurrence
.
Builder
clearDsseAttestation
()
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
clearEnvelope()
public
Occurrence
.
Builder
clearEnvelope
()
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
clearField(Descriptors.FieldDescriptor field)
public
Occurrence
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
clearImage()
public
Occurrence
.
Builder
clearImage
()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
clearKind()
public
Occurrence
.
Builder
clearKind
()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
clearName()
public
Occurrence
.
Builder
clearName
()
Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
clearNoteName()
public
Occurrence
.
Builder
clearNoteName
()
Required. Immutable. The analysis note associated with this occurrence, in
the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be
used as a filter in list requests.
string note_name = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public
Occurrence
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
clearPackage()
public
Occurrence
.
Builder
clearPackage
()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
clearRemediation()
public
Occurrence
.
Builder
clearRemediation
()
A description of actions that can be taken to remedy the note.
string remediation = 5;
clearResourceUri()
public
Occurrence
.
Builder
clearResourceUri
()
Required. Immutable. A URI that represents the resource for which the
occurrence applies. For example, https://gcr.io/project/image@sha256:123abc
for a Docker image.
string resource_uri = 2;
clearSbomReference()
public
Occurrence
.
Builder
clearSbomReference
()
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
clearUpdateTime()
public
Occurrence
.
Builder
clearUpdateTime
()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
clearUpgrade()
public
Occurrence
.
Builder
clearUpgrade
()
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
clearVulnerability()
public
Occurrence
.
Builder
clearVulnerability
()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
clone()
public
Occurrence
.
Builder
clone
()
getAttestation()
public
AttestationOccurrence
getAttestation
()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
getAttestationBuilder()
public
AttestationOccurrence
.
Builder
getAttestationBuilder
()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
getAttestationOrBuilder()
public
AttestationOccurrenceOrBuilder
getAttestationOrBuilder
()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
getBuild()
public
BuildOccurrence
getBuild
()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
getBuildBuilder()
public
BuildOccurrence
.
Builder
getBuildBuilder
()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
getBuildOrBuilder()
public
BuildOccurrenceOrBuilder
getBuildOrBuilder
()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
getCompliance()
public
ComplianceOccurrence
getCompliance
()
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
getComplianceBuilder()
public
ComplianceOccurrence
.
Builder
getComplianceBuilder
()
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
getComplianceOrBuilder()
public
ComplianceOccurrenceOrBuilder
getComplianceOrBuilder
()
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
getCreateTime()
public
Timestamp
getCreateTime
()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
getCreateTimeBuilder()
public
Timestamp
.
Builder
getCreateTimeBuilder
()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
getCreateTimeOrBuilder()
public
TimestampOrBuilder
getCreateTimeOrBuilder
()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
getDefaultInstanceForType()
public
Occurrence
getDefaultInstanceForType
()
getDeployment()
public
DeploymentOccurrence
getDeployment
()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
getDeploymentBuilder()
public
DeploymentOccurrence
.
Builder
getDeploymentBuilder
()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
getDeploymentOrBuilder()
public
DeploymentOccurrenceOrBuilder
getDeploymentOrBuilder
()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getDetailsCase()
public
Occurrence
.
DetailsCase
getDetailsCase
()
getDiscovery()
public
DiscoveryOccurrence
getDiscovery
()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
getDiscoveryBuilder()
public
DiscoveryOccurrence
.
Builder
getDiscoveryBuilder
()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
getDiscoveryOrBuilder()
public
DiscoveryOccurrenceOrBuilder
getDiscoveryOrBuilder
()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
getDsseAttestation()
public
DSSEAttestationOccurrence
getDsseAttestation
()
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
getDsseAttestationBuilder()
public
DSSEAttestationOccurrence
.
Builder
getDsseAttestationBuilder
()
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
getDsseAttestationOrBuilder()
public
DSSEAttestationOccurrenceOrBuilder
getDsseAttestationOrBuilder
()
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
getEnvelope()
public
Envelope
getEnvelope
()
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
getEnvelopeBuilder()
public
Envelope
.
Builder
getEnvelopeBuilder
()
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
getEnvelopeOrBuilder()
public
EnvelopeOrBuilder
getEnvelopeOrBuilder
()
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
getImage()
public
ImageOccurrence
getImage
()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
getImageBuilder()
public
ImageOccurrence
.
Builder
getImageBuilder
()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
getImageOrBuilder()
public
ImageOccurrenceOrBuilder
getImageOrBuilder
()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
getKind()
public
NoteKind
getKind
()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
getKindValue()
public
int
getKindValue
()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
getName()
public
String
getName
()
Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
getNameBytes()
public
ByteString
getNameBytes
()
Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
getNoteName()
public
String
getNoteName
()
Required. Immutable. The analysis note associated with this occurrence, in
the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be
used as a filter in list requests.
string note_name = 3;
getNoteNameBytes()
public
ByteString
getNoteNameBytes
()
Required. Immutable. The analysis note associated with this occurrence, in
the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be
used as a filter in list requests.
string note_name = 3;
getPackage()
public
PackageOccurrence
getPackage
()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
getPackageBuilder()
public
PackageOccurrence
.
Builder
getPackageBuilder
()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
getPackageOrBuilder()
public
PackageOccurrenceOrBuilder
getPackageOrBuilder
()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
getRemediation()
public
String
getRemediation
()
A description of actions that can be taken to remedy the note.
string remediation = 5;
getRemediationBytes()
public
ByteString
getRemediationBytes
()
A description of actions that can be taken to remedy the note.
string remediation = 5;
getResourceUri()
public
String
getResourceUri
()
Required. Immutable. A URI that represents the resource for which the
occurrence applies. For example, https://gcr.io/project/image@sha256:123abc
for a Docker image.
string resource_uri = 2;
getResourceUriBytes()
public
ByteString
getResourceUriBytes
()
Required. Immutable. A URI that represents the resource for which the
occurrence applies. For example, https://gcr.io/project/image@sha256:123abc
for a Docker image.
string resource_uri = 2;
getSbomReference()
public
SBOMReferenceOccurrence
getSbomReference
()
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
getSbomReferenceBuilder()
public
SBOMReferenceOccurrence
.
Builder
getSbomReferenceBuilder
()
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
getSbomReferenceOrBuilder()
public
SBOMReferenceOccurrenceOrBuilder
getSbomReferenceOrBuilder
()
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
getUpdateTime()
public
Timestamp
getUpdateTime
()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
getUpdateTimeBuilder()
public
Timestamp
.
Builder
getUpdateTimeBuilder
()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
getUpdateTimeOrBuilder()
public
TimestampOrBuilder
getUpdateTimeOrBuilder
()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
getUpgrade()
public
UpgradeOccurrence
getUpgrade
()
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
getUpgradeBuilder()
public
UpgradeOccurrence
.
Builder
getUpgradeBuilder
()
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
getUpgradeOrBuilder()
public
UpgradeOccurrenceOrBuilder
getUpgradeOrBuilder
()
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
getVulnerability()
public
VulnerabilityOccurrence
getVulnerability
()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
getVulnerabilityBuilder()
public
VulnerabilityOccurrence
.
Builder
getVulnerabilityBuilder
()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
getVulnerabilityOrBuilder()
public
VulnerabilityOccurrenceOrBuilder
getVulnerabilityOrBuilder
()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
hasAttestation()
public
boolean
hasAttestation
()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
hasBuild()
public
boolean
hasBuild
()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
hasCompliance()
public
boolean
hasCompliance
()
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
hasCreateTime()
public
boolean
hasCreateTime
()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
hasDeployment()
public
boolean
hasDeployment
()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
hasDiscovery()
public
boolean
hasDiscovery
()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
hasDsseAttestation()
public
boolean
hasDsseAttestation
()
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
hasEnvelope()
public
boolean
hasEnvelope
()
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
hasImage()
public
boolean
hasImage
()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
hasPackage()
public
boolean
hasPackage
()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
hasSbomReference()
public
boolean
hasSbomReference
()
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
hasUpdateTime()
public
boolean
hasUpdateTime
()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
hasUpgrade()
public
boolean
hasUpgrade
()
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
hasVulnerability()
public
boolean
hasVulnerability
()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeAttestation(AttestationOccurrence value)
public
Occurrence
.
Builder
mergeAttestation
(
AttestationOccurrence
value
)
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
mergeBuild(BuildOccurrence value)
public
Occurrence
.
Builder
mergeBuild
(
BuildOccurrence
value
)
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
mergeCompliance(ComplianceOccurrence value)
public
Occurrence
.
Builder
mergeCompliance
(
ComplianceOccurrence
value
)
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
mergeCreateTime(Timestamp value)
public
Occurrence
.
Builder
mergeCreateTime
(
Timestamp
value
)
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
mergeDeployment(DeploymentOccurrence value)
public
Occurrence
.
Builder
mergeDeployment
(
DeploymentOccurrence
value
)
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
mergeDiscovery(DiscoveryOccurrence value)
public
Occurrence
.
Builder
mergeDiscovery
(
DiscoveryOccurrence
value
)
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
mergeDsseAttestation(DSSEAttestationOccurrence value)
public
Occurrence
.
Builder
mergeDsseAttestation
(
DSSEAttestationOccurrence
value
)
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
mergeEnvelope(Envelope value)
public
Occurrence
.
Builder
mergeEnvelope
(
Envelope
value
)
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Occurrence
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
Occurrence
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(Occurrence other)
public
Occurrence
.
Builder
mergeFrom
(
Occurrence
other
)
mergeImage(ImageOccurrence value)
public
Occurrence
.
Builder
mergeImage
(
ImageOccurrence
value
)
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
mergePackage(PackageOccurrence value)
public
Occurrence
.
Builder
mergePackage
(
PackageOccurrence
value
)
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
mergeSbomReference(SBOMReferenceOccurrence value)
public
Occurrence
.
Builder
mergeSbomReference
(
SBOMReferenceOccurrence
value
)
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
Occurrence
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
mergeUpdateTime(Timestamp value)
public
Occurrence
.
Builder
mergeUpdateTime
(
Timestamp
value
)
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
mergeUpgrade(UpgradeOccurrence value)
public
Occurrence
.
Builder
mergeUpgrade
(
UpgradeOccurrence
value
)
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
mergeVulnerability(VulnerabilityOccurrence value)
public
Occurrence
.
Builder
mergeVulnerability
(
VulnerabilityOccurrence
value
)
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
setAttestation(AttestationOccurrence value)
public
Occurrence
.
Builder
setAttestation
(
AttestationOccurrence
value
)
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
setAttestation(AttestationOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setAttestation
(
AttestationOccurrence
.
Builder
builderForValue
)
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
setBuild(BuildOccurrence value)
public
Occurrence
.
Builder
setBuild
(
BuildOccurrence
value
)
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
setBuild(BuildOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setBuild
(
BuildOccurrence
.
Builder
builderForValue
)
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
setCompliance(ComplianceOccurrence value)
public
Occurrence
.
Builder
setCompliance
(
ComplianceOccurrence
value
)
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
setCompliance(ComplianceOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setCompliance
(
ComplianceOccurrence
.
Builder
builderForValue
)
Describes a compliance violation on a linked resource.
.grafeas.v1.ComplianceOccurrence compliance = 16;
setCreateTime(Timestamp value)
public
Occurrence
.
Builder
setCreateTime
(
Timestamp
value
)
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
setCreateTime(Timestamp.Builder builderForValue)
public
Occurrence
.
Builder
setCreateTime
(
Timestamp
.
Builder
builderForValue
)
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
setDeployment(DeploymentOccurrence value)
public
Occurrence
.
Builder
setDeployment
(
DeploymentOccurrence
value
)
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
setDeployment(DeploymentOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setDeployment
(
DeploymentOccurrence
.
Builder
builderForValue
)
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
setDiscovery(DiscoveryOccurrence value)
public
Occurrence
.
Builder
setDiscovery
(
DiscoveryOccurrence
value
)
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
setDiscovery(DiscoveryOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setDiscovery
(
DiscoveryOccurrence
.
Builder
builderForValue
)
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
setDsseAttestation(DSSEAttestationOccurrence value)
public
Occurrence
.
Builder
setDsseAttestation
(
DSSEAttestationOccurrence
value
)
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
setDsseAttestation(DSSEAttestationOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setDsseAttestation
(
DSSEAttestationOccurrence
.
Builder
builderForValue
)
Describes an attestation of an artifact using dsse.
.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;
setEnvelope(Envelope value)
public
Occurrence
.
Builder
setEnvelope
(
Envelope
value
)
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
setEnvelope(Envelope.Builder builderForValue)
public
Occurrence
.
Builder
setEnvelope
(
Envelope
.
Builder
builderForValue
)
https://github.com/secure-systems-lab/dsse
.grafeas.v1.Envelope envelope = 18;
setField(Descriptors.FieldDescriptor field, Object value)
public
Occurrence
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
setImage(ImageOccurrence value)
public
Occurrence
.
Builder
setImage
(
ImageOccurrence
value
)
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
setImage(ImageOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setImage
(
ImageOccurrence
.
Builder
builderForValue
)
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
setKind(NoteKind value)
public
Occurrence
.
Builder
setKind
(
NoteKind
value
)
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
setKindValue(int value)
public
Occurrence
.
Builder
setKindValue
(
int
value
)
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
setName(String value)
public
Occurrence
.
Builder
setName
(
String
value
)
Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
setNameBytes(ByteString value)
public
Occurrence
.
Builder
setNameBytes
(
ByteString
value
)
Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
setNoteName(String value)
public
Occurrence
.
Builder
setNoteName
(
String
value
)
Required. Immutable. The analysis note associated with this occurrence, in
the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be
used as a filter in list requests.
string note_name = 3;
setNoteNameBytes(ByteString value)
public
Occurrence
.
Builder
setNoteNameBytes
(
ByteString
value
)
Required. Immutable. The analysis note associated with this occurrence, in
the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be
used as a filter in list requests.
string note_name = 3;
setPackage(PackageOccurrence value)
public
Occurrence
.
Builder
setPackage
(
PackageOccurrence
value
)
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
setPackage(PackageOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setPackage
(
PackageOccurrence
.
Builder
builderForValue
)
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
setRemediation(String value)
public
Occurrence
.
Builder
setRemediation
(
String
value
)
A description of actions that can be taken to remedy the note.
string remediation = 5;
setRemediationBytes(ByteString value)
public
Occurrence
.
Builder
setRemediationBytes
(
ByteString
value
)
A description of actions that can be taken to remedy the note.
string remediation = 5;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
Occurrence
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
setResourceUri(String value)
public
Occurrence
.
Builder
setResourceUri
(
String
value
)
Required. Immutable. A URI that represents the resource for which the
occurrence applies. For example, https://gcr.io/project/image@sha256:123abc
for a Docker image.
string resource_uri = 2;
setResourceUriBytes(ByteString value)
public
Occurrence
.
Builder
setResourceUriBytes
(
ByteString
value
)
Required. Immutable. A URI that represents the resource for which the
occurrence applies. For example, https://gcr.io/project/image@sha256:123abc
for a Docker image.
string resource_uri = 2;
setSbomReference(SBOMReferenceOccurrence value)
public
Occurrence
.
Builder
setSbomReference
(
SBOMReferenceOccurrence
value
)
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
setSbomReference(SBOMReferenceOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setSbomReference
(
SBOMReferenceOccurrence
.
Builder
builderForValue
)
Describes a specific SBOM reference occurrences.
.grafeas.v1.SBOMReferenceOccurrence sbom_reference = 19;
setUnknownFields(UnknownFieldSet unknownFields)
public
final
Occurrence
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)
setUpdateTime(Timestamp value)
public
Occurrence
.
Builder
setUpdateTime
(
Timestamp
value
)
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
setUpdateTime(Timestamp.Builder builderForValue)
public
Occurrence
.
Builder
setUpdateTime
(
Timestamp
.
Builder
builderForValue
)
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
setUpgrade(UpgradeOccurrence value)
public
Occurrence
.
Builder
setUpgrade
(
UpgradeOccurrence
value
)
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
setUpgrade(UpgradeOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setUpgrade
(
UpgradeOccurrence
.
Builder
builderForValue
)
Describes an available package upgrade on the linked resource.
.grafeas.v1.UpgradeOccurrence upgrade = 15;
setVulnerability(VulnerabilityOccurrence value)
public
Occurrence
.
Builder
setVulnerability
(
VulnerabilityOccurrence
value
)
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
setVulnerability(VulnerabilityOccurrence.Builder builderForValue)
public
Occurrence
.
Builder
setVulnerability
(
VulnerabilityOccurrence
.
Builder
builderForValue
)
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;