Package io.grafeas.v1beta1
Class GrafeasV1Beta1Grpc.GrafeasV1Beta1ImplBase
- java.lang.Object
-
- io.grafeas.v1beta1.GrafeasV1Beta1Grpc.GrafeasV1Beta1ImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- GrafeasV1Beta1Grpc
public abstract static class GrafeasV1Beta1Grpc.GrafeasV1Beta1ImplBase extends Object implements io.grpc.BindableService
[Grafeas](grafeas.io) API. Retrieves analysis results of Cloud components such as Docker container images. Analysis results are stored as a series of occurrences. An `Occurrence` contains information about a specific analysis instance on a resource. An occurrence refers to a `Note`. A note contains details describing the analysis and is generally stored in a separate project, called a `Provider`. Multiple occurrences can refer to the same note. For example, an SSL vulnerability could affect multiple images. In this case, there would be one note for the vulnerability and an occurrence for each image with the vulnerability referring to that note.
-
-
Constructor Summary
Constructors Constructor Description GrafeasV1Beta1ImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbatchCreateNotes(BatchCreateNotesRequest request, io.grpc.stub.StreamObserver<BatchCreateNotesResponse> responseObserver)Creates new notes in batch.voidbatchCreateOccurrences(BatchCreateOccurrencesRequest request, io.grpc.stub.StreamObserver<BatchCreateOccurrencesResponse> responseObserver)Creates new occurrences in batch.io.grpc.ServerServiceDefinitionbindService()voidcreateNote(CreateNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)Creates a new note.voidcreateOccurrence(CreateOccurrenceRequest request, io.grpc.stub.StreamObserver<Occurrence> responseObserver)Creates a new occurrence.voiddeleteNote(DeleteNoteRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes the specified note.voiddeleteOccurrence(DeleteOccurrenceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes the specified occurrence.voidgetNote(GetNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)Gets the specified note.voidgetOccurrence(GetOccurrenceRequest request, io.grpc.stub.StreamObserver<Occurrence> responseObserver)Gets the specified occurrence.voidgetOccurrenceNote(GetOccurrenceNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)Gets the note attached to the specified occurrence.voidgetVulnerabilityOccurrencesSummary(GetVulnerabilityOccurrencesSummaryRequest request, io.grpc.stub.StreamObserver<VulnerabilityOccurrencesSummary> responseObserver)Gets a summary of the number and severity of occurrences.voidlistNoteOccurrences(ListNoteOccurrencesRequest request, io.grpc.stub.StreamObserver<ListNoteOccurrencesResponse> responseObserver)Lists occurrences referencing the specified note.voidlistNotes(ListNotesRequest request, io.grpc.stub.StreamObserver<ListNotesResponse> responseObserver)Lists notes for the specified project.voidlistOccurrences(ListOccurrencesRequest request, io.grpc.stub.StreamObserver<ListOccurrencesResponse> responseObserver)Lists occurrences for the specified project.voidupdateNote(UpdateNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)Updates the specified note.voidupdateOccurrence(UpdateOccurrenceRequest request, io.grpc.stub.StreamObserver<Occurrence> responseObserver)Updates the specified occurrence.
-
-
-
Method Detail
-
getOccurrence
public void getOccurrence(GetOccurrenceRequest request, io.grpc.stub.StreamObserver<Occurrence> responseObserver)
Gets the specified occurrence.
-
listOccurrences
public void listOccurrences(ListOccurrencesRequest request, io.grpc.stub.StreamObserver<ListOccurrencesResponse> responseObserver)
Lists occurrences for the specified project.
-
deleteOccurrence
public void deleteOccurrence(DeleteOccurrenceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.
-
createOccurrence
public void createOccurrence(CreateOccurrenceRequest request, io.grpc.stub.StreamObserver<Occurrence> responseObserver)
Creates a new occurrence.
-
batchCreateOccurrences
public void batchCreateOccurrences(BatchCreateOccurrencesRequest request, io.grpc.stub.StreamObserver<BatchCreateOccurrencesResponse> responseObserver)
Creates new occurrences in batch.
-
updateOccurrence
public void updateOccurrence(UpdateOccurrenceRequest request, io.grpc.stub.StreamObserver<Occurrence> responseObserver)
Updates the specified occurrence.
-
getOccurrenceNote
public void getOccurrenceNote(GetOccurrenceNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
-
getNote
public void getNote(GetNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)
Gets the specified note.
-
listNotes
public void listNotes(ListNotesRequest request, io.grpc.stub.StreamObserver<ListNotesResponse> responseObserver)
Lists notes for the specified project.
-
deleteNote
public void deleteNote(DeleteNoteRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified note.
-
createNote
public void createNote(CreateNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)
Creates a new note.
-
batchCreateNotes
public void batchCreateNotes(BatchCreateNotesRequest request, io.grpc.stub.StreamObserver<BatchCreateNotesResponse> responseObserver)
Creates new notes in batch.
-
updateNote
public void updateNote(UpdateNoteRequest request, io.grpc.stub.StreamObserver<Note> responseObserver)
Updates the specified note.
-
listNoteOccurrences
public void listNoteOccurrences(ListNoteOccurrencesRequest request, io.grpc.stub.StreamObserver<ListNoteOccurrencesResponse> responseObserver)
Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.
-
getVulnerabilityOccurrencesSummary
public void getVulnerabilityOccurrencesSummary(GetVulnerabilityOccurrencesSummaryRequest request, io.grpc.stub.StreamObserver<VulnerabilityOccurrencesSummary> responseObserver)
Gets a summary of the number and severity of occurrences.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-