Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonGrafeasV1Beta1Stub extends GrafeasV1Beta1Stub
REST stub implementation for the GrafeasV1Beta1 service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonGrafeasV1Beta1Stub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonGrafeasV1Beta1Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonGrafeasV1Beta1Stub create(GrafeasV1Beta1StubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext)
protected HttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonGrafeasV1Beta1Stub, 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.
HttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGrafeasV1Beta1Stub, 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.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
Overrides
public UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
Overrides
public final void close()
Overrides
public UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
Overrides
public UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
Overrides
public UnaryCallable<DeleteNoteRequest,Empty> deleteNoteCallable()
Overrides
public UnaryCallable<DeleteOccurrenceRequest,Empty> deleteOccurrenceCallable()
Overrides
public UnaryCallable<GetNoteRequest,Note> getNoteCallable()
Overrides
public UnaryCallable<GetOccurrenceRequest,Occurrence> getOccurrenceCallable()
Overrides
public UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
Overrides
public UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
Overrides
listNoteOccurrencesPagedCallable()
public UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
Overrides
public UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
Overrides
listNotesPagedCallable()
public UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
Overrides
public UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
Overrides
listOccurrencesPagedCallable()
public UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
Overrides
public void shutdownNow()
public UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
Overrides
public UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
Overrides