public interface OccurrenceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AttestationOccurrence |
getAttestation()
Describes an attestation of an artifact.
|
AttestationOccurrenceOrBuilder |
getAttestationOrBuilder()
Describes an attestation of an artifact.
|
BuildOccurrence |
getBuild()
Describes a verifiable build.
|
BuildOccurrenceOrBuilder |
getBuildOrBuilder()
Describes a verifiable build.
|
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
DeploymentOccurrence |
getDeployment()
Describes the deployment of an artifact on a runtime.
|
DeploymentOccurrenceOrBuilder |
getDeploymentOrBuilder()
Describes the deployment of an artifact on a runtime.
|
Occurrence.DetailsCase |
getDetailsCase() |
DiscoveryOccurrence |
getDiscovery()
Describes when a resource was discovered.
|
DiscoveryOccurrenceOrBuilder |
getDiscoveryOrBuilder()
Describes when a resource was discovered.
|
ImageOccurrence |
getImage()
Describes how this resource derives from the basis in the associated
note.
|
ImageOccurrenceOrBuilder |
getImageOrBuilder()
Describes how this resource derives from the basis in the associated
note.
|
NoteKind |
getKind()
Output only.
|
int |
getKindValue()
Output only.
|
String |
getName()
Output only.
|
ByteString |
getNameBytes()
Output only.
|
String |
getNoteName()
Required.
|
ByteString |
getNoteNameBytes()
Required.
|
PackageOccurrence |
getPackage()
Describes the installation of a package on the linked resource.
|
PackageOccurrenceOrBuilder |
getPackageOrBuilder()
Describes the installation of a package on the linked resource.
|
String |
getRemediation()
A description of actions that can be taken to remedy the note.
|
ByteString |
getRemediationBytes()
A description of actions that can be taken to remedy the note.
|
String |
getResourceUri()
Required.
|
ByteString |
getResourceUriBytes()
Required.
|
Timestamp |
getUpdateTime()
Output only.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VulnerabilityOccurrence |
getVulnerability()
Describes a security vulnerability.
|
VulnerabilityOccurrenceOrBuilder |
getVulnerabilityOrBuilder()
Describes a security vulnerability.
|
boolean |
hasAttestation()
Describes an attestation of an artifact.
|
boolean |
hasBuild()
Describes a verifiable build.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeployment()
Describes the deployment of an artifact on a runtime.
|
boolean |
hasDiscovery()
Describes when a resource was discovered.
|
boolean |
hasImage()
Describes how this resource derives from the basis in the associated
note.
|
boolean |
hasPackage()
Describes the installation of a package on the linked resource.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVulnerability()
Describes a security vulnerability.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;
ByteString getNameBytes()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;
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;
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;
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;
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;
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;
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;
String getRemediation()
A description of actions that can be taken to remedy the note.
string remediation = 5;
ByteString getRemediationBytes()
A description of actions that can be taken to remedy the note.
string remediation = 5;
boolean hasCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
Timestamp getCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
boolean hasUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
Timestamp getUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
boolean hasVulnerability()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
VulnerabilityOccurrence getVulnerability()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
VulnerabilityOccurrenceOrBuilder getVulnerabilityOrBuilder()
Describes a security vulnerability.
.grafeas.v1.VulnerabilityOccurrence vulnerability = 8;
boolean hasBuild()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
BuildOccurrence getBuild()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
BuildOccurrenceOrBuilder getBuildOrBuilder()
Describes a verifiable build.
.grafeas.v1.BuildOccurrence build = 9;
boolean hasImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
ImageOccurrence getImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
ImageOccurrenceOrBuilder getImageOrBuilder()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1.ImageOccurrence image = 10;
boolean hasPackage()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
PackageOccurrence getPackage()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
PackageOccurrenceOrBuilder getPackageOrBuilder()
Describes the installation of a package on the linked resource.
.grafeas.v1.PackageOccurrence package = 11;
boolean hasDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
DeploymentOccurrence getDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
DeploymentOccurrenceOrBuilder getDeploymentOrBuilder()
Describes the deployment of an artifact on a runtime.
.grafeas.v1.DeploymentOccurrence deployment = 12;
boolean hasDiscovery()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
DiscoveryOccurrence getDiscovery()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
DiscoveryOccurrenceOrBuilder getDiscoveryOrBuilder()
Describes when a resource was discovered.
.grafeas.v1.DiscoveryOccurrence discovery = 13;
boolean hasAttestation()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
AttestationOccurrence getAttestation()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
AttestationOccurrenceOrBuilder getAttestationOrBuilder()
Describes an attestation of an artifact.
.grafeas.v1.AttestationOccurrence attestation = 14;
Occurrence.DetailsCase getDetailsCase()
Copyright © 2019 Google LLC. All rights reserved.