Class GrpcGrafeasV1Beta1Stub
- java.lang.Object
-
- com.google.cloud.devtools.containeranalysis.v1beta1.stub.GrafeasV1Beta1Stub
-
- com.google.cloud.devtools.containeranalysis.v1beta1.stub.GrpcGrafeasV1Beta1Stub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator") @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public class GrpcGrafeasV1Beta1Stub extends GrafeasV1Beta1Stub
gRPC stub implementation for Container Analysis API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcGrafeasV1Beta1Stub, using the given settings.protectedGrpcGrafeasV1Beta1Stub(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.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcGrafeasV1Beta1Stub
protected GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcGrafeasV1Beta1Stub
protected GrpcGrafeasV1Beta1Stub(GrafeasV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcGrafeasV1Beta1Stub create(GrafeasV1Beta1StubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcGrafeasV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcGrafeasV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<GetOccurrenceRequest,Occurrence> getOccurrenceCallable()
- Overrides:
getOccurrenceCallablein classGrafeasV1Beta1Stub
-
listOccurrencesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
- Overrides:
listOccurrencesPagedCallablein classGrafeasV1Beta1Stub
-
listOccurrencesCallable
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
- Overrides:
listOccurrencesCallablein classGrafeasV1Beta1Stub
-
deleteOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteOccurrenceRequest,com.google.protobuf.Empty> deleteOccurrenceCallable()
- Overrides:
deleteOccurrenceCallablein classGrafeasV1Beta1Stub
-
createOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
- Overrides:
createOccurrenceCallablein classGrafeasV1Beta1Stub
-
batchCreateOccurrencesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
- Overrides:
batchCreateOccurrencesCallablein classGrafeasV1Beta1Stub
-
updateOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
- Overrides:
updateOccurrenceCallablein classGrafeasV1Beta1Stub
-
getOccurrenceNoteCallable
public com.google.api.gax.rpc.UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
- Overrides:
getOccurrenceNoteCallablein classGrafeasV1Beta1Stub
-
getNoteCallable
public com.google.api.gax.rpc.UnaryCallable<GetNoteRequest,Note> getNoteCallable()
- Overrides:
getNoteCallablein classGrafeasV1Beta1Stub
-
listNotesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
- Overrides:
listNotesPagedCallablein classGrafeasV1Beta1Stub
-
listNotesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
- Overrides:
listNotesCallablein classGrafeasV1Beta1Stub
-
deleteNoteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNoteRequest,com.google.protobuf.Empty> deleteNoteCallable()
- Overrides:
deleteNoteCallablein classGrafeasV1Beta1Stub
-
createNoteCallable
public com.google.api.gax.rpc.UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
- Overrides:
createNoteCallablein classGrafeasV1Beta1Stub
-
batchCreateNotesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
- Overrides:
batchCreateNotesCallablein classGrafeasV1Beta1Stub
-
updateNoteCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
- Overrides:
updateNoteCallablein classGrafeasV1Beta1Stub
-
listNoteOccurrencesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
- Overrides:
listNoteOccurrencesPagedCallablein classGrafeasV1Beta1Stub
-
listNoteOccurrencesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
- Overrides:
listNoteOccurrencesCallablein classGrafeasV1Beta1Stub
-
getVulnerabilityOccurrencesSummaryCallable
public com.google.api.gax.rpc.UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
- Overrides:
getVulnerabilityOccurrencesSummaryCallablein classGrafeasV1Beta1Stub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGrafeasV1Beta1Stub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-