Class HttpJsonDepServiceStub
java.lang.Object
com.google.cloud.networkservices.v1.stub.DepServiceStub
com.google.cloud.networkservices.v1.stub.HttpJsonDepServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
REST stub implementation for the DepService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonDepServiceStub, using the given settings.protectedHttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonDepServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonDepServiceStubcreate(ClientContext clientContext) static final HttpJsonDepServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonDepServiceStubcreate(DepServiceStubSettings settings) OperationCallable<DeleteAuthzExtensionRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteLbEdgeExtensionRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteLbRouteExtensionRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteLbTrafficExtensionRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.networkservices.v1.stub.DepServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonDepServiceStub
protected HttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonDepServiceStub, 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.- Throws:
IOException
-
HttpJsonDepServiceStub
protected HttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonDepServiceStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonDepServiceStub create(DepServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonDepServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classDepServiceStub
-
listLbTrafficExtensionsCallable
public UnaryCallable<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse> listLbTrafficExtensionsCallable()- Overrides:
listLbTrafficExtensionsCallablein classDepServiceStub
-
listLbTrafficExtensionsPagedCallable
public UnaryCallable<ListLbTrafficExtensionsRequest,DepServiceClient.ListLbTrafficExtensionsPagedResponse> listLbTrafficExtensionsPagedCallable()- Overrides:
listLbTrafficExtensionsPagedCallablein classDepServiceStub
-
getLbTrafficExtensionCallable
public UnaryCallable<GetLbTrafficExtensionRequest,LbTrafficExtension> getLbTrafficExtensionCallable()- Overrides:
getLbTrafficExtensionCallablein classDepServiceStub
-
createLbTrafficExtensionCallable
- Overrides:
createLbTrafficExtensionCallablein classDepServiceStub
-
createLbTrafficExtensionOperationCallable
public OperationCallable<CreateLbTrafficExtensionRequest,LbTrafficExtension, createLbTrafficExtensionOperationCallable()OperationMetadata> - Overrides:
createLbTrafficExtensionOperationCallablein classDepServiceStub
-
updateLbTrafficExtensionCallable
- Overrides:
updateLbTrafficExtensionCallablein classDepServiceStub
-
updateLbTrafficExtensionOperationCallable
public OperationCallable<UpdateLbTrafficExtensionRequest,LbTrafficExtension, updateLbTrafficExtensionOperationCallable()OperationMetadata> - Overrides:
updateLbTrafficExtensionOperationCallablein classDepServiceStub
-
deleteLbTrafficExtensionCallable
- Overrides:
deleteLbTrafficExtensionCallablein classDepServiceStub
-
deleteLbTrafficExtensionOperationCallable
public OperationCallable<DeleteLbTrafficExtensionRequest,com.google.protobuf.Empty, deleteLbTrafficExtensionOperationCallable()OperationMetadata> - Overrides:
deleteLbTrafficExtensionOperationCallablein classDepServiceStub
-
listLbRouteExtensionsCallable
public UnaryCallable<ListLbRouteExtensionsRequest,ListLbRouteExtensionsResponse> listLbRouteExtensionsCallable()- Overrides:
listLbRouteExtensionsCallablein classDepServiceStub
-
listLbRouteExtensionsPagedCallable
public UnaryCallable<ListLbRouteExtensionsRequest,DepServiceClient.ListLbRouteExtensionsPagedResponse> listLbRouteExtensionsPagedCallable()- Overrides:
listLbRouteExtensionsPagedCallablein classDepServiceStub
-
getLbRouteExtensionCallable
- Overrides:
getLbRouteExtensionCallablein classDepServiceStub
-
createLbRouteExtensionCallable
- Overrides:
createLbRouteExtensionCallablein classDepServiceStub
-
createLbRouteExtensionOperationCallable
public OperationCallable<CreateLbRouteExtensionRequest,LbRouteExtension, createLbRouteExtensionOperationCallable()OperationMetadata> - Overrides:
createLbRouteExtensionOperationCallablein classDepServiceStub
-
updateLbRouteExtensionCallable
- Overrides:
updateLbRouteExtensionCallablein classDepServiceStub
-
updateLbRouteExtensionOperationCallable
public OperationCallable<UpdateLbRouteExtensionRequest,LbRouteExtension, updateLbRouteExtensionOperationCallable()OperationMetadata> - Overrides:
updateLbRouteExtensionOperationCallablein classDepServiceStub
-
deleteLbRouteExtensionCallable
- Overrides:
deleteLbRouteExtensionCallablein classDepServiceStub
-
deleteLbRouteExtensionOperationCallable
public OperationCallable<DeleteLbRouteExtensionRequest,com.google.protobuf.Empty, deleteLbRouteExtensionOperationCallable()OperationMetadata> - Overrides:
deleteLbRouteExtensionOperationCallablein classDepServiceStub
-
listLbEdgeExtensionsCallable
public UnaryCallable<ListLbEdgeExtensionsRequest,ListLbEdgeExtensionsResponse> listLbEdgeExtensionsCallable()- Overrides:
listLbEdgeExtensionsCallablein classDepServiceStub
-
listLbEdgeExtensionsPagedCallable
public UnaryCallable<ListLbEdgeExtensionsRequest,DepServiceClient.ListLbEdgeExtensionsPagedResponse> listLbEdgeExtensionsPagedCallable()- Overrides:
listLbEdgeExtensionsPagedCallablein classDepServiceStub
-
getLbEdgeExtensionCallable
- Overrides:
getLbEdgeExtensionCallablein classDepServiceStub
-
createLbEdgeExtensionCallable
- Overrides:
createLbEdgeExtensionCallablein classDepServiceStub
-
createLbEdgeExtensionOperationCallable
public OperationCallable<CreateLbEdgeExtensionRequest,LbEdgeExtension, createLbEdgeExtensionOperationCallable()OperationMetadata> - Overrides:
createLbEdgeExtensionOperationCallablein classDepServiceStub
-
updateLbEdgeExtensionCallable
- Overrides:
updateLbEdgeExtensionCallablein classDepServiceStub
-
updateLbEdgeExtensionOperationCallable
public OperationCallable<UpdateLbEdgeExtensionRequest,LbEdgeExtension, updateLbEdgeExtensionOperationCallable()OperationMetadata> - Overrides:
updateLbEdgeExtensionOperationCallablein classDepServiceStub
-
deleteLbEdgeExtensionCallable
- Overrides:
deleteLbEdgeExtensionCallablein classDepServiceStub
-
deleteLbEdgeExtensionOperationCallable
public OperationCallable<DeleteLbEdgeExtensionRequest,com.google.protobuf.Empty, deleteLbEdgeExtensionOperationCallable()OperationMetadata> - Overrides:
deleteLbEdgeExtensionOperationCallablein classDepServiceStub
-
listAuthzExtensionsCallable
public UnaryCallable<ListAuthzExtensionsRequest,ListAuthzExtensionsResponse> listAuthzExtensionsCallable()- Overrides:
listAuthzExtensionsCallablein classDepServiceStub
-
listAuthzExtensionsPagedCallable
public UnaryCallable<ListAuthzExtensionsRequest,DepServiceClient.ListAuthzExtensionsPagedResponse> listAuthzExtensionsPagedCallable()- Overrides:
listAuthzExtensionsPagedCallablein classDepServiceStub
-
getAuthzExtensionCallable
- Overrides:
getAuthzExtensionCallablein classDepServiceStub
-
createAuthzExtensionCallable
- Overrides:
createAuthzExtensionCallablein classDepServiceStub
-
createAuthzExtensionOperationCallable
public OperationCallable<CreateAuthzExtensionRequest,AuthzExtension, createAuthzExtensionOperationCallable()OperationMetadata> - Overrides:
createAuthzExtensionOperationCallablein classDepServiceStub
-
updateAuthzExtensionCallable
- Overrides:
updateAuthzExtensionCallablein classDepServiceStub
-
updateAuthzExtensionOperationCallable
public OperationCallable<UpdateAuthzExtensionRequest,AuthzExtension, updateAuthzExtensionOperationCallable()OperationMetadata> - Overrides:
updateAuthzExtensionOperationCallablein classDepServiceStub
-
deleteAuthzExtensionCallable
- Overrides:
deleteAuthzExtensionCallablein classDepServiceStub
-
deleteAuthzExtensionOperationCallable
public OperationCallable<DeleteAuthzExtensionRequest,com.google.protobuf.Empty, deleteAuthzExtensionOperationCallable()OperationMetadata> - Overrides:
deleteAuthzExtensionOperationCallablein classDepServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classDepServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,DepServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classDepServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classDepServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classDepServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classDepServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classDepServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classDepServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-