Class GrpcInsightsConfigServiceStub
java.lang.Object
com.google.cloud.developerconnect.v1.stub.InsightsConfigServiceStub
com.google.cloud.developerconnect.v1.stub.GrpcInsightsConfigServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcInsightsConfigServiceStub, using the given settings.protectedGrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcInsightsConfigServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcInsightsConfigServiceStubcreate(ClientContext clientContext) static final GrpcInsightsConfigServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcInsightsConfigServiceStubcreate(InsightsConfigServiceStubSettings settings) OperationCallable<DeleteInsightsConfigRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListDeploymentEventsRequest,InsightsConfigServiceClient.ListDeploymentEventsPagedResponse> UnaryCallable<ListInsightsConfigsRequest,InsightsConfigServiceClient.ListInsightsConfigsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.developerconnect.v1.stub.InsightsConfigServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcInsightsConfigServiceStub
protected GrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcInsightsConfigServiceStub
protected GrpcInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcInsightsConfigServiceStub create(InsightsConfigServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcInsightsConfigServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcInsightsConfigServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classInsightsConfigServiceStub
-
listInsightsConfigsCallable
public UnaryCallable<ListInsightsConfigsRequest,ListInsightsConfigsResponse> listInsightsConfigsCallable()- Overrides:
listInsightsConfigsCallablein classInsightsConfigServiceStub
-
listInsightsConfigsPagedCallable
public UnaryCallable<ListInsightsConfigsRequest,InsightsConfigServiceClient.ListInsightsConfigsPagedResponse> listInsightsConfigsPagedCallable()- Overrides:
listInsightsConfigsPagedCallablein classInsightsConfigServiceStub
-
createInsightsConfigCallable
- Overrides:
createInsightsConfigCallablein classInsightsConfigServiceStub
-
createInsightsConfigOperationCallable
public OperationCallable<CreateInsightsConfigRequest,InsightsConfig, createInsightsConfigOperationCallable()OperationMetadata> - Overrides:
createInsightsConfigOperationCallablein classInsightsConfigServiceStub
-
getInsightsConfigCallable
- Overrides:
getInsightsConfigCallablein classInsightsConfigServiceStub
-
updateInsightsConfigCallable
- Overrides:
updateInsightsConfigCallablein classInsightsConfigServiceStub
-
updateInsightsConfigOperationCallable
public OperationCallable<UpdateInsightsConfigRequest,InsightsConfig, updateInsightsConfigOperationCallable()OperationMetadata> - Overrides:
updateInsightsConfigOperationCallablein classInsightsConfigServiceStub
-
deleteInsightsConfigCallable
- Overrides:
deleteInsightsConfigCallablein classInsightsConfigServiceStub
-
deleteInsightsConfigOperationCallable
public OperationCallable<DeleteInsightsConfigRequest,com.google.protobuf.Empty, deleteInsightsConfigOperationCallable()OperationMetadata> - Overrides:
deleteInsightsConfigOperationCallablein classInsightsConfigServiceStub
-
getDeploymentEventCallable
- Overrides:
getDeploymentEventCallablein classInsightsConfigServiceStub
-
listDeploymentEventsCallable
public UnaryCallable<ListDeploymentEventsRequest,ListDeploymentEventsResponse> listDeploymentEventsCallable()- Overrides:
listDeploymentEventsCallablein classInsightsConfigServiceStub
-
listDeploymentEventsPagedCallable
public UnaryCallable<ListDeploymentEventsRequest,InsightsConfigServiceClient.ListDeploymentEventsPagedResponse> listDeploymentEventsPagedCallable()- Overrides:
listDeploymentEventsPagedCallablein classInsightsConfigServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classInsightsConfigServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,InsightsConfigServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classInsightsConfigServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classInsightsConfigServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classInsightsConfigServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-