Class HttpJsonGlobalPublicDelegatedPrefixesStub (1.28.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
TypeDescription
HttpJsonGlobalPublicDelegatedPrefixesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalPublicDelegatedPrefixesStubSettings settings)

public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(GlobalPublicDelegatedPrefixesStubSettings settings)
Parameter
NameDescription
settingsGlobalPublicDelegatedPrefixesStubSettings
Returns
TypeDescription
HttpJsonGlobalPublicDelegatedPrefixesStub
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
NameDescription
settingsGlobalPublicDelegatedPrefixesStubSettings
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<DeleteGlobalPublicDelegatedPrefixeRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteGlobalPublicDelegatedPrefixeRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()