Interface OccurrenceOrBuilder (2.35.0)

public interface OccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttestation()

public abstract Details getAttestation()

Describes an attestation of an artifact.

.grafeas.v1beta1.attestation.Details attestation = 14;

Returns
TypeDescription
Details

The attestation.

getAttestationOrBuilder()

public abstract DetailsOrBuilder getAttestationOrBuilder()

Describes an attestation of an artifact.

.grafeas.v1beta1.attestation.Details attestation = 14;

Returns
TypeDescription
DetailsOrBuilder

getBuild()

public abstract Details getBuild()

Describes a verifiable build.

.grafeas.v1beta1.build.Details build = 9;

Returns
TypeDescription
Details

The build.

getBuildOrBuilder()

public abstract DetailsOrBuilder getBuildOrBuilder()

Describes a verifiable build.

.grafeas.v1beta1.build.Details build = 9;

Returns
TypeDescription
DetailsOrBuilder

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 Details getDeployment()

Describes the deployment of an artifact on a runtime.

.grafeas.v1beta1.deployment.Details deployment = 12;

Returns
TypeDescription
Details

The deployment.

getDeploymentOrBuilder()

public abstract DetailsOrBuilder getDeploymentOrBuilder()

Describes the deployment of an artifact on a runtime.

.grafeas.v1beta1.deployment.Details deployment = 12;

Returns
TypeDescription
DetailsOrBuilder

getDerivedImage()

public abstract Details getDerivedImage()

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

.grafeas.v1beta1.image.Details derived_image = 10;

Returns
TypeDescription
Details

The derivedImage.

getDerivedImageOrBuilder()

public abstract DetailsOrBuilder getDerivedImageOrBuilder()

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

.grafeas.v1beta1.image.Details derived_image = 10;

Returns
TypeDescription
DetailsOrBuilder

getDetailsCase()

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

getDiscovered()

public abstract Details getDiscovered()

Describes when a resource was discovered.

.grafeas.v1beta1.discovery.Details discovered = 13;

Returns
TypeDescription
Details

The discovered.

getDiscoveredOrBuilder()

public abstract DetailsOrBuilder getDiscoveredOrBuilder()

Describes when a resource was discovered.

.grafeas.v1beta1.discovery.Details discovered = 13;

Returns
TypeDescription
DetailsOrBuilder

getInstallation()

public abstract Details getInstallation()

Describes the installation of a package on the linked resource.

.grafeas.v1beta1.package.Details installation = 11;

Returns
TypeDescription
Details

The installation.

getInstallationOrBuilder()

public abstract DetailsOrBuilder getInstallationOrBuilder()

Describes the installation of a package on the linked resource.

.grafeas.v1beta1.package.Details installation = 11;

Returns
TypeDescription
DetailsOrBuilder

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.v1beta1.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.v1beta1.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.

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.

getResource()

public abstract Resource getResource()

Required. Immutable. The resource for which the occurrence applies.

.grafeas.v1beta1.Resource resource = 2;

Returns
TypeDescription
Resource

The resource.

getResourceOrBuilder()

public abstract ResourceOrBuilder getResourceOrBuilder()

Required. Immutable. The resource for which the occurrence applies.

.grafeas.v1beta1.Resource resource = 2;

Returns
TypeDescription
ResourceOrBuilder

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

getVulnerability()

public abstract Details getVulnerability()

Describes a security vulnerability.

.grafeas.v1beta1.vulnerability.Details vulnerability = 8;

Returns
TypeDescription
Details

The vulnerability.

getVulnerabilityOrBuilder()

public abstract DetailsOrBuilder getVulnerabilityOrBuilder()

Describes a security vulnerability.

.grafeas.v1beta1.vulnerability.Details vulnerability = 8;

Returns
TypeDescription
DetailsOrBuilder

hasAttestation()

public abstract boolean hasAttestation()

Describes an attestation of an artifact.

.grafeas.v1beta1.attestation.Details attestation = 14;

Returns
TypeDescription
boolean

Whether the attestation field is set.

hasBuild()

public abstract boolean hasBuild()

Describes a verifiable build.

.grafeas.v1beta1.build.Details build = 9;

Returns
TypeDescription
boolean

Whether the build field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time this occurrence was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDeployment()

public abstract boolean hasDeployment()

Describes the deployment of an artifact on a runtime.

.grafeas.v1beta1.deployment.Details deployment = 12;

Returns
TypeDescription
boolean

Whether the deployment field is set.

hasDerivedImage()

public abstract boolean hasDerivedImage()

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

.grafeas.v1beta1.image.Details derived_image = 10;

Returns
TypeDescription
boolean

Whether the derivedImage field is set.

hasDiscovered()

public abstract boolean hasDiscovered()

Describes when a resource was discovered.

.grafeas.v1beta1.discovery.Details discovered = 13;

Returns
TypeDescription
boolean

Whether the discovered field is set.

hasInstallation()

public abstract boolean hasInstallation()

Describes the installation of a package on the linked resource.

.grafeas.v1beta1.package.Details installation = 11;

Returns
TypeDescription
boolean

Whether the installation field is set.

hasResource()

public abstract boolean hasResource()

Required. Immutable. The resource for which the occurrence applies.

.grafeas.v1beta1.Resource resource = 2;

Returns
TypeDescription
boolean

Whether the resource field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The time this occurrence was last updated.

.google.protobuf.Timestamp update_time = 7;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasVulnerability()

public abstract boolean hasVulnerability()

Describes a security vulnerability.

.grafeas.v1beta1.vulnerability.Details vulnerability = 8;

Returns
TypeDescription
boolean

Whether the vulnerability field is set.