Class HttpJsonTargetGrpcProxiesStub (1.33.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonTargetGrpcProxiesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTargetGrpcProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonTargetGrpcProxiesStub
Exceptions
TypeDescription
IOException

create(TargetGrpcProxiesStubSettings settings)

public static final HttpJsonTargetGrpcProxiesStub create(TargetGrpcProxiesStubSettings settings)
Parameter
NameDescription
settingsTargetGrpcProxiesStubSettings
Returns
TypeDescription
HttpJsonTargetGrpcProxiesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsTargetGrpcProxiesStubSettings
clientContextClientContext

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
NameDescription
settingsTargetGrpcProxiesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()