- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public
static
final
class
GrafeasGrpc
.
GrafeasStub
extends
AbstractAsyncStub<GrafeasGrpc
.
GrafeasStub
>
A stub to allow clients to do asynchronous rpc calls to service Grafeas.
Grafeas
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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > GrafeasGrpc.GrafeasStubMethods
batchCreateNotes(BatchCreateNotesRequest request, StreamObserver<BatchCreateNotesResponse> responseObserver)
public
void
batchCreateNotes
(
BatchCreateNotesRequest
request
,
StreamObserver<BatchCreateNotesResponse>
responseObserver
)
Creates new notes in batch.
request
responseObserver
io.grpc.stub.StreamObserver
< BatchCreateNotesResponse
>
batchCreateOccurrences(BatchCreateOccurrencesRequest request, StreamObserver<BatchCreateOccurrencesResponse> responseObserver)
public
void
batchCreateOccurrences
(
BatchCreateOccurrencesRequest
request
,
StreamObserver<BatchCreateOccurrencesResponse>
responseObserver
)
Creates new occurrences in batch.
request
responseObserver
io.grpc.stub.StreamObserver
< BatchCreateOccurrencesResponse
>
build(Channel channel, CallOptions callOptions)
protected
GrafeasGrpc
.
GrafeasStub
build
(
Channel
channel
,
CallOptions
callOptions
)
channel
io.grpc.Channel
callOptions
io.grpc.CallOptions
createNote(CreateNoteRequest request, StreamObserver<Note> responseObserver)
public
void
createNote
(
CreateNoteRequest
request
,
StreamObserver<Note>
responseObserver
)
Creates a new note.
createOccurrence(CreateOccurrenceRequest request, StreamObserver<Occurrence> responseObserver)
public
void
createOccurrence
(
CreateOccurrenceRequest
request
,
StreamObserver<Occurrence>
responseObserver
)
Creates a new occurrence.
deleteNote(DeleteNoteRequest request, StreamObserver<Empty> responseObserver)
public
void
deleteNote
(
DeleteNoteRequest
request
,
StreamObserver<Empty>
responseObserver
)
Deletes the specified note.
deleteOccurrence(DeleteOccurrenceRequest request, StreamObserver<Empty> responseObserver)
public
void
deleteOccurrence
(
DeleteOccurrenceRequest
request
,
StreamObserver<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.
getNote(GetNoteRequest request, StreamObserver<Note> responseObserver)
public
void
getNote
(
GetNoteRequest
request
,
StreamObserver<Note>
responseObserver
)
Gets the specified note.
getOccurrence(GetOccurrenceRequest request, StreamObserver<Occurrence> responseObserver)
public
void
getOccurrence
(
GetOccurrenceRequest
request
,
StreamObserver<Occurrence>
responseObserver
)
Gets the specified occurrence.
getOccurrenceNote(GetOccurrenceNoteRequest request, StreamObserver<Note> responseObserver)
public
void
getOccurrenceNote
(
GetOccurrenceNoteRequest
request
,
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.
listNoteOccurrences(ListNoteOccurrencesRequest request, StreamObserver<ListNoteOccurrencesResponse> responseObserver)
public
void
listNoteOccurrences
(
ListNoteOccurrencesRequest
request
,
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.
request
responseObserver
io.grpc.stub.StreamObserver
< ListNoteOccurrencesResponse
>
listNotes(ListNotesRequest request, StreamObserver<ListNotesResponse> responseObserver)
public
void
listNotes
(
ListNotesRequest
request
,
StreamObserver<ListNotesResponse>
responseObserver
)
Lists notes for the specified project.
request
responseObserver
io.grpc.stub.StreamObserver
< ListNotesResponse
>
listOccurrences(ListOccurrencesRequest request, StreamObserver<ListOccurrencesResponse> responseObserver)
public
void
listOccurrences
(
ListOccurrencesRequest
request
,
StreamObserver<ListOccurrencesResponse>
responseObserver
)
Lists occurrences for the specified project.
request
responseObserver
io.grpc.stub.StreamObserver
< ListOccurrencesResponse
>
updateNote(UpdateNoteRequest request, StreamObserver<Note> responseObserver)
public
void
updateNote
(
UpdateNoteRequest
request
,
StreamObserver<Note>
responseObserver
)
Updates the specified note.
updateOccurrence(UpdateOccurrenceRequest request, StreamObserver<Occurrence> responseObserver)
public
void
updateOccurrence
(
UpdateOccurrenceRequest
request
,
StreamObserver<Occurrence>
responseObserver
)
Updates the specified occurrence.