public static class ObservabilitySettings.Builder extends ClientSettings.Builder<ObservabilitySettings,ObservabilitySettings.Builder>
Builder for ObservabilitySettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(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(ObservabilitySettings settings)
protected Builder(ObservabilitySettings settings)
Builder(ObservabilityStubSettings.Builder stubSettings)
protected Builder(ObservabilityStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ObservabilitySettings.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 ObservabilitySettings 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.
getStubSettingsBuilder()
public ObservabilityStubSettings.Builder getStubSettingsBuilder()
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.
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.