Interface Service.ValidateAttestationOccurrenceRequestOrBuilder (1.59.0)

publicstaticinterface Service.ValidateAttestationOccurrenceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttestation()

publicabstractAttestationOccurrencegetAttestation()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
io.grafeas.v1.AttestationOccurrence

The attestation.

getAttestationOrBuilder()

publicabstractAttestationOccurrenceOrBuildergetAttestationOrBuilder()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
io.grafeas.v1.AttestationOccurrenceOrBuilder

getAttestor()

publicabstractStringgetAttestor()

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The attestor.

getAttestorBytes()

publicabstractByteStringgetAttestorBytes()

Required. The resource name of the Attestor of the occurrence, in the format projects/*/attestors/*.

string attestor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for attestor.

getOccurrenceNote()

publicabstractStringgetOccurrenceNote()

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The occurrenceNote.

getOccurrenceNoteBytes()

publicabstractByteStringgetOccurrenceNoteBytes()

Required. The resource name of the Note to which the containing Occurrence is associated.

string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for occurrenceNote.

getOccurrenceResourceUri()

publicabstractStringgetOccurrenceResourceUri()

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The occurrenceResourceUri.

getOccurrenceResourceUriBytes()

publicabstractByteStringgetOccurrenceResourceUriBytes()

Required. The URI of the artifact (e.g. container image) that is the subject of the containing Occurrence.

string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for occurrenceResourceUri.

hasAttestation()

publicabstractbooleanhasAttestation()

Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.

.grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the attestation field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.