Class HttpJsonPublicAdvertisedPrefixesStub (1.23.0)

public class HttpJsonPublicAdvertisedPrefixesStub extends PublicAdvertisedPrefixesStub

REST stub implementation for the PublicAdvertisedPrefixes service API.

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

Inheritance

java.lang.Object > PublicAdvertisedPrefixesStub > HttpJsonPublicAdvertisedPrefixesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(PublicAdvertisedPrefixesStubSettings settings)

public static final HttpJsonPublicAdvertisedPrefixesStub create(PublicAdvertisedPrefixesStubSettings settings)
Parameter
NameDescription
settingsPublicAdvertisedPrefixesStubSettings
Returns
TypeDescription
HttpJsonPublicAdvertisedPrefixesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonPublicAdvertisedPrefixesStub(PublicAdvertisedPrefixesStubSettings settings, ClientContext clientContext)

protected HttpJsonPublicAdvertisedPrefixesStub(PublicAdvertisedPrefixesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonPublicAdvertisedPrefixesStub, 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
settingsPublicAdvertisedPrefixesStubSettings
clientContextClientContext

HttpJsonPublicAdvertisedPrefixesStub(PublicAdvertisedPrefixesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonPublicAdvertisedPrefixesStub(PublicAdvertisedPrefixesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonPublicAdvertisedPrefixesStub, 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
settingsPublicAdvertisedPrefixesStubSettings
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<DeletePublicAdvertisedPrefixeRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeletePublicAdvertisedPrefixeRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetPublicAdvertisedPrefixeRequest,PublicAdvertisedPrefix> getCallable()
Returns
TypeDescription
UnaryCallable<GetPublicAdvertisedPrefixeRequest,PublicAdvertisedPrefix>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListPublicAdvertisedPrefixesRequest,PublicAdvertisedPrefixList> listCallable()
Returns
TypeDescription
UnaryCallable<ListPublicAdvertisedPrefixesRequest,PublicAdvertisedPrefixList>
Overrides

listPagedCallable()

public UnaryCallable<ListPublicAdvertisedPrefixesRequest,PublicAdvertisedPrefixesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPublicAdvertisedPrefixesRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()