Class GrpcGrafeasV1Beta1Stub (2.56.0)

public class GrpcGrafeasV1Beta1Stub extends GrafeasV1Beta1Stub

gRPC stub implementation for the GrafeasV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > GrafeasV1Beta1Stub > GrpcGrafeasV1Beta1Stub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(GrafeasV1Beta1StubSettings settings)

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

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
Name Description
settings GrafeasV1Beta1StubSettings
clientContext ClientContext

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
Name Description
settings GrafeasV1Beta1StubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

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