Class HttpJsonGrafeasV1Beta1Stub (2.54.0)

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.

Inheritance

java.lang.Object > GrafeasV1Beta1Stub > HttpJsonGrafeasV1Beta1Stub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonGrafeasV1Beta1Stub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonGrafeasV1Beta1Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonGrafeasV1Beta1Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonGrafeasV1Beta1Stub
Exceptions
Type Description
IOException

create(GrafeasV1Beta1StubSettings settings)

public static final HttpJsonGrafeasV1Beta1Stub create(GrafeasV1Beta1StubSettings settings)
Parameter
Name Description
settings GrafeasV1Beta1StubSettings
Returns
Type Description
HttpJsonGrafeasV1Beta1Stub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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.

Parameters
Name Description
settings GrafeasV1Beta1StubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings GrafeasV1Beta1StubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchCreateNotesCallable()

public UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
Returns
Type Description
UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse>
Overrides

batchCreateOccurrencesCallable()

public UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
Returns
Type Description
UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse>
Overrides

close()

public final void close()
Overrides

createNoteCallable()

public UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
Returns
Type Description
UnaryCallable<CreateNoteRequest,Note>
Overrides

createOccurrenceCallable()

public UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
Returns
Type Description
UnaryCallable<CreateOccurrenceRequest,Occurrence>
Overrides

deleteNoteCallable()

public UnaryCallable<DeleteNoteRequest,Empty> deleteNoteCallable()
Returns
Type Description
UnaryCallable<DeleteNoteRequest,Empty>
Overrides

deleteOccurrenceCallable()

public UnaryCallable<DeleteOccurrenceRequest,Empty> deleteOccurrenceCallable()
Returns
Type Description
UnaryCallable<DeleteOccurrenceRequest,Empty>
Overrides

getNoteCallable()

public UnaryCallable<GetNoteRequest,Note> getNoteCallable()
Returns
Type Description
UnaryCallable<GetNoteRequest,Note>
Overrides

getOccurrenceCallable()

public UnaryCallable<GetOccurrenceRequest,Occurrence> getOccurrenceCallable()
Returns
Type Description
UnaryCallable<GetOccurrenceRequest,Occurrence>
Overrides

getOccurrenceNoteCallable()

public UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
Returns
Type Description
UnaryCallable<GetOccurrenceNoteRequest,Note>
Overrides

getVulnerabilityOccurrencesSummaryCallable()

public UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
Returns
Type Description
UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listNoteOccurrencesCallable()

public UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
Returns
Type Description
UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse>
Overrides

listNoteOccurrencesPagedCallable()

public UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
Returns
Type Description
UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesPagedResponse>
Overrides

listNotesCallable()

public UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
Returns
Type Description
UnaryCallable<ListNotesRequest,ListNotesResponse>
Overrides

listNotesPagedCallable()

public UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
Returns
Type Description
UnaryCallable<ListNotesRequest,ListNotesPagedResponse>
Overrides

listOccurrencesCallable()

public UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
Returns
Type Description
UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse>
Overrides

listOccurrencesPagedCallable()

public UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
Returns
Type Description
UnaryCallable<ListOccurrencesRequest,ListOccurrencesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateNoteCallable()

public UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
Returns
Type Description
UnaryCallable<UpdateNoteRequest,Note>
Overrides

updateOccurrenceCallable()

public UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
Returns
Type Description
UnaryCallable<UpdateOccurrenceRequest,Occurrence>
Overrides