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 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.
-
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:
getOccurrenceCallable
in classGrafeasV1Beta1Stub
-
listOccurrencesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,GrafeasV1Beta1Client.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
- Overrides:
listOccurrencesPagedCallable
in classGrafeasV1Beta1Stub
-
listOccurrencesCallable
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
- Overrides:
listOccurrencesCallable
in classGrafeasV1Beta1Stub
-
deleteOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteOccurrenceRequest,com.google.protobuf.Empty> deleteOccurrenceCallable()
- Overrides:
deleteOccurrenceCallable
in classGrafeasV1Beta1Stub
-
createOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
- Overrides:
createOccurrenceCallable
in classGrafeasV1Beta1Stub
-
batchCreateOccurrencesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
- Overrides:
batchCreateOccurrencesCallable
in classGrafeasV1Beta1Stub
-
updateOccurrenceCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
- Overrides:
updateOccurrenceCallable
in classGrafeasV1Beta1Stub
-
getOccurrenceNoteCallable
public com.google.api.gax.rpc.UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
- Overrides:
getOccurrenceNoteCallable
in classGrafeasV1Beta1Stub
-
getNoteCallable
public com.google.api.gax.rpc.UnaryCallable<GetNoteRequest,Note> getNoteCallable()
- Overrides:
getNoteCallable
in classGrafeasV1Beta1Stub
-
listNotesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,GrafeasV1Beta1Client.ListNotesPagedResponse> listNotesPagedCallable()
- Overrides:
listNotesPagedCallable
in classGrafeasV1Beta1Stub
-
listNotesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
- Overrides:
listNotesCallable
in classGrafeasV1Beta1Stub
-
deleteNoteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNoteRequest,com.google.protobuf.Empty> deleteNoteCallable()
- Overrides:
deleteNoteCallable
in classGrafeasV1Beta1Stub
-
createNoteCallable
public com.google.api.gax.rpc.UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
- Overrides:
createNoteCallable
in classGrafeasV1Beta1Stub
-
batchCreateNotesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
- Overrides:
batchCreateNotesCallable
in classGrafeasV1Beta1Stub
-
updateNoteCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
- Overrides:
updateNoteCallable
in classGrafeasV1Beta1Stub
-
listNoteOccurrencesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,GrafeasV1Beta1Client.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
- Overrides:
listNoteOccurrencesPagedCallable
in classGrafeasV1Beta1Stub
-
listNoteOccurrencesCallable
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
- Overrides:
listNoteOccurrencesCallable
in classGrafeasV1Beta1Stub
-
getVulnerabilityOccurrencesSummaryCallable
public com.google.api.gax.rpc.UnaryCallable<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getVulnerabilityOccurrencesSummaryCallable()
- Overrides:
getVulnerabilityOccurrencesSummaryCallable
in classGrafeasV1Beta1Stub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-