- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
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)
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> |
batchCreateOccurrencesCallable()
public UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> |
close()
public final void close()
createNoteCallable()
public UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateNoteRequest,Note> |
createOccurrenceCallable()
public UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateOccurrenceRequest,Occurrence> |
deleteNoteCallable()
public UnaryCallable<DeleteNoteRequest,Empty> deleteNoteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteNoteRequest,Empty> |
deleteOccurrenceCallable()
public UnaryCallable<DeleteOccurrenceRequest,Empty> deleteOccurrenceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteOccurrenceRequest,Empty> |
getNoteCallable()
public UnaryCallable<GetNoteRequest,Note> getNoteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetNoteRequest,Note> |
getOccurrenceCallable()
public UnaryCallable<GetOccurrenceRequest,Occurrence> getOccurrenceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetOccurrenceRequest,Occurrence> |
getOccurrenceNoteCallable()
public UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetOccurrenceNoteRequest,Note> |
getVulnerabilityOccurrencesSummaryCallable()
public UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> |
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> |
listNoteOccurrencesPagedCallable()
public UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesPagedResponse> |
listNotesCallable()
public UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNotesRequest,ListNotesResponse> |
listNotesPagedCallable()
public UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNotesRequest,ListNotesPagedResponse> |
listOccurrencesCallable()
public UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> |
listOccurrencesPagedCallable()
public UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListOccurrencesRequest,ListOccurrencesPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateNoteCallable()
public UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateNoteRequest,Note> |
updateOccurrenceCallable()
public UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateOccurrenceRequest,Occurrence> |