Class HttpJsonGlobalPublicDelegatedPrefixesStub (1.22.0)

public class HttpJsonGlobalPublicDelegatedPrefixesStub extends GlobalPublicDelegatedPrefixesStub

REST stub implementation for the GlobalPublicDelegatedPrefixes service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > GlobalPublicDelegatedPrefixesStub > HttpJsonGlobalPublicDelegatedPrefixesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalPublicDelegatedPrefixesStubSettings settings)

public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(GlobalPublicDelegatedPrefixesStubSettings settings)
Parameter Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, ClientContext clientContext)

protected HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGlobalPublicDelegatedPrefixesStub, 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
settingsGlobalPublicDelegatedPrefixesStubSettings
clientContextClientContext

HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonGlobalPublicDelegatedPrefixesStub, 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
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteGlobalPublicDelegatedPrefixeRequest,Operation> deleteCallable()
Returns Overrides

deleteOperationCallable()

public OperationCallable<DeleteGlobalPublicDelegatedPrefixeRequest,Operation,Operation> deleteOperationCallable()
Returns Overrides

getCallable()

public UnaryCallable<GetGlobalPublicDelegatedPrefixeRequest,PublicDelegatedPrefix> getCallable()
Returns Overrides

insertCallable()

public UnaryCallable<InsertGlobalPublicDelegatedPrefixeRequest,Operation> insertCallable()
Returns Overrides

insertOperationCallable()

public OperationCallable<InsertGlobalPublicDelegatedPrefixeRequest,Operation,Operation> insertOperationCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListGlobalPublicDelegatedPrefixesRequest,PublicDelegatedPrefixList> listCallable()
Returns Overrides

listPagedCallable()

public UnaryCallable<ListGlobalPublicDelegatedPrefixesRequest,GlobalPublicDelegatedPrefixesClient.ListPagedResponse> listPagedCallable()
Returns Overrides

patchCallable()

public UnaryCallable<PatchGlobalPublicDelegatedPrefixeRequest,Operation> patchCallable()
Returns Overrides

patchOperationCallable()

public OperationCallable<PatchGlobalPublicDelegatedPrefixeRequest,Operation,Operation> patchOperationCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()