Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonSubnetworksStub extends SubnetworksStub
REST stub implementation for the Subnetworks service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSubnetworksStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSubnetworksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SubnetworksStubSettings settings)
public static final HttpJsonSubnetworksStub create(SubnetworksStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonSubnetworksStub(SubnetworksStubSettings settings, ClientContext clientContext)
protected HttpJsonSubnetworksStub(SubnetworksStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSubnetworksStub, 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.
HttpJsonSubnetworksStub(SubnetworksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSubnetworksStub(SubnetworksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSubnetworksStub, 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.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListSubnetworksRequest,SubnetworkAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListSubnetworksRequest,SubnetworksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteSubnetworkRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteSubnetworkRequest,Operation,Operation> deleteOperationCallable()
Overrides
expandIpCidrRangeCallable()
public UnaryCallable<ExpandIpCidrRangeSubnetworkRequest,Operation> expandIpCidrRangeCallable()
Overrides
expandIpCidrRangeOperationCallable()
public OperationCallable<ExpandIpCidrRangeSubnetworkRequest,Operation,Operation> expandIpCidrRangeOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetSubnetworkRequest,Subnetwork> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicySubnetworkRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertSubnetworkRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertSubnetworkRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListSubnetworksRequest,SubnetworkList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListSubnetworksRequest,SubnetworksClient.ListPagedResponse> listPagedCallable()
Overrides
listUsableCallable()
public UnaryCallable<ListUsableSubnetworksRequest,UsableSubnetworksAggregatedList> listUsableCallable()
Overrides
listUsablePagedCallable()
public UnaryCallable<ListUsableSubnetworksRequest,SubnetworksClient.ListUsablePagedResponse> listUsablePagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchSubnetworkRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchSubnetworkRequest,Operation,Operation> patchOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicySubnetworkRequest,Policy> setIamPolicyCallable()
Overrides
setPrivateIpGoogleAccessCallable()
public UnaryCallable<SetPrivateIpGoogleAccessSubnetworkRequest,Operation> setPrivateIpGoogleAccessCallable()
Overrides
setPrivateIpGoogleAccessOperationCallable()
public OperationCallable<SetPrivateIpGoogleAccessSubnetworkRequest,Operation,Operation> setPrivateIpGoogleAccessOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsSubnetworkRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides