Class HttpJsonInsightsConfigServiceStub (0.37.0)

publicclass HttpJsonInsightsConfigServiceStubextendsInsightsConfigServiceStub

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

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalHttpJsonInsightsConfigServiceStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonInsightsConfigServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

publicstaticfinalHttpJsonInsightsConfigServiceStubcreate(ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonInsightsConfigServiceStub
Exceptions
Type Description
IOException

create(InsightsConfigServiceStubSettings settings)

publicstaticfinalHttpJsonInsightsConfigServiceStubcreate(InsightsConfigServiceStubSettingssettings)
Parameter
Name Description
settings InsightsConfigServiceStubSettings
Returns
Type Description
HttpJsonInsightsConfigServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

publicstaticList<ApiMethodDescriptor>getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettings settings, ClientContext clientContext)

protectedHttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettingssettings,ClientContextclientContext)

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)

protectedHttpJsonInsightsConfigServiceStub(InsightsConfigServiceStubSettingssettings,ClientContextclientContext,HttpJsonStubCallableFactorycallableFactory)

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)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

createInsightsConfigCallable()

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

createInsightsConfigOperationCallable()

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

deleteInsightsConfigCallable()

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

deleteInsightsConfigOperationCallable()

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

getHttpJsonOperationsStub()

publicHttpJsonOperationsStubgetHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInsightsConfigCallable()

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

getLocationCallable()

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

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listInsightsConfigsCallable()

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

listInsightsConfigsPagedCallable()

publicUnaryCallable<ListInsightsConfigsRequest,InsightsConfigServiceClient.ListInsightsConfigsPagedResponse>listInsightsConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListInsightsConfigsRequest,ListInsightsConfigsPagedResponse>
Overrides

listLocationsCallable()

publicUnaryCallable<ListLocationsRequest,ListLocationsResponse>listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

publicUnaryCallable<ListLocationsRequest,InsightsConfigServiceClient.ListLocationsPagedResponse>listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

updateInsightsConfigCallable()

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

updateInsightsConfigOperationCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.