public class GrpcGrafeasV1Beta1Stub extends GrafeasV1Beta1Stub
gRPC stub implementation for Container Analysis API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcGrafeasV1Beta1Stub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcGrafeasV1Beta1Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final GrpcGrafeasV1Beta1Stub create(GrafeasV1Beta1StubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext)
protected GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcGrafeasV1Beta1Stub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGrafeasV1Beta1Stub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Parameters
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
Returns
Overrides
public UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
Returns
Overrides
public final void close()
Overrides
public UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
Returns
Overrides
public UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
Returns
Overrides
public UnaryCallable<DeleteNoteRequest,Empty> deleteNoteCallable()
Returns
Overrides
public UnaryCallable<DeleteOccurrenceRequest,Empty> deleteOccurrenceCallable()
Returns
Overrides
public UnaryCallable<GetNoteRequest,Note> getNoteCallable()
Returns
Overrides
public UnaryCallable<GetOccurrenceRequest,Occurrence> getOccurrenceCallable()
Returns
Overrides
public UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
Returns
Overrides
public UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
Returns
Overrides
listNoteOccurrencesPagedCallable()
public UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
Returns
Overrides
public UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
Returns
Overrides
listNotesPagedCallable()
public UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
Returns
Overrides
public UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
Returns
Overrides
listOccurrencesPagedCallable()
public UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
Returns
Overrides
public void shutdownNow()
public UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
Returns
Overrides
public UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
Returns
Overrides