@BetaApi @Generated(value="by gapic-generator-java") public class GrpcFulfillmentsStub extends FulfillmentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcFulfillmentsStub(FulfillmentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcFulfillmentsStub, using the given settings.
|
protected |
GrpcFulfillmentsStub(FulfillmentsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFulfillmentsStub, using the given settings.
|
protected GrpcFulfillmentsStub(FulfillmentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcFulfillmentsStub(FulfillmentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcFulfillmentsStub create(FulfillmentsStubSettings settings) throws IOException
IOException
public static final GrpcFulfillmentsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcFulfillmentsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<GetFulfillmentRequest,Fulfillment> getFulfillmentCallable()
getFulfillmentCallable
in class FulfillmentsStub
public UnaryCallable<UpdateFulfillmentRequest,Fulfillment> updateFulfillmentCallable()
updateFulfillmentCallable
in class FulfillmentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class FulfillmentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,FulfillmentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class FulfillmentsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class FulfillmentsStub
public final void close()
close
in interface AutoCloseable
close
in class FulfillmentsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.