public class HttpJsonTargetGrpcProxiesStub extends TargetGrpcProxiesStub
REST stub implementation for the TargetGrpcProxies service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonTargetGrpcProxiesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTargetGrpcProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(TargetGrpcProxiesStubSettings settings)
public static final HttpJsonTargetGrpcProxiesStub create(TargetGrpcProxiesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonTargetGrpcProxiesStub(TargetGrpcProxiesStubSettings settings, ClientContext clientContext)
protected HttpJsonTargetGrpcProxiesStub(TargetGrpcProxiesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTargetGrpcProxiesStub, 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.
HttpJsonTargetGrpcProxiesStub(TargetGrpcProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTargetGrpcProxiesStub(TargetGrpcProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTargetGrpcProxiesStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteTargetGrpcProxyRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteTargetGrpcProxyRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetTargetGrpcProxyRequest,TargetGrpcProxy> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertTargetGrpcProxyRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertTargetGrpcProxyRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxyList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxiesClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchTargetGrpcProxyRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchTargetGrpcProxyRequest,Operation,Operation> patchOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()