Class HttpJsonGrafeasV1Beta1Stub (2.52.0)

publicclass HttpJsonGrafeasV1Beta1StubextendsGrafeasV1Beta1Stub

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

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalHttpJsonGrafeasV1Beta1Stubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonGrafeasV1Beta1Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonGrafeasV1Beta1Stubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonGrafeasV1Beta1Stub
Exceptions
Type Description
IOException

create(GrafeasV1Beta1StubSettings settings)

publicstaticfinalHttpJsonGrafeasV1Beta1Stubcreate(GrafeasV1Beta1StubSettingssettings)
Parameter
Name Description
settings GrafeasV1Beta1StubSettings
Returns
Type Description
HttpJsonGrafeasV1Beta1Stub
Exceptions
Type Description
IOException

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, ClientContext clientContext)

protectedHttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettingssettings,ClientContextclientContext)

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)

protectedHttpJsonGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

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)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchCreateNotesCallable()

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

batchCreateOccurrencesCallable()

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

close()

publicfinalvoidclose()
Overrides

createNoteCallable()

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

createOccurrenceCallable()

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

deleteNoteCallable()

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

deleteOccurrenceCallable()

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

getNoteCallable()

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

getOccurrenceCallable()

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

getOccurrenceNoteCallable()

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

getVulnerabilityOccurrencesSummaryCallable()

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

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listNoteOccurrencesCallable()

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

listNoteOccurrencesPagedCallable()

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

listNotesCallable()

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

listNotesPagedCallable()

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

listOccurrencesCallable()

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

listOccurrencesPagedCallable()

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

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

updateNoteCallable()

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

updateOccurrenceCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.