Class HttpJsonInsightsConfigServiceStub (0.24.0)

public class HttpJsonInsightsConfigServiceStub extends InsightsConfigServiceStub

REST stub implementation for the InsightsConfigService service API.

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

Inheritance

java.lang.Object > InsightsConfigServiceStub > HttpJsonInsightsConfigServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(InsightsConfigServiceStubSettings settings)

public static final HttpJsonInsightsConfigServiceStub create(InsightsConfigServiceStubSettings settings)
Parameter
Name Description
settings InsightsConfigServiceStubSettings
Returns
Type Description
HttpJsonInsightsConfigServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonInsightsConfigServiceStub, 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 InsightsConfigServiceStubSettings
clientContext ClientContext

HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonInsightsConfigServiceStub, 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 InsightsConfigServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

createInsightsConfigCallable()

public UnaryCallable<CreateInsightsConfigRequest,Operation> createInsightsConfigCallable()
Returns
Type Description
UnaryCallable<CreateInsightsConfigRequest,Operation>
Overrides

createInsightsConfigOperationCallable()

public OperationCallable<CreateInsightsConfigRequest,InsightsConfig,OperationMetadata> createInsightsConfigOperationCallable()
Returns
Type Description
OperationCallable<CreateInsightsConfigRequest,InsightsConfig,OperationMetadata>
Overrides

deleteInsightsConfigCallable()

public UnaryCallable<DeleteInsightsConfigRequest,Operation> deleteInsightsConfigCallable()
Returns
Type Description
UnaryCallable<DeleteInsightsConfigRequest,Operation>
Overrides

deleteInsightsConfigOperationCallable()

public OperationCallable<DeleteInsightsConfigRequest,Empty,OperationMetadata> deleteInsightsConfigOperationCallable()
Returns
Type Description
OperationCallable<DeleteInsightsConfigRequest,Empty,OperationMetadata>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInsightsConfigCallable()

public UnaryCallable<GetInsightsConfigRequest,InsightsConfig> getInsightsConfigCallable()
Returns
Type Description
UnaryCallable<GetInsightsConfigRequest,InsightsConfig>
Overrides

getLocationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInsightsConfigsCallable()

public UnaryCallable<ListInsightsConfigsRequest,ListInsightsConfigsResponse> listInsightsConfigsCallable()
Returns
Type Description
UnaryCallable<ListInsightsConfigsRequest,ListInsightsConfigsResponse>
Overrides

listInsightsConfigsPagedCallable()

public UnaryCallable<ListInsightsConfigsRequest,InsightsConfigServiceClient.ListInsightsConfigsPagedResponse> listInsightsConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListInsightsConfigsRequest,ListInsightsConfigsPagedResponse>
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,InsightsConfigServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateInsightsConfigCallable()

public UnaryCallable<UpdateInsightsConfigRequest,Operation> updateInsightsConfigCallable()
Returns
Type Description
UnaryCallable<UpdateInsightsConfigRequest,Operation>
Overrides

updateInsightsConfigOperationCallable()

public OperationCallable<UpdateInsightsConfigRequest,InsightsConfig,OperationMetadata> updateInsightsConfigOperationCallable()
Returns
Type Description
OperationCallable<UpdateInsightsConfigRequest,InsightsConfig,OperationMetadata>
Overrides