Class GrpcInterceptStub
java.lang.Object
com.google.cloud.networksecurity.v1.stub.InterceptStub
com.google.cloud.networksecurity.v1.stub.GrpcInterceptStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the Intercept service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcInterceptStub, using the given settings.protectedGrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcInterceptStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcInterceptStubcreate(ClientContext clientContext) static final GrpcInterceptStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcInterceptStubcreate(InterceptStubSettings settings) OperationCallable<CreateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation, OperationMetadata> OperationCallable<DeleteInterceptDeploymentGroupRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteInterceptDeploymentRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteInterceptEndpointGroupAssociationRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteInterceptEndpointGroupRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListInterceptDeploymentGroupsRequest,InterceptClient.ListInterceptDeploymentGroupsPagedResponse> UnaryCallable<ListInterceptDeploymentsRequest,InterceptClient.ListInterceptDeploymentsPagedResponse> UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsResponse> UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,InterceptClient.ListInterceptEndpointGroupAssociationsPagedResponse> UnaryCallable<ListInterceptEndpointGroupsRequest,InterceptClient.ListInterceptEndpointGroupsPagedResponse> voidshutdown()voidOperationCallable<UpdateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation, OperationMetadata>
-
Constructor Details
-
GrpcInterceptStub
protected GrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcInterceptStub, 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
-
GrpcInterceptStub
protected GrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcInterceptStub, 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
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcInterceptStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classInterceptStub
-
listInterceptEndpointGroupsCallable
public UnaryCallable<ListInterceptEndpointGroupsRequest,ListInterceptEndpointGroupsResponse> listInterceptEndpointGroupsCallable()- Overrides:
listInterceptEndpointGroupsCallablein classInterceptStub
-
listInterceptEndpointGroupsPagedCallable
public UnaryCallable<ListInterceptEndpointGroupsRequest,InterceptClient.ListInterceptEndpointGroupsPagedResponse> listInterceptEndpointGroupsPagedCallable()- Overrides:
listInterceptEndpointGroupsPagedCallablein classInterceptStub
-
getInterceptEndpointGroupCallable
public UnaryCallable<GetInterceptEndpointGroupRequest,InterceptEndpointGroup> getInterceptEndpointGroupCallable()- Overrides:
getInterceptEndpointGroupCallablein classInterceptStub
-
createInterceptEndpointGroupCallable
public UnaryCallable<CreateInterceptEndpointGroupRequest,Operation> createInterceptEndpointGroupCallable()- Overrides:
createInterceptEndpointGroupCallablein classInterceptStub
-
createInterceptEndpointGroupOperationCallable
public OperationCallable<CreateInterceptEndpointGroupRequest,InterceptEndpointGroup, createInterceptEndpointGroupOperationCallable()OperationMetadata> - Overrides:
createInterceptEndpointGroupOperationCallablein classInterceptStub
-
updateInterceptEndpointGroupCallable
public UnaryCallable<UpdateInterceptEndpointGroupRequest,Operation> updateInterceptEndpointGroupCallable()- Overrides:
updateInterceptEndpointGroupCallablein classInterceptStub
-
updateInterceptEndpointGroupOperationCallable
public OperationCallable<UpdateInterceptEndpointGroupRequest,InterceptEndpointGroup, updateInterceptEndpointGroupOperationCallable()OperationMetadata> - Overrides:
updateInterceptEndpointGroupOperationCallablein classInterceptStub
-
deleteInterceptEndpointGroupCallable
public UnaryCallable<DeleteInterceptEndpointGroupRequest,Operation> deleteInterceptEndpointGroupCallable()- Overrides:
deleteInterceptEndpointGroupCallablein classInterceptStub
-
deleteInterceptEndpointGroupOperationCallable
public OperationCallable<DeleteInterceptEndpointGroupRequest,com.google.protobuf.Empty, deleteInterceptEndpointGroupOperationCallable()OperationMetadata> - Overrides:
deleteInterceptEndpointGroupOperationCallablein classInterceptStub
-
listInterceptEndpointGroupAssociationsCallable
public UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsResponse> listInterceptEndpointGroupAssociationsCallable()- Overrides:
listInterceptEndpointGroupAssociationsCallablein classInterceptStub
-
listInterceptEndpointGroupAssociationsPagedCallable
public UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,InterceptClient.ListInterceptEndpointGroupAssociationsPagedResponse> listInterceptEndpointGroupAssociationsPagedCallable()- Overrides:
listInterceptEndpointGroupAssociationsPagedCallablein classInterceptStub
-
getInterceptEndpointGroupAssociationCallable
public UnaryCallable<GetInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation> getInterceptEndpointGroupAssociationCallable()- Overrides:
getInterceptEndpointGroupAssociationCallablein classInterceptStub
-
createInterceptEndpointGroupAssociationCallable
public UnaryCallable<CreateInterceptEndpointGroupAssociationRequest,Operation> createInterceptEndpointGroupAssociationCallable()- Overrides:
createInterceptEndpointGroupAssociationCallablein classInterceptStub
-
createInterceptEndpointGroupAssociationOperationCallable
public OperationCallable<CreateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation, createInterceptEndpointGroupAssociationOperationCallable()OperationMetadata> - Overrides:
createInterceptEndpointGroupAssociationOperationCallablein classInterceptStub
-
updateInterceptEndpointGroupAssociationCallable
public UnaryCallable<UpdateInterceptEndpointGroupAssociationRequest,Operation> updateInterceptEndpointGroupAssociationCallable()- Overrides:
updateInterceptEndpointGroupAssociationCallablein classInterceptStub
-
updateInterceptEndpointGroupAssociationOperationCallable
public OperationCallable<UpdateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation, updateInterceptEndpointGroupAssociationOperationCallable()OperationMetadata> - Overrides:
updateInterceptEndpointGroupAssociationOperationCallablein classInterceptStub
-
deleteInterceptEndpointGroupAssociationCallable
public UnaryCallable<DeleteInterceptEndpointGroupAssociationRequest,Operation> deleteInterceptEndpointGroupAssociationCallable()- Overrides:
deleteInterceptEndpointGroupAssociationCallablein classInterceptStub
-
deleteInterceptEndpointGroupAssociationOperationCallable
public OperationCallable<DeleteInterceptEndpointGroupAssociationRequest,com.google.protobuf.Empty, deleteInterceptEndpointGroupAssociationOperationCallable()OperationMetadata> - Overrides:
deleteInterceptEndpointGroupAssociationOperationCallablein classInterceptStub
-
listInterceptDeploymentGroupsCallable
public UnaryCallable<ListInterceptDeploymentGroupsRequest,ListInterceptDeploymentGroupsResponse> listInterceptDeploymentGroupsCallable()- Overrides:
listInterceptDeploymentGroupsCallablein classInterceptStub
-
listInterceptDeploymentGroupsPagedCallable
public UnaryCallable<ListInterceptDeploymentGroupsRequest,InterceptClient.ListInterceptDeploymentGroupsPagedResponse> listInterceptDeploymentGroupsPagedCallable()- Overrides:
listInterceptDeploymentGroupsPagedCallablein classInterceptStub
-
getInterceptDeploymentGroupCallable
public UnaryCallable<GetInterceptDeploymentGroupRequest,InterceptDeploymentGroup> getInterceptDeploymentGroupCallable()- Overrides:
getInterceptDeploymentGroupCallablein classInterceptStub
-
createInterceptDeploymentGroupCallable
public UnaryCallable<CreateInterceptDeploymentGroupRequest,Operation> createInterceptDeploymentGroupCallable()- Overrides:
createInterceptDeploymentGroupCallablein classInterceptStub
-
createInterceptDeploymentGroupOperationCallable
public OperationCallable<CreateInterceptDeploymentGroupRequest,InterceptDeploymentGroup, createInterceptDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
createInterceptDeploymentGroupOperationCallablein classInterceptStub
-
updateInterceptDeploymentGroupCallable
public UnaryCallable<UpdateInterceptDeploymentGroupRequest,Operation> updateInterceptDeploymentGroupCallable()- Overrides:
updateInterceptDeploymentGroupCallablein classInterceptStub
-
updateInterceptDeploymentGroupOperationCallable
public OperationCallable<UpdateInterceptDeploymentGroupRequest,InterceptDeploymentGroup, updateInterceptDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
updateInterceptDeploymentGroupOperationCallablein classInterceptStub
-
deleteInterceptDeploymentGroupCallable
public UnaryCallable<DeleteInterceptDeploymentGroupRequest,Operation> deleteInterceptDeploymentGroupCallable()- Overrides:
deleteInterceptDeploymentGroupCallablein classInterceptStub
-
deleteInterceptDeploymentGroupOperationCallable
public OperationCallable<DeleteInterceptDeploymentGroupRequest,com.google.protobuf.Empty, deleteInterceptDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
deleteInterceptDeploymentGroupOperationCallablein classInterceptStub
-
listInterceptDeploymentsCallable
public UnaryCallable<ListInterceptDeploymentsRequest,ListInterceptDeploymentsResponse> listInterceptDeploymentsCallable()- Overrides:
listInterceptDeploymentsCallablein classInterceptStub
-
listInterceptDeploymentsPagedCallable
public UnaryCallable<ListInterceptDeploymentsRequest,InterceptClient.ListInterceptDeploymentsPagedResponse> listInterceptDeploymentsPagedCallable()- Overrides:
listInterceptDeploymentsPagedCallablein classInterceptStub
-
getInterceptDeploymentCallable
public UnaryCallable<GetInterceptDeploymentRequest,InterceptDeployment> getInterceptDeploymentCallable()- Overrides:
getInterceptDeploymentCallablein classInterceptStub
-
createInterceptDeploymentCallable
public UnaryCallable<CreateInterceptDeploymentRequest,Operation> createInterceptDeploymentCallable()- Overrides:
createInterceptDeploymentCallablein classInterceptStub
-
createInterceptDeploymentOperationCallable
public OperationCallable<CreateInterceptDeploymentRequest,InterceptDeployment, createInterceptDeploymentOperationCallable()OperationMetadata> - Overrides:
createInterceptDeploymentOperationCallablein classInterceptStub
-
updateInterceptDeploymentCallable
public UnaryCallable<UpdateInterceptDeploymentRequest,Operation> updateInterceptDeploymentCallable()- Overrides:
updateInterceptDeploymentCallablein classInterceptStub
-
updateInterceptDeploymentOperationCallable
public OperationCallable<UpdateInterceptDeploymentRequest,InterceptDeployment, updateInterceptDeploymentOperationCallable()OperationMetadata> - Overrides:
updateInterceptDeploymentOperationCallablein classInterceptStub
-
deleteInterceptDeploymentCallable
public UnaryCallable<DeleteInterceptDeploymentRequest,Operation> deleteInterceptDeploymentCallable()- Overrides:
deleteInterceptDeploymentCallablein classInterceptStub
-
deleteInterceptDeploymentOperationCallable
public OperationCallable<DeleteInterceptDeploymentRequest,com.google.protobuf.Empty, deleteInterceptDeploymentOperationCallable()OperationMetadata> - Overrides:
deleteInterceptDeploymentOperationCallablein classInterceptStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classInterceptStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,InterceptClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classInterceptStub
-
getLocationCallable
- Overrides:
getLocationCallablein classInterceptStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classInterceptStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classInterceptStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classInterceptStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classInterceptStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-