Class HttpJsonPublicDelegatedPrefixesStub (1.57.0)

public class HttpJsonPublicDelegatedPrefixesStub extends PublicDelegatedPrefixesStub

REST stub implementation for the PublicDelegatedPrefixes service API.

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

Inheritance

java.lang.Object > PublicDelegatedPrefixesStub > HttpJsonPublicDelegatedPrefixesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(PublicDelegatedPrefixesStubSettings settings)

public static final HttpJsonPublicDelegatedPrefixesStub create(PublicDelegatedPrefixesStubSettings settings)
Parameter
Name Description
settings PublicDelegatedPrefixesStubSettings
Returns
Type Description
HttpJsonPublicDelegatedPrefixesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

Constructors

HttpJsonPublicDelegatedPrefixesStub(PublicDelegatedPrefixesStubSettings settings, ClientContext clientContext)

protected HttpJsonPublicDelegatedPrefixesStub(PublicDelegatedPrefixesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonPublicDelegatedPrefixesStub, 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 PublicDelegatedPrefixesStubSettings
clientContext ClientContext

HttpJsonPublicDelegatedPrefixesStub(PublicDelegatedPrefixesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonPublicDelegatedPrefixesStub(PublicDelegatedPrefixesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonPublicDelegatedPrefixesStub, 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 PublicDelegatedPrefixesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListPublicDelegatedPrefixesRequest,PublicDelegatedPrefixAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListPublicDelegatedPrefixesRequest,PublicDelegatedPrefixAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListPublicDelegatedPrefixesRequest,PublicDelegatedPrefixesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListPublicDelegatedPrefixesRequest,AggregatedListPagedResponse>
Overrides

announceCallable()

public UnaryCallable<AnnouncePublicDelegatedPrefixeRequest,Operation> announceCallable()
Returns
Type Description
UnaryCallable<AnnouncePublicDelegatedPrefixeRequest,Operation>
Overrides

announceOperationCallable()

public OperationCallable<AnnouncePublicDelegatedPrefixeRequest,Operation,Operation> announceOperationCallable()
Returns
Type Description
OperationCallable<AnnouncePublicDelegatedPrefixeRequest,Operation,Operation>
Overrides

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<DeletePublicDelegatedPrefixeRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeletePublicDelegatedPrefixeRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

public UnaryCallable<ListPublicDelegatedPrefixesRequest,PublicDelegatedPrefixesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListPublicDelegatedPrefixesRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

withdrawCallable()

public UnaryCallable<WithdrawPublicDelegatedPrefixeRequest,Operation> withdrawCallable()
Returns
Type Description
UnaryCallable<WithdrawPublicDelegatedPrefixeRequest,Operation>
Overrides

withdrawOperationCallable()

public OperationCallable<WithdrawPublicDelegatedPrefixeRequest,Operation,Operation> withdrawOperationCallable()
Returns
Type Description
OperationCallable<WithdrawPublicDelegatedPrefixeRequest,Operation,Operation>
Overrides