Interface Service.ValidateAttestationOccurrenceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Service.ValidateAttestationOccurrenceRequest, Service.ValidateAttestationOccurrenceRequest.Builder
Enclosing class:
Service

public static interface Service.ValidateAttestationOccurrenceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getAttestor

      String getAttestor()
       Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
       [occurrence][grafeas.v1.Occurrence], in the format
       `projects/*/attestors/*`.
       
      string attestor = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The attestor.
    • getAttestorBytes

      com.google.protobuf.ByteString getAttestorBytes()
       Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
       [occurrence][grafeas.v1.Occurrence], in the format
       `projects/*/attestors/*`.
       
      string attestor = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for attestor.
    • hasAttestation

      boolean hasAttestation()
       Required. An [AttestationOccurrence][grafeas.v1.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:
      Whether the attestation field is set.
    • getAttestation

      AttestationOccurrence getAttestation()
       Required. An [AttestationOccurrence][grafeas.v1.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:
      The attestation.
    • getAttestationOrBuilder

      AttestationOccurrenceOrBuilder getAttestationOrBuilder()
       Required. An [AttestationOccurrence][grafeas.v1.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];
    • getOccurrenceNote

      String getOccurrenceNote()
       Required. The resource name of the [Note][grafeas.v1.Note] to which the
       containing [Occurrence][grafeas.v1.Occurrence] is associated.
       
      string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The occurrenceNote.
    • getOccurrenceNoteBytes

      com.google.protobuf.ByteString getOccurrenceNoteBytes()
       Required. The resource name of the [Note][grafeas.v1.Note] to which the
       containing [Occurrence][grafeas.v1.Occurrence] is associated.
       
      string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for occurrenceNote.
    • getOccurrenceResourceUri

      String getOccurrenceResourceUri()
       Required. The URI of the artifact (e.g. container image) that is the
       subject of the containing [Occurrence][grafeas.v1.Occurrence].
       
      string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The occurrenceResourceUri.
    • getOccurrenceResourceUriBytes

      com.google.protobuf.ByteString getOccurrenceResourceUriBytes()
       Required. The URI of the artifact (e.g. container image) that is the
       subject of the containing [Occurrence][grafeas.v1.Occurrence].
       
      string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for occurrenceResourceUri.