Class GrpcInsightsConfigServiceStub (0.24.0)

public class GrpcInsightsConfigServiceStub extends InsightsConfigServiceStub

gRPC stub implementation for the InsightsConfigService service API.

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

Inheritance

java.lang.Object > InsightsConfigServiceStub > GrpcInsightsConfigServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(InsightsConfigServiceStubSettings settings)

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

Constructors

GrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext)

protected GrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext)

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

GrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

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

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

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