Class HttpJsonInsightsConfigServiceStub
java.lang.Object
com.google.cloud.developerconnect.v1.stub.InsightsConfigServiceStub
com.google.cloud.developerconnect.v1.stub.HttpJsonInsightsConfigServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonInsightsConfigServiceStub, using the given settings.protectedHttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonInsightsConfigServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonInsightsConfigServiceStubcreate(ClientContext clientContext) static final HttpJsonInsightsConfigServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonInsightsConfigServiceStubcreate(InsightsConfigServiceStubSettings settings) OperationCallable<DeleteInsightsConfigRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListDeploymentEventsRequest,InsightsConfigServiceClient.ListDeploymentEventsPagedResponse> UnaryCallable<ListInsightsConfigsRequest,InsightsConfigServiceClient.ListInsightsConfigsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.developerconnect.v1.stub.InsightsConfigServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonInsightsConfigServiceStub
protected HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonInsightsConfigServiceStub
protected HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonInsightsConfigServiceStub create(InsightsConfigServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonInsightsConfigServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonInsightsConfigServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin 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
-