Class ObservabilityStubSettings.Builder (0.3.0)
public static class ObservabilityStubSettings.Builder extends StubSettings.Builder<ObservabilityStubSettings,ObservabilityStubSettings.Builder>
Builder for ObservabilityStubSettings.
Inherited Members
com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)
| Parameter |
| Name |
Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
|
Builder(ObservabilityStubSettings settings)
protected Builder(ObservabilityStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ObservabilityStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public ObservabilityStubSettings build()
Overrides
createBucketOperationSettings()
public OperationCallSettings.Builder<CreateBucketRequest,Bucket,OperationMetadata> createBucketOperationSettings()
Returns the builder for the settings used for calls to createBucket.
createBucketSettings()
public UnaryCallSettings.Builder<CreateBucketRequest,Operation> createBucketSettings()
Returns the builder for the settings used for calls to createBucket.
createLinkOperationSettings()
public OperationCallSettings.Builder<CreateLinkRequest,Link,OperationMetadata> createLinkOperationSettings()
Returns the builder for the settings used for calls to createLink.
createLinkSettings()
public UnaryCallSettings.Builder<CreateLinkRequest,Operation> createLinkSettings()
Returns the builder for the settings used for calls to createLink.
createTraceScopeSettings()
public UnaryCallSettings.Builder<CreateTraceScopeRequest,TraceScope> createTraceScopeSettings()
Returns the builder for the settings used for calls to createTraceScope.
deleteLinkOperationSettings()
public OperationCallSettings.Builder<DeleteLinkRequest,Empty,OperationMetadata> deleteLinkOperationSettings()
Returns the builder for the settings used for calls to deleteLink.
deleteLinkSettings()
public UnaryCallSettings.Builder<DeleteLinkRequest,Operation> deleteLinkSettings()
Returns the builder for the settings used for calls to deleteLink.
deleteTraceScopeSettings()
public UnaryCallSettings.Builder<DeleteTraceScopeRequest,Empty> deleteTraceScopeSettings()
Returns the builder for the settings used for calls to deleteTraceScope.
getBucketSettings()
public UnaryCallSettings.Builder<GetBucketRequest,Bucket> getBucketSettings()
Returns the builder for the settings used for calls to getBucket.
getDatasetSettings()
public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
getLinkSettings()
public UnaryCallSettings.Builder<GetLinkRequest,Link> getLinkSettings()
Returns the builder for the settings used for calls to getLink.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
| Returns |
| Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getScopeSettings()
public UnaryCallSettings.Builder<GetScopeRequest,Scope> getScopeSettings()
Returns the builder for the settings used for calls to getScope.
getSettingsSettings()
public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()
Returns the builder for the settings used for calls to getSettings.
getTraceScopeSettings()
public UnaryCallSettings.Builder<GetTraceScopeRequest,TraceScope> getTraceScopeSettings()
Returns the builder for the settings used for calls to getTraceScope.
getViewSettings()
public UnaryCallSettings.Builder<GetViewRequest,View> getViewSettings()
Returns the builder for the settings used for calls to getView.
listBucketsSettings()
public PagedCallSettings.Builder<ListBucketsRequest,ListBucketsResponse,ObservabilityClient.ListBucketsPagedResponse> listBucketsSettings()
Returns the builder for the settings used for calls to listBuckets.
listDatasetsSettings()
public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,ObservabilityClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
listLinksSettings()
public PagedCallSettings.Builder<ListLinksRequest,ListLinksResponse,ObservabilityClient.ListLinksPagedResponse> listLinksSettings()
Returns the builder for the settings used for calls to listLinks.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ObservabilityClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listTraceScopesSettings()
public PagedCallSettings.Builder<ListTraceScopesRequest,ListTraceScopesResponse,ObservabilityClient.ListTraceScopesPagedResponse> listTraceScopesSettings()
Returns the builder for the settings used for calls to listTraceScopes.
listViewsSettings()
public PagedCallSettings.Builder<ListViewsRequest,ListViewsResponse,ObservabilityClient.ListViewsPagedResponse> listViewsSettings()
Returns the builder for the settings used for calls to listViews.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
| Returns |
| Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateBucketOperationSettings()
public OperationCallSettings.Builder<UpdateBucketRequest,Bucket,OperationMetadata> updateBucketOperationSettings()
Returns the builder for the settings used for calls to updateBucket.
updateBucketSettings()
public UnaryCallSettings.Builder<UpdateBucketRequest,Operation> updateBucketSettings()
Returns the builder for the settings used for calls to updateBucket.
updateLinkOperationSettings()
public OperationCallSettings.Builder<UpdateLinkRequest,Link,OperationMetadata> updateLinkOperationSettings()
Returns the builder for the settings used for calls to updateLink.
updateLinkSettings()
public UnaryCallSettings.Builder<UpdateLinkRequest,Operation> updateLinkSettings()
Returns the builder for the settings used for calls to updateLink.
updateScopeSettings()
public UnaryCallSettings.Builder<UpdateScopeRequest,Scope> updateScopeSettings()
Returns the builder for the settings used for calls to updateScope.
updateSettingsOperationSettings()
public OperationCallSettings.Builder<UpdateSettingsRequest,Settings,OperationMetadata> updateSettingsOperationSettings()
Returns the builder for the settings used for calls to updateSettings.
updateSettingsSettings()
public UnaryCallSettings.Builder<UpdateSettingsRequest,Operation> updateSettingsSettings()
Returns the builder for the settings used for calls to updateSettings.
updateTraceScopeSettings()
public UnaryCallSettings.Builder<UpdateTraceScopeRequest,TraceScope> updateTraceScopeSettings()
Returns the builder for the settings used for calls to updateTraceScope.
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 2026-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-19 UTC."],[],[]]