Class HttpJsonNetworkEndpointGroupsStub (1.12.0)

public class HttpJsonNetworkEndpointGroupsStub extends NetworkEndpointGroupsStub

REST stub implementation for the NetworkEndpointGroups service API.

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

Inheritance

java.lang.Object > NetworkEndpointGroupsStub > HttpJsonNetworkEndpointGroupsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(NetworkEndpointGroupsStubSettings settings)

public static final HttpJsonNetworkEndpointGroupsStub create(NetworkEndpointGroupsStubSettings settings)
Parameter
NameDescription
settingsNetworkEndpointGroupsStubSettings
Returns
TypeDescription
HttpJsonNetworkEndpointGroupsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonNetworkEndpointGroupsStub(NetworkEndpointGroupsStubSettings settings, ClientContext clientContext)

protected HttpJsonNetworkEndpointGroupsStub(NetworkEndpointGroupsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNetworkEndpointGroupsStub, 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
settingsNetworkEndpointGroupsStubSettings
clientContextClientContext

HttpJsonNetworkEndpointGroupsStub(NetworkEndpointGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonNetworkEndpointGroupsStub(NetworkEndpointGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNetworkEndpointGroupsStub, 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
settingsNetworkEndpointGroupsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListNetworkEndpointGroupsRequest,NetworkEndpointGroupAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListNetworkEndpointGroupsRequest,NetworkEndpointGroupAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListNetworkEndpointGroupsRequest,NetworkEndpointGroupsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListNetworkEndpointGroupsRequest,AggregatedListPagedResponse>
Overrides

attachNetworkEndpointsCallable()

public UnaryCallable<AttachNetworkEndpointsNetworkEndpointGroupRequest,Operation> attachNetworkEndpointsCallable()
Returns
TypeDescription
UnaryCallable<AttachNetworkEndpointsNetworkEndpointGroupRequest,Operation>
Overrides

attachNetworkEndpointsOperationCallable()

public OperationCallable<AttachNetworkEndpointsNetworkEndpointGroupRequest,Operation,Operation> attachNetworkEndpointsOperationCallable()
Returns
TypeDescription
OperationCallable<AttachNetworkEndpointsNetworkEndpointGroupRequest,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<DeleteNetworkEndpointGroupRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteNetworkEndpointGroupRequest,Operation>
Overrides

deleteOperationCallable()

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

detachNetworkEndpointsCallable()

public UnaryCallable<DetachNetworkEndpointsNetworkEndpointGroupRequest,Operation> detachNetworkEndpointsCallable()
Returns
TypeDescription
UnaryCallable<DetachNetworkEndpointsNetworkEndpointGroupRequest,Operation>
Overrides

detachNetworkEndpointsOperationCallable()

public OperationCallable<DetachNetworkEndpointsNetworkEndpointGroupRequest,Operation,Operation> detachNetworkEndpointsOperationCallable()
Returns
TypeDescription
OperationCallable<DetachNetworkEndpointsNetworkEndpointGroupRequest,Operation,Operation>
Overrides

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listNetworkEndpointsCallable()

public UnaryCallable<ListNetworkEndpointsNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints> listNetworkEndpointsCallable()
Returns
TypeDescription
UnaryCallable<ListNetworkEndpointsNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints>
Overrides

listNetworkEndpointsPagedCallable()

public UnaryCallable<ListNetworkEndpointsNetworkEndpointGroupsRequest,NetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse> listNetworkEndpointsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNetworkEndpointsNetworkEndpointGroupsRequest,ListNetworkEndpointsPagedResponse>
Overrides

listPagedCallable()

public UnaryCallable<ListNetworkEndpointGroupsRequest,NetworkEndpointGroupsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNetworkEndpointGroupsRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsNetworkEndpointGroupRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<TestIamPermissionsNetworkEndpointGroupRequest,TestPermissionsResponse>
Overrides