Class GrpcAddressGroupServiceStub
java.lang.Object
com.google.cloud.networksecurity.v1.stub.AddressGroupServiceStub
com.google.cloud.networksecurity.v1.stub.GrpcAddressGroupServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcAddressGroupServiceStub
extends AddressGroupServiceStub
gRPC stub implementation for the AddressGroupService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcAddressGroupServiceStub(AddressGroupServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcAddressGroupServiceStub, using the given settings.protectedGrpcAddressGroupServiceStub(AddressGroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcAddressGroupServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcAddressGroupServiceStubcreate(ClientContext clientContext) static final GrpcAddressGroupServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcAddressGroupServiceStubcreate(AddressGroupServiceStubSettings settings) OperationCallable<DeleteAddressGroupRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListAddressGroupReferencesRequest,AddressGroupServiceClient.ListAddressGroupReferencesPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcAddressGroupServiceStub
protected GrpcAddressGroupServiceStub(AddressGroupServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcAddressGroupServiceStub, 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
-
GrpcAddressGroupServiceStub
protected GrpcAddressGroupServiceStub(AddressGroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcAddressGroupServiceStub, 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 GrpcAddressGroupServiceStub create(AddressGroupServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcAddressGroupServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcAddressGroupServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classAddressGroupServiceStub
-
listAddressGroupsCallable
public UnaryCallable<ListAddressGroupsRequest,ListAddressGroupsResponse> listAddressGroupsCallable()- Overrides:
listAddressGroupsCallablein classAddressGroupServiceStub
-
listAddressGroupsPagedCallable
public UnaryCallable<ListAddressGroupsRequest,AddressGroupServiceClient.ListAddressGroupsPagedResponse> listAddressGroupsPagedCallable()- Overrides:
listAddressGroupsPagedCallablein classAddressGroupServiceStub
-
getAddressGroupCallable
- Overrides:
getAddressGroupCallablein classAddressGroupServiceStub
-
createAddressGroupCallable
- Overrides:
createAddressGroupCallablein classAddressGroupServiceStub
-
createAddressGroupOperationCallable
public OperationCallable<CreateAddressGroupRequest,AddressGroup, createAddressGroupOperationCallable()OperationMetadata> - Overrides:
createAddressGroupOperationCallablein classAddressGroupServiceStub
-
updateAddressGroupCallable
- Overrides:
updateAddressGroupCallablein classAddressGroupServiceStub
-
updateAddressGroupOperationCallable
public OperationCallable<UpdateAddressGroupRequest,AddressGroup, updateAddressGroupOperationCallable()OperationMetadata> - Overrides:
updateAddressGroupOperationCallablein classAddressGroupServiceStub
-
addAddressGroupItemsCallable
- Overrides:
addAddressGroupItemsCallablein classAddressGroupServiceStub
-
addAddressGroupItemsOperationCallable
public OperationCallable<AddAddressGroupItemsRequest,AddressGroup, addAddressGroupItemsOperationCallable()OperationMetadata> - Overrides:
addAddressGroupItemsOperationCallablein classAddressGroupServiceStub
-
removeAddressGroupItemsCallable
- Overrides:
removeAddressGroupItemsCallablein classAddressGroupServiceStub
-
removeAddressGroupItemsOperationCallable
public OperationCallable<RemoveAddressGroupItemsRequest,AddressGroup, removeAddressGroupItemsOperationCallable()OperationMetadata> - Overrides:
removeAddressGroupItemsOperationCallablein classAddressGroupServiceStub
-
cloneAddressGroupItemsCallable
- Overrides:
cloneAddressGroupItemsCallablein classAddressGroupServiceStub
-
cloneAddressGroupItemsOperationCallable
public OperationCallable<CloneAddressGroupItemsRequest,AddressGroup, cloneAddressGroupItemsOperationCallable()OperationMetadata> - Overrides:
cloneAddressGroupItemsOperationCallablein classAddressGroupServiceStub
-
deleteAddressGroupCallable
- Overrides:
deleteAddressGroupCallablein classAddressGroupServiceStub
-
deleteAddressGroupOperationCallable
public OperationCallable<DeleteAddressGroupRequest,com.google.protobuf.Empty, deleteAddressGroupOperationCallable()OperationMetadata> - Overrides:
deleteAddressGroupOperationCallablein classAddressGroupServiceStub
-
listAddressGroupReferencesCallable
public UnaryCallable<ListAddressGroupReferencesRequest,ListAddressGroupReferencesResponse> listAddressGroupReferencesCallable()- Overrides:
listAddressGroupReferencesCallablein classAddressGroupServiceStub
-
listAddressGroupReferencesPagedCallable
public UnaryCallable<ListAddressGroupReferencesRequest,AddressGroupServiceClient.ListAddressGroupReferencesPagedResponse> listAddressGroupReferencesPagedCallable()- Overrides:
listAddressGroupReferencesPagedCallablein classAddressGroupServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classAddressGroupServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,AddressGroupServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classAddressGroupServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classAddressGroupServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classAddressGroupServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classAddressGroupServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classAddressGroupServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAddressGroupServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-