Class GrpcOrganizationAddressGroupServiceStub (0.77.0)

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.

Inheritance

java.lang.Object > OrganizationAddressGroupServiceStub > GrpcOrganizationAddressGroupServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcOrganizationAddressGroupServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcOrganizationAddressGroupServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOrganizationAddressGroupServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcOrganizationAddressGroupServiceStub
Exceptions
Type Description
IOException

create(OrganizationAddressGroupServiceStubSettings settings)

public static final GrpcOrganizationAddressGroupServiceStub create(OrganizationAddressGroupServiceStubSettings settings)
Parameter
Name Description
settings OrganizationAddressGroupServiceStubSettings
Returns
Type Description
GrpcOrganizationAddressGroupServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcOrganizationAddressGroupServiceStub(OrganizationAddressGroupServiceStubSettings settings, ClientContext clientContext)

protected GrpcOrganizationAddressGroupServiceStub(OrganizationAddressGroupServiceStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings OrganizationAddressGroupServiceStubSettings
clientContext ClientContext

GrpcOrganizationAddressGroupServiceStub(OrganizationAddressGroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcOrganizationAddressGroupServiceStub(OrganizationAddressGroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings OrganizationAddressGroupServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

addAddressGroupItemsCallable()

public UnaryCallable<AddAddressGroupItemsRequest,Operation> addAddressGroupItemsCallable()
Returns
Type Description
UnaryCallable<AddAddressGroupItemsRequest,Operation>
Overrides

addAddressGroupItemsOperationCallable()

public OperationCallable<AddAddressGroupItemsRequest,AddressGroup,OperationMetadata> addAddressGroupItemsOperationCallable()
Returns
Type Description
OperationCallable<AddAddressGroupItemsRequest,AddressGroup,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cloneAddressGroupItemsCallable()

public UnaryCallable<CloneAddressGroupItemsRequest,Operation> cloneAddressGroupItemsCallable()
Returns
Type Description
UnaryCallable<CloneAddressGroupItemsRequest,Operation>
Overrides

cloneAddressGroupItemsOperationCallable()

public OperationCallable<CloneAddressGroupItemsRequest,AddressGroup,OperationMetadata> cloneAddressGroupItemsOperationCallable()
Returns
Type Description
OperationCallable<CloneAddressGroupItemsRequest,AddressGroup,OperationMetadata>
Overrides

close()

public final void close()
Overrides

createAddressGroupCallable()

public UnaryCallable<CreateAddressGroupRequest,Operation> createAddressGroupCallable()
Returns
Type Description
UnaryCallable<CreateAddressGroupRequest,Operation>
Overrides

createAddressGroupOperationCallable()

public OperationCallable<CreateAddressGroupRequest,AddressGroup,OperationMetadata> createAddressGroupOperationCallable()
Returns
Type Description
OperationCallable<CreateAddressGroupRequest,AddressGroup,OperationMetadata>
Overrides

deleteAddressGroupCallable()

public UnaryCallable<DeleteAddressGroupRequest,Operation> deleteAddressGroupCallable()
Returns
Type Description
UnaryCallable<DeleteAddressGroupRequest,Operation>
Overrides

deleteAddressGroupOperationCallable()

public OperationCallable<DeleteAddressGroupRequest,Empty,OperationMetadata> deleteAddressGroupOperationCallable()
Returns
Type Description
OperationCallable<DeleteAddressGroupRequest,Empty,OperationMetadata>
Overrides

getAddressGroupCallable()

public UnaryCallable<GetAddressGroupRequest,AddressGroup> getAddressGroupCallable()
Returns
Type Description
UnaryCallable<GetAddressGroupRequest,AddressGroup>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAddressGroupReferencesCallable()

public UnaryCallable<ListAddressGroupReferencesRequest,ListAddressGroupReferencesResponse> listAddressGroupReferencesCallable()
Returns
Type Description
UnaryCallable<ListAddressGroupReferencesRequest,ListAddressGroupReferencesResponse>
Overrides

listAddressGroupReferencesPagedCallable()

public UnaryCallable<ListAddressGroupReferencesRequest,OrganizationAddressGroupServiceClient.ListAddressGroupReferencesPagedResponse> listAddressGroupReferencesPagedCallable()
Returns
Type Description
UnaryCallable<ListAddressGroupReferencesRequest,ListAddressGroupReferencesPagedResponse>
Overrides

listAddressGroupsCallable()

public UnaryCallable<ListAddressGroupsRequest,ListAddressGroupsResponse> listAddressGroupsCallable()
Returns
Type Description
UnaryCallable<ListAddressGroupsRequest,ListAddressGroupsResponse>
Overrides

listAddressGroupsPagedCallable()

public UnaryCallable<ListAddressGroupsRequest,OrganizationAddressGroupServiceClient.ListAddressGroupsPagedResponse> listAddressGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListAddressGroupsRequest,ListAddressGroupsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,OrganizationAddressGroupServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

removeAddressGroupItemsCallable()

public UnaryCallable<RemoveAddressGroupItemsRequest,Operation> removeAddressGroupItemsCallable()
Returns
Type Description
UnaryCallable<RemoveAddressGroupItemsRequest,Operation>
Overrides

removeAddressGroupItemsOperationCallable()

public OperationCallable<RemoveAddressGroupItemsRequest,AddressGroup,OperationMetadata> removeAddressGroupItemsOperationCallable()
Returns
Type Description
OperationCallable<RemoveAddressGroupItemsRequest,AddressGroup,OperationMetadata>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateAddressGroupCallable()

public UnaryCallable<UpdateAddressGroupRequest,Operation> updateAddressGroupCallable()
Returns
Type Description
UnaryCallable<UpdateAddressGroupRequest,Operation>
Overrides

updateAddressGroupOperationCallable()

public OperationCallable<UpdateAddressGroupRequest,AddressGroup,OperationMetadata> updateAddressGroupOperationCallable()
Returns
Type Description
OperationCallable<UpdateAddressGroupRequest,AddressGroup,OperationMetadata>
Overrides