Interface Service.ValidateAttestationOccurrenceRequestOrBuilder (1.10.0)

public static interface Service.ValidateAttestationOccurrenceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttestation()

public abstract AttestationOccurrence getAttestation()

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
TypeDescription
io.grafeas.v1.AttestationOccurrence

The attestation.

getAttestationOrBuilder()

public abstract AttestationOccurrenceOrBuilder getAttestationOrBuilder()

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
TypeDescription
io.grafeas.v1.AttestationOccurrenceOrBuilder

getAttestor()

public abstract String getAttestor()

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

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

Returns
TypeDescription
String

The attestor.

getAttestorBytes()

public abstract ByteString getAttestorBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for attestor.

getOccurrenceNote()

public abstract String getOccurrenceNote()

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

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

Returns
TypeDescription
String

The occurrenceNote.

getOccurrenceNoteBytes()

public abstract ByteString getOccurrenceNoteBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for occurrenceNote.

getOccurrenceResourceUri()

public abstract String getOccurrenceResourceUri()

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
TypeDescription
String

The occurrenceResourceUri.

getOccurrenceResourceUriBytes()

public abstract ByteString getOccurrenceResourceUriBytes()

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
TypeDescription
ByteString

The bytes for occurrenceResourceUri.

hasAttestation()

public abstract boolean hasAttestation()

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
TypeDescription
boolean

Whether the attestation field is set.