Interface Service.ValidateAttestationOccurrenceRequestOrBuilder (1.40.0)

publicstaticinterfaceService.ValidateAttestationOccurrenceRequestOrBuilderextendsMessageOrBuilder

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

Whether the attestation field is set.