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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(PublicDelegatedPrefixesStubSettings settings)

public static final HttpJsonPublicDelegatedPrefixesStub create(PublicDelegatedPrefixesStubSettings settings)
Parameter
NameDescription
settingsPublicDelegatedPrefixesStubSettings
Returns
TypeDescription
HttpJsonPublicDelegatedPrefixesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

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

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

announceCallable()

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

announceOperationCallable()

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

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

withdrawCallable()

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

withdrawOperationCallable()

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