- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.7
- 1.1.1
- 1.0.4
public class HttpJsonIDSStub extends IDSStub
REST stub implementation for the IDS service API.
This class is for advanced usage and reflects the underlying API directly.
Inherited Members
Static Methods
create(ClientContext clientContext)
public static final HttpJsonIDSStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonIDSStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonIDSStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonIDSStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(IDSStubSettings settings)
public static final HttpJsonIDSStub create(IDSStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | IDSStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonIDSStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext)
protected HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonIDSStub, 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 |
HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonIDSStub, 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 | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createEndpointCallable()
public UnaryCallable<CreateEndpointRequest,Operation> createEndpointCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateEndpointRequest,Operation> |
createEndpointOperationCallable()
public OperationCallable<CreateEndpointRequest,Endpoint,OperationMetadata> createEndpointOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateEndpointRequest,Endpoint,OperationMetadata> |
deleteEndpointCallable()
public UnaryCallable<DeleteEndpointRequest,Operation> deleteEndpointCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteEndpointRequest,Operation> |
deleteEndpointOperationCallable()
public OperationCallable<DeleteEndpointRequest,Empty,OperationMetadata> deleteEndpointOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteEndpointRequest,Empty,OperationMetadata> |
getEndpointCallable()
public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetEndpointRequest,Endpoint> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
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> |
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest,IDSClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEndpointsRequest,ListEndpointsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()