Class GrpcIDSStub (1.44.0)

public class GrpcIDSStub extends IDSStub

gRPC stub implementation for the IDS service API.

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

Inheritance

java.lang.Object > IDSStub > GrpcIDSStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(IDSStubSettings settings)

public static final GrpcIDSStub create(IDSStubSettings settings)
Parameter
Name Description
settings IDSStubSettings
Returns
Type Description
GrpcIDSStub
Exceptions
Type Description
IOException

Constructors

GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext)

protected GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcIDSStub, 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 IDSStubSettings
clientContext ClientContext

GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcIDSStub, 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 IDSStubSettings
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

createEndpointCallable()

public UnaryCallable<CreateEndpointRequest,Operation> createEndpointCallable()
Returns
Type Description
UnaryCallable<CreateEndpointRequest,Operation>
Overrides

createEndpointOperationCallable()

public OperationCallable<CreateEndpointRequest,Endpoint,OperationMetadata> createEndpointOperationCallable()
Returns
Type Description
OperationCallable<CreateEndpointRequest,Endpoint,OperationMetadata>
Overrides

deleteEndpointCallable()

public UnaryCallable<DeleteEndpointRequest,Operation> deleteEndpointCallable()
Returns
Type Description
UnaryCallable<DeleteEndpointRequest,Operation>
Overrides

deleteEndpointOperationCallable()

public OperationCallable<DeleteEndpointRequest,Empty,OperationMetadata> deleteEndpointOperationCallable()
Returns
Type Description
OperationCallable<DeleteEndpointRequest,Empty,OperationMetadata>
Overrides

getEndpointCallable()

public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Returns
Type Description
UnaryCallable<GetEndpointRequest,Endpoint>
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

listEndpointsCallable()

public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Returns
Type Description
UnaryCallable<ListEndpointsRequest,ListEndpointsResponse>
Overrides

listEndpointsPagedCallable()

public UnaryCallable<ListEndpointsRequest,IDSClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Returns
Type Description
UnaryCallable<ListEndpointsRequest,ListEndpointsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()