@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcGrafeasV1Beta1Stub extends GrafeasV1Beta1Stub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGrafeasV1Beta1Stub, using the given settings.
|
protected |
GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGrafeasV1Beta1Stub, using the given settings.
|
protected GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcGrafeasV1Beta1Stub create(GrafeasV1Beta1StubSettings settings) throws IOException
IOException
public static final GrpcGrafeasV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcGrafeasV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<GetOccurrenceRequest,Occurrence> getOccurrenceCallable()
getOccurrenceCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
listOccurrencesPagedCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
listOccurrencesCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<DeleteOccurrenceRequest,Empty> deleteOccurrenceCallable()
deleteOccurrenceCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
createOccurrenceCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
batchCreateOccurrencesCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
updateOccurrenceCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
getOccurrenceNoteCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<GetNoteRequest,Note> getNoteCallable()
getNoteCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
listNotesPagedCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
listNotesCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<DeleteNoteRequest,Empty> deleteNoteCallable()
deleteNoteCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
createNoteCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
batchCreateNotesCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
updateNoteCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
listNoteOccurrencesPagedCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
listNoteOccurrencesCallable
in class GrafeasV1Beta1Stub
public com.google.api.gax.rpc.UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
getVulnerabilityOccurrencesSummaryCallable
in class GrafeasV1Beta1Stub
public final void close()
close
in interface AutoCloseable
close
in class GrafeasV1Beta1Stub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.