Class HttpJsonTargetGrpcProxiesStub (1.61.0)

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.

Inheritance

java.lang.Object > TargetGrpcProxiesStub > HttpJsonTargetGrpcProxiesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonTargetGrpcProxiesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonTargetGrpcProxiesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTargetGrpcProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonTargetGrpcProxiesStub
Exceptions
Type Description
IOException

create(TargetGrpcProxiesStubSettings settings)

public static final HttpJsonTargetGrpcProxiesStub create(TargetGrpcProxiesStubSettings settings)
Parameter
Name Description
settings TargetGrpcProxiesStubSettings
Returns
Type Description
HttpJsonTargetGrpcProxiesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings TargetGrpcProxiesStubSettings
clientContext ClientContext

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
Name Description
settings TargetGrpcProxiesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteTargetGrpcProxyRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteTargetGrpcProxyRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteTargetGrpcProxyRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteTargetGrpcProxyRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetTargetGrpcProxyRequest,TargetGrpcProxy> getCallable()
Returns
Type Description
UnaryCallable<GetTargetGrpcProxyRequest,TargetGrpcProxy>
Overrides

insertCallable()

public UnaryCallable<InsertTargetGrpcProxyRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertTargetGrpcProxyRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertTargetGrpcProxyRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertTargetGrpcProxyRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxyList> listCallable()
Returns
Type Description
UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxyList>
Overrides

listPagedCallable()

public UnaryCallable<ListTargetGrpcProxiesRequest,TargetGrpcProxiesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListTargetGrpcProxiesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchTargetGrpcProxyRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchTargetGrpcProxyRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchTargetGrpcProxyRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchTargetGrpcProxyRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()