Class GrpcGrafeasV1Beta1Stub (2.40.0)

public class GrpcGrafeasV1Beta1Stub extends GrafeasV1Beta1Stub

gRPC stub implementation for Container Analysis 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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcGrafeasV1Beta1Stub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcGrafeasV1Beta1Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcGrafeasV1Beta1Stub
Exceptions
TypeDescription
IOException

create(GrafeasV1Beta1StubSettings settings)

public static final GrpcGrafeasV1Beta1Stub create(GrafeasV1Beta1StubSettings settings)
Parameter
NameDescription
settingsGrafeasV1Beta1StubSettings
Returns
TypeDescription
GrpcGrafeasV1Beta1Stub
Exceptions
TypeDescription
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
NameDescription
settingsGrafeasV1Beta1StubSettings
clientContextClientContext

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
NameDescription
settingsGrafeasV1Beta1StubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchCreateNotesCallable()

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

batchCreateOccurrencesCallable()

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

close()

public final void close()
Overrides

createNoteCallable()

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

createOccurrenceCallable()

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

deleteNoteCallable()

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

deleteOccurrenceCallable()

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

getNoteCallable()

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

getOccurrenceCallable()

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

getOccurrenceNoteCallable()

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

getVulnerabilityOccurrencesSummaryCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listNoteOccurrencesCallable()

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

listNoteOccurrencesPagedCallable()

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

listNotesCallable()

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

listNotesPagedCallable()

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

listOccurrencesCallable()

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

listOccurrencesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateNoteCallable()

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

updateOccurrenceCallable()

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