Class GrpcInterceptStub (0.94.0)

public class GrpcInterceptStub extends InterceptStub

gRPC stub implementation for the Intercept service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > InterceptStub > GrpcInterceptStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(InterceptStubSettings settings)

public static final GrpcInterceptStub create(InterceptStubSettings settings)
Parameter
Name Description
settings InterceptStubSettings
Returns
Type Description
GrpcInterceptStub
Exceptions
Type Description
IOException

Constructors

GrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext)

protected GrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings InterceptStubSettings
clientContext ClientContext

GrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcInterceptStub(InterceptStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings InterceptStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

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

close()

public final void close()
Overrides

createInterceptDeploymentCallable()

public UnaryCallable<CreateInterceptDeploymentRequest,Operation> createInterceptDeploymentCallable()
Returns
Type Description
UnaryCallable<CreateInterceptDeploymentRequest,Operation>
Overrides

createInterceptDeploymentGroupCallable()

public UnaryCallable<CreateInterceptDeploymentGroupRequest,Operation> createInterceptDeploymentGroupCallable()
Returns
Type Description
UnaryCallable<CreateInterceptDeploymentGroupRequest,Operation>
Overrides

createInterceptDeploymentGroupOperationCallable()

public OperationCallable<CreateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata> createInterceptDeploymentGroupOperationCallable()
Returns
Type Description
OperationCallable<CreateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata>
Overrides

createInterceptDeploymentOperationCallable()

public OperationCallable<CreateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata> createInterceptDeploymentOperationCallable()
Returns
Type Description
OperationCallable<CreateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata>
Overrides

createInterceptEndpointGroupAssociationCallable()

public UnaryCallable<CreateInterceptEndpointGroupAssociationRequest,Operation> createInterceptEndpointGroupAssociationCallable()
Returns
Type Description
UnaryCallable<CreateInterceptEndpointGroupAssociationRequest,Operation>
Overrides

createInterceptEndpointGroupAssociationOperationCallable()

public OperationCallable<CreateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata> createInterceptEndpointGroupAssociationOperationCallable()
Returns
Type Description
OperationCallable<CreateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata>
Overrides

createInterceptEndpointGroupCallable()

public UnaryCallable<CreateInterceptEndpointGroupRequest,Operation> createInterceptEndpointGroupCallable()
Returns
Type Description
UnaryCallable<CreateInterceptEndpointGroupRequest,Operation>
Overrides

createInterceptEndpointGroupOperationCallable()

public OperationCallable<CreateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata> createInterceptEndpointGroupOperationCallable()
Returns
Type Description
OperationCallable<CreateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata>
Overrides

deleteInterceptDeploymentCallable()

public UnaryCallable<DeleteInterceptDeploymentRequest,Operation> deleteInterceptDeploymentCallable()
Returns
Type Description
UnaryCallable<DeleteInterceptDeploymentRequest,Operation>
Overrides

deleteInterceptDeploymentGroupCallable()

public UnaryCallable<DeleteInterceptDeploymentGroupRequest,Operation> deleteInterceptDeploymentGroupCallable()
Returns
Type Description
UnaryCallable<DeleteInterceptDeploymentGroupRequest,Operation>
Overrides

deleteInterceptDeploymentGroupOperationCallable()

public OperationCallable<DeleteInterceptDeploymentGroupRequest,Empty,OperationMetadata> deleteInterceptDeploymentGroupOperationCallable()
Returns
Type Description
OperationCallable<DeleteInterceptDeploymentGroupRequest,Empty,OperationMetadata>
Overrides

deleteInterceptDeploymentOperationCallable()

public OperationCallable<DeleteInterceptDeploymentRequest,Empty,OperationMetadata> deleteInterceptDeploymentOperationCallable()
Returns
Type Description
OperationCallable<DeleteInterceptDeploymentRequest,Empty,OperationMetadata>
Overrides

deleteInterceptEndpointGroupAssociationCallable()

public UnaryCallable<DeleteInterceptEndpointGroupAssociationRequest,Operation> deleteInterceptEndpointGroupAssociationCallable()
Returns
Type Description
UnaryCallable<DeleteInterceptEndpointGroupAssociationRequest,Operation>
Overrides

deleteInterceptEndpointGroupAssociationOperationCallable()

public OperationCallable<DeleteInterceptEndpointGroupAssociationRequest,Empty,OperationMetadata> deleteInterceptEndpointGroupAssociationOperationCallable()
Returns
Type Description
OperationCallable<DeleteInterceptEndpointGroupAssociationRequest,Empty,OperationMetadata>
Overrides

deleteInterceptEndpointGroupCallable()

public UnaryCallable<DeleteInterceptEndpointGroupRequest,Operation> deleteInterceptEndpointGroupCallable()
Returns
Type Description
UnaryCallable<DeleteInterceptEndpointGroupRequest,Operation>
Overrides

deleteInterceptEndpointGroupOperationCallable()

public OperationCallable<DeleteInterceptEndpointGroupRequest,Empty,OperationMetadata> deleteInterceptEndpointGroupOperationCallable()
Returns
Type Description
OperationCallable<DeleteInterceptEndpointGroupRequest,Empty,OperationMetadata>
Overrides

getIamPolicyCallable()

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

getInterceptDeploymentCallable()

public UnaryCallable<GetInterceptDeploymentRequest,InterceptDeployment> getInterceptDeploymentCallable()
Returns
Type Description
UnaryCallable<GetInterceptDeploymentRequest,InterceptDeployment>
Overrides

getInterceptDeploymentGroupCallable()

public UnaryCallable<GetInterceptDeploymentGroupRequest,InterceptDeploymentGroup> getInterceptDeploymentGroupCallable()
Returns
Type Description
UnaryCallable<GetInterceptDeploymentGroupRequest,InterceptDeploymentGroup>
Overrides

getInterceptEndpointGroupAssociationCallable()

public UnaryCallable<GetInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation> getInterceptEndpointGroupAssociationCallable()
Returns
Type Description
UnaryCallable<GetInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation>
Overrides

getInterceptEndpointGroupCallable()

public UnaryCallable<GetInterceptEndpointGroupRequest,InterceptEndpointGroup> getInterceptEndpointGroupCallable()
Returns
Type Description
UnaryCallable<GetInterceptEndpointGroupRequest,InterceptEndpointGroup>
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

listInterceptDeploymentGroupsCallable()

public UnaryCallable<ListInterceptDeploymentGroupsRequest,ListInterceptDeploymentGroupsResponse> listInterceptDeploymentGroupsCallable()
Returns
Type Description
UnaryCallable<ListInterceptDeploymentGroupsRequest,ListInterceptDeploymentGroupsResponse>
Overrides

listInterceptDeploymentGroupsPagedCallable()

public UnaryCallable<ListInterceptDeploymentGroupsRequest,InterceptClient.ListInterceptDeploymentGroupsPagedResponse> listInterceptDeploymentGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListInterceptDeploymentGroupsRequest,ListInterceptDeploymentGroupsPagedResponse>
Overrides

listInterceptDeploymentsCallable()

public UnaryCallable<ListInterceptDeploymentsRequest,ListInterceptDeploymentsResponse> listInterceptDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListInterceptDeploymentsRequest,ListInterceptDeploymentsResponse>
Overrides

listInterceptDeploymentsPagedCallable()

public UnaryCallable<ListInterceptDeploymentsRequest,InterceptClient.ListInterceptDeploymentsPagedResponse> listInterceptDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListInterceptDeploymentsRequest,ListInterceptDeploymentsPagedResponse>
Overrides

listInterceptEndpointGroupAssociationsCallable()

public UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsResponse> listInterceptEndpointGroupAssociationsCallable()
Returns
Type Description
UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsResponse>
Overrides

listInterceptEndpointGroupAssociationsPagedCallable()

public UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,InterceptClient.ListInterceptEndpointGroupAssociationsPagedResponse> listInterceptEndpointGroupAssociationsPagedCallable()
Returns
Type Description
UnaryCallable<ListInterceptEndpointGroupAssociationsRequest,ListInterceptEndpointGroupAssociationsPagedResponse>
Overrides

listInterceptEndpointGroupsCallable()

public UnaryCallable<ListInterceptEndpointGroupsRequest,ListInterceptEndpointGroupsResponse> listInterceptEndpointGroupsCallable()
Returns
Type Description
UnaryCallable<ListInterceptEndpointGroupsRequest,ListInterceptEndpointGroupsResponse>
Overrides

listInterceptEndpointGroupsPagedCallable()

public UnaryCallable<ListInterceptEndpointGroupsRequest,InterceptClient.ListInterceptEndpointGroupsPagedResponse> listInterceptEndpointGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListInterceptEndpointGroupsRequest,ListInterceptEndpointGroupsPagedResponse>
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,InterceptClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
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

updateInterceptDeploymentCallable()

public UnaryCallable<UpdateInterceptDeploymentRequest,Operation> updateInterceptDeploymentCallable()
Returns
Type Description
UnaryCallable<UpdateInterceptDeploymentRequest,Operation>
Overrides

updateInterceptDeploymentGroupCallable()

public UnaryCallable<UpdateInterceptDeploymentGroupRequest,Operation> updateInterceptDeploymentGroupCallable()
Returns
Type Description
UnaryCallable<UpdateInterceptDeploymentGroupRequest,Operation>
Overrides

updateInterceptDeploymentGroupOperationCallable()

public OperationCallable<UpdateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata> updateInterceptDeploymentGroupOperationCallable()
Returns
Type Description
OperationCallable<UpdateInterceptDeploymentGroupRequest,InterceptDeploymentGroup,OperationMetadata>
Overrides

updateInterceptDeploymentOperationCallable()

public OperationCallable<UpdateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata> updateInterceptDeploymentOperationCallable()
Returns
Type Description
OperationCallable<UpdateInterceptDeploymentRequest,InterceptDeployment,OperationMetadata>
Overrides

updateInterceptEndpointGroupAssociationCallable()

public UnaryCallable<UpdateInterceptEndpointGroupAssociationRequest,Operation> updateInterceptEndpointGroupAssociationCallable()
Returns
Type Description
UnaryCallable<UpdateInterceptEndpointGroupAssociationRequest,Operation>
Overrides

updateInterceptEndpointGroupAssociationOperationCallable()

public OperationCallable<UpdateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata> updateInterceptEndpointGroupAssociationOperationCallable()
Returns
Type Description
OperationCallable<UpdateInterceptEndpointGroupAssociationRequest,InterceptEndpointGroupAssociation,OperationMetadata>
Overrides

updateInterceptEndpointGroupCallable()

public UnaryCallable<UpdateInterceptEndpointGroupRequest,Operation> updateInterceptEndpointGroupCallable()
Returns
Type Description
UnaryCallable<UpdateInterceptEndpointGroupRequest,Operation>
Overrides

updateInterceptEndpointGroupOperationCallable()

public OperationCallable<UpdateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata> updateInterceptEndpointGroupOperationCallable()
Returns
Type Description
OperationCallable<UpdateInterceptEndpointGroupRequest,InterceptEndpointGroup,OperationMetadata>
Overrides