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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTargetGrpcProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TargetGrpcProxiesStubSettings settings)
public static final HttpJsonTargetGrpcProxiesStub create(TargetGrpcProxiesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteTargetGrpcProxyRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteTargetGrpcProxyRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetTargetGrpcProxyRequest,TargetGrpcProxy> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertTargetGrpcProxyRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertTargetGrpcProxyRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxyList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxiesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchTargetGrpcProxyRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchTargetGrpcProxyRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()