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