Interface OccurrenceOrBuilder (2.14.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface OccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttestation()

public abstract AttestationOccurrence getAttestation()

Describes an attestation of an artifact.

.grafeas.v1.AttestationOccurrence attestation = 14;

Returns
TypeDescription
AttestationOccurrence

The attestation.

getAttestationOrBuilder()

public abstract AttestationOccurrenceOrBuilder getAttestationOrBuilder()

Describes an attestation of an artifact.

.grafeas.v1.AttestationOccurrence attestation = 14;

Returns
TypeDescription
AttestationOccurrenceOrBuilder

getBuild()

public abstract BuildOccurrence getBuild()

Describes a verifiable build.

.grafeas.v1.BuildOccurrence build = 9;

Returns
TypeDescription
BuildOccurrence

The build.

getBuildOrBuilder()

public abstract BuildOccurrenceOrBuilder getBuildOrBuilder()

Describes a verifiable build.

.grafeas.v1.BuildOccurrence build = 9;

Returns
TypeDescription
BuildOccurrenceOrBuilder

getCompliance()

public abstract ComplianceOccurrence getCompliance()

Describes a compliance violation on a linked resource.

.grafeas.v1.ComplianceOccurrence compliance = 16;

Returns
TypeDescription
ComplianceOccurrence

The compliance.

getComplianceOrBuilder()

public abstract ComplianceOccurrenceOrBuilder getComplianceOrBuilder()

Describes a compliance violation on a linked resource.

.grafeas.v1.ComplianceOccurrence compliance = 16;

Returns
TypeDescription
ComplianceOccurrenceOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time this occurrence was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time this occurrence was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getDeployment()

public abstract DeploymentOccurrence getDeployment()

Describes the deployment of an artifact on a runtime.

.grafeas.v1.DeploymentOccurrence deployment = 12;

Returns
TypeDescription
DeploymentOccurrence

The deployment.

getDeploymentOrBuilder()

public abstract DeploymentOccurrenceOrBuilder getDeploymentOrBuilder()

Describes the deployment of an artifact on a runtime.

.grafeas.v1.DeploymentOccurrence deployment = 12;

Returns
TypeDescription
DeploymentOccurrenceOrBuilder

getDetailsCase()

public abstract Occurrence.DetailsCase getDetailsCase()
Returns
TypeDescription
Occurrence.DetailsCase

getDiscovery()

public abstract DiscoveryOccurrence getDiscovery()

Describes when a resource was discovered.

.grafeas.v1.DiscoveryOccurrence discovery = 13;

Returns
TypeDescription
DiscoveryOccurrence

The discovery.

getDiscoveryOrBuilder()

public abstract DiscoveryOccurrenceOrBuilder getDiscoveryOrBuilder()

Describes when a resource was discovered.

.grafeas.v1.DiscoveryOccurrence discovery = 13;

Returns
TypeDescription
DiscoveryOccurrenceOrBuilder

getDsseAttestation()

public abstract DSSEAttestationOccurrence getDsseAttestation()

Describes an attestation of an artifact using dsse.

.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;

Returns
TypeDescription
DSSEAttestationOccurrence

The dsseAttestation.

getDsseAttestationOrBuilder()

public abstract DSSEAttestationOccurrenceOrBuilder getDsseAttestationOrBuilder()

Describes an attestation of an artifact using dsse.

.grafeas.v1.DSSEAttestationOccurrence dsse_attestation = 17;

Returns
TypeDescription
DSSEAttestationOccurrenceOrBuilder

getEnvelope()

public abstract Envelope getEnvelope()

https://github.com/secure-systems-lab/dsse

.grafeas.v1.Envelope envelope = 18;

Returns
TypeDescription
Envelope

The envelope.

getEnvelopeOrBuilder()

public abstract EnvelopeOrBuilder getEnvelopeOrBuilder()

https://github.com/secure-systems-lab/dsse

.grafeas.v1.Envelope envelope = 18;

Returns
TypeDescription
EnvelopeOrBuilder

getImage()

public abstract ImageOccurrence getImage()

Describes how this resource derives from the basis in the associated note.

.grafeas.v1.ImageOccurrence image = 10;

Returns
TypeDescription
ImageOccurrence

The image.

getImageOrBuilder()

public abstract ImageOccurrenceOrBuilder getImageOrBuilder()

Describes how this resource derives from the basis in the associated note.

.grafeas.v1.ImageOccurrence image = 10;

Returns
TypeDescription
ImageOccurrenceOrBuilder

getKind()

public abstract 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;

Returns
TypeDescription
NoteKind

The kind.

getKindValue()

public abstract 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;

Returns
TypeDescription
int

The enum numeric value on the wire for kind.

getName()

public abstract String getName()

Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNoteName()

public abstract 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;

Returns
TypeDescription
String

The noteName.

getNoteNameBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for noteName.

getPackage()

public abstract PackageOccurrence getPackage()

Describes the installation of a package on the linked resource.

.grafeas.v1.PackageOccurrence package = 11;

Returns
TypeDescription
PackageOccurrence

The package.

getPackageOrBuilder()

public abstract PackageOccurrenceOrBuilder getPackageOrBuilder()

Describes the installation of a package on the linked resource.

.grafeas.v1.PackageOccurrence package = 11;

Returns
TypeDescription
PackageOccurrenceOrBuilder

getRemediation()

public abstract String getRemediation()

A description of actions that can be taken to remedy the note.

string remediation = 5;

Returns
TypeDescription
String

The remediation.

getRemediationBytes()

public abstract ByteString getRemediationBytes()

A description of actions that can be taken to remedy the note.

string remediation = 5;

Returns
TypeDescription
ByteString

The bytes for remediation.

getResourceUri()

public abstract 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;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The time this occurrence was last updated.

.google.protobuf.Timestamp update_time = 7;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time this occurrence was last updated.

.google.protobuf.Timestamp update_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getUpgrade()

public abstract UpgradeOccurrence getUpgrade()

Describes an available package upgrade on the linked resource.

.grafeas.v1.UpgradeOccurrence upgrade = 15;

Returns
TypeDescription
UpgradeOccurrence

The upgrade.

</