Class HttpJsonGlobalPublicDelegatedPrefixesStub (1.64.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonGlobalPublicDelegatedPrefixesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GlobalPublicDelegatedPrefixesStubSettings settings)

public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(GlobalPublicDelegatedPrefixesStubSettings settings)
Parameter
Name Description
settings GlobalPublicDelegatedPrefixesStubSettings
Returns
Type Description
HttpJsonGlobalPublicDelegatedPrefixesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings GlobalPublicDelegatedPrefixesStubSettings
clientContext ClientContext

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
Name Description
settings GlobalPublicDelegatedPrefixesStubSettings
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<DeleteGlobalPublicDelegatedPrefixeRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteGlobalPublicDelegatedPrefixeRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()