Package io.grafeas.v1beta1
Interface OccurrenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Occurrence,Occurrence.Builder
@Generated
public interface OccurrenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescribes an attestation of an artifact.Describes an attestation of an artifact.getBuild()Describes a verifiable build.Describes a verifiable build.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Describes the deployment of an artifact on a runtime.Describes the deployment of an artifact on a runtime.Describes how this resource derives from the basis in the associated note.Describes how this resource derives from the basis in the associated note.Describes when a resource was discovered.Describes when a resource was discovered.Describes the installation of a package on the linked resource.Describes the installation of a package on the linked resource.getKind()Output only.intOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.A description of actions that can be taken to remedy the note.com.google.protobuf.ByteStringA description of actions that can be taken to remedy the note.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Describes a security vulnerability.Describes a security vulnerability.booleanDescribes an attestation of an artifact.booleanhasBuild()Describes a verifiable build.booleanOutput only.booleanDescribes the deployment of an artifact on a runtime.booleanDescribes how this resource derives from the basis in the associated note.booleanDescribes when a resource was discovered.booleanDescribes the installation of a package on the linked resource.booleanRequired.booleanOutput only.booleanDescribes a security vulnerability.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Returns:
- The bytes for name.
-
hasResource
boolean hasResource()Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Returns:
- Whether the resource field is set.
-
getResource
Resource getResource()Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Returns:
- The resource.
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2; -
getNoteName
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:
- The noteName.
-
getNoteNameBytes
com.google.protobuf.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:
- The bytes for noteName.
-
getKindValue
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:
- The enum numeric value on the wire for kind.
-
getKind
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:
- The kind.
-
getRemediation
String getRemediation()A description of actions that can be taken to remedy the note.
string remediation = 5;- Returns:
- The remediation.
-
getRemediationBytes
com.google.protobuf.ByteString getRemediationBytes()A description of actions that can be taken to remedy the note.
string remediation = 5;- Returns:
- The bytes for remediation.
-
hasCreateTime
boolean hasCreateTime()Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7; -
hasVulnerability
boolean hasVulnerability()Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
Details getVulnerability()Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Returns:
- The vulnerability.
-
getVulnerabilityOrBuilder
DetailsOrBuilder getVulnerabilityOrBuilder()Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8; -
hasBuild
boolean hasBuild()Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Returns:
- Whether the build field is set.
-
getBuild
Details getBuild()Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Returns:
- The build.
-
getBuildOrBuilder
DetailsOrBuilder getBuildOrBuilder()Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9; -
hasDerivedImage
boolean hasDerivedImage()Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Returns:
- Whether the derivedImage field is set.
-
getDerivedImage
Details getDerivedImage()Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Returns:
- The derivedImage.
-
getDerivedImageOrBuilder
DetailsOrBuilder getDerivedImageOrBuilder()Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10; -
hasInstallation
boolean hasInstallation()Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Returns:
- Whether the installation field is set.
-
getInstallation
Details getInstallation()Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Returns:
- The installation.
-
getInstallationOrBuilder
DetailsOrBuilder getInstallationOrBuilder()Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11; -
hasDeployment
boolean hasDeployment()Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Returns:
- Whether the deployment field is set.
-
getDeployment
Details getDeployment()Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Returns:
- The deployment.
-
getDeploymentOrBuilder
DetailsOrBuilder getDeploymentOrBuilder()Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12; -
hasDiscovered
boolean hasDiscovered()Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Returns:
- Whether the discovered field is set.
-
getDiscovered
Details getDiscovered()Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Returns:
- The discovered.
-
getDiscoveredOrBuilder
DetailsOrBuilder getDiscoveredOrBuilder()Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13; -
hasAttestation
boolean hasAttestation()Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Returns:
- Whether the attestation field is set.
-
getAttestation
Details getAttestation()Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Returns:
- The attestation.
-
getAttestationOrBuilder
DetailsOrBuilder getAttestationOrBuilder()Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14; -
getDetailsCase
Occurrence.DetailsCase getDetailsCase()
-