@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcGrafeasStub extends GrafeasStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcGrafeasStub(GrafeasStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGrafeasStub, using the given settings.
|
protected |
GrpcGrafeasStub(GrafeasStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGrafeasStub, using the given settings.
|
protected GrpcGrafeasStub(GrafeasStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcGrafeasStub(GrafeasStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcGrafeasStub create(GrafeasStubSettings settings) throws IOException
IOException
public static final GrpcGrafeasStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcGrafeasStub 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 GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,GrafeasClient.ListOccurrencesPagedResponse> listOccurrencesPagedCallable()
listOccurrencesPagedCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<ListOccurrencesRequest,ListOccurrencesResponse> listOccurrencesCallable()
listOccurrencesCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<DeleteOccurrenceRequest,Empty> deleteOccurrenceCallable()
deleteOccurrenceCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<CreateOccurrenceRequest,Occurrence> createOccurrenceCallable()
createOccurrenceCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<BatchCreateOccurrencesRequest,BatchCreateOccurrencesResponse> batchCreateOccurrencesCallable()
batchCreateOccurrencesCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<UpdateOccurrenceRequest,Occurrence> updateOccurrenceCallable()
updateOccurrenceCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<GetOccurrenceNoteRequest,Note> getOccurrenceNoteCallable()
getOccurrenceNoteCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<GetNoteRequest,Note> getNoteCallable()
getNoteCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,GrafeasClient.ListNotesPagedResponse> listNotesPagedCallable()
listNotesPagedCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<ListNotesRequest,ListNotesResponse> listNotesCallable()
listNotesCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<DeleteNoteRequest,Empty> deleteNoteCallable()
deleteNoteCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<CreateNoteRequest,Note> createNoteCallable()
createNoteCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<BatchCreateNotesRequest,BatchCreateNotesResponse> batchCreateNotesCallable()
batchCreateNotesCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<UpdateNoteRequest,Note> updateNoteCallable()
updateNoteCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,GrafeasClient.ListNoteOccurrencesPagedResponse> listNoteOccurrencesPagedCallable()
listNoteOccurrencesPagedCallable
in class GrafeasStub
public com.google.api.gax.rpc.UnaryCallable<ListNoteOccurrencesRequest,ListNoteOccurrencesResponse> listNoteOccurrencesCallable()
listNoteOccurrencesCallable
in class GrafeasStub
public final void close()
close
in interface AutoCloseable
close
in class GrafeasStub
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.