Class HttpJsonRegionNetworkEndpointGroupsStub (1.14.0)

public class HttpJsonRegionNetworkEndpointGroupsStub extends RegionNetworkEndpointGroupsStub

REST stub implementation for the RegionNetworkEndpointGroups service API.

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

Inheritance

java.lang.Object > RegionNetworkEndpointGroupsStub > HttpJsonRegionNetworkEndpointGroupsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionNetworkEndpointGroupsStubSettings settings)

public static final HttpJsonRegionNetworkEndpointGroupsStub create(RegionNetworkEndpointGroupsStubSettings settings)
Parameter
NameDescription
settingsRegionNetworkEndpointGroupsStubSettings
Returns
TypeDescription
HttpJsonRegionNetworkEndpointGroupsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionNetworkEndpointGroupsStub(RegionNetworkEndpointGroupsStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionNetworkEndpointGroupsStub(RegionNetworkEndpointGroupsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionNetworkEndpointGroupsStub, 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
settingsRegionNetworkEndpointGroupsStubSettings
clientContextClientContext

HttpJsonRegionNetworkEndpointGroupsStub(RegionNetworkEndpointGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionNetworkEndpointGroupsStub(RegionNetworkEndpointGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionNetworkEndpointGroupsStub, 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
settingsRegionNetworkEndpointGroupsStubSettings
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<DeleteRegionNetworkEndpointGroupRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionNetworkEndpointGroupRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetRegionNetworkEndpointGroupRequest,NetworkEndpointGroup> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionNetworkEndpointGroupRequest,NetworkEndpointGroup>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionNetworkEndpointGroupsRequest,NetworkEndpointGroupList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionNetworkEndpointGroupsRequest,NetworkEndpointGroupList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionNetworkEndpointGroupsRequest,RegionNetworkEndpointGroupsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionNetworkEndpointGroupsRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()