Class GrpcObservabilityStub (0.3.0)
public class GrpcObservabilityStub extends ObservabilityStub
gRPC stub implementation for the Observability service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcObservabilityStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcObservabilityStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ObservabilityStubSettings settings)
public static final GrpcObservabilityStub create(ObservabilityStubSettings settings)
Constructors
GrpcObservabilityStub(ObservabilityStubSettings settings, ClientContext clientContext)
protected GrpcObservabilityStub(ObservabilityStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcObservabilityStub, 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.
GrpcObservabilityStub(ObservabilityStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcObservabilityStub(ObservabilityStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcObservabilityStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createBucketCallable()
public UnaryCallable<CreateBucketRequest,Operation> createBucketCallable()
Overrides
createBucketOperationCallable()
public OperationCallable<CreateBucketRequest,Bucket,OperationMetadata> createBucketOperationCallable()
Overrides
createLinkCallable()
public UnaryCallable<CreateLinkRequest,Operation> createLinkCallable()
Overrides
createLinkOperationCallable()
public OperationCallable<CreateLinkRequest,Link,OperationMetadata> createLinkOperationCallable()
Overrides
createTraceScopeCallable()
public UnaryCallable<CreateTraceScopeRequest,TraceScope> createTraceScopeCallable()
Overrides
deleteLinkCallable()
public UnaryCallable<DeleteLinkRequest,Operation> deleteLinkCallable()
Overrides
deleteLinkOperationCallable()
public OperationCallable<DeleteLinkRequest,Empty,OperationMetadata> deleteLinkOperationCallable()
Overrides
deleteTraceScopeCallable()
public UnaryCallable<DeleteTraceScopeRequest,Empty> deleteTraceScopeCallable()
Overrides
getBucketCallable()
public UnaryCallable<GetBucketRequest,Bucket> getBucketCallable()
Overrides
getDatasetCallable()
public UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
Overrides
getLinkCallable()
public UnaryCallable<GetLinkRequest,Link> getLinkCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
| Returns |
| Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getScopeCallable()
public UnaryCallable<GetScopeRequest,Scope> getScopeCallable()
Overrides
getSettingsCallable()
public UnaryCallable<GetSettingsRequest,Settings> getSettingsCallable()
Overrides
getTraceScopeCallable()
public UnaryCallable<GetTraceScopeRequest,TraceScope> getTraceScopeCallable()
Overrides
getViewCallable()
public UnaryCallable<GetViewRequest,View> getViewCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listBucketsCallable()
public UnaryCallable<ListBucketsRequest,ListBucketsResponse> listBucketsCallable()
Overrides
listBucketsPagedCallable()
public UnaryCallable<ListBucketsRequest,ObservabilityClient.ListBucketsPagedResponse> listBucketsPagedCallable()
Overrides
listDatasetsCallable()
public UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
Overrides
listDatasetsPagedCallable()
public UnaryCallable<ListDatasetsRequest,ObservabilityClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
Overrides
listLinksCallable()
public UnaryCallable<ListLinksRequest,ListLinksResponse> listLinksCallable()
Overrides
listLinksPagedCallable()
public UnaryCallable<ListLinksRequest,ObservabilityClient.ListLinksPagedResponse> listLinksPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
| Returns |
| Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ObservabilityClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listTraceScopesCallable()
public UnaryCallable<ListTraceScopesRequest,ListTraceScopesResponse> listTraceScopesCallable()
Overrides
listTraceScopesPagedCallable()
public UnaryCallable<ListTraceScopesRequest,ObservabilityClient.ListTraceScopesPagedResponse> listTraceScopesPagedCallable()
Overrides
listViewsCallable()
public UnaryCallable<ListViewsRequest,ListViewsResponse> listViewsCallable()
Overrides
listViewsPagedCallable()
public UnaryCallable<ListViewsRequest,ObservabilityClient.ListViewsPagedResponse> listViewsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateBucketCallable()
public UnaryCallable<UpdateBucketRequest,Operation> updateBucketCallable()
Overrides
updateBucketOperationCallable()
public OperationCallable<UpdateBucketRequest,Bucket,OperationMetadata> updateBucketOperationCallable()
Overrides
updateLinkCallable()
public UnaryCallable<UpdateLinkRequest,Operation> updateLinkCallable()
Overrides
updateLinkOperationCallable()
public OperationCallable<UpdateLinkRequest,Link,OperationMetadata> updateLinkOperationCallable()
Overrides
updateScopeCallable()
public UnaryCallable<UpdateScopeRequest,Scope> updateScopeCallable()
Overrides
updateSettingsCallable()
public UnaryCallable<UpdateSettingsRequest,Operation> updateSettingsCallable()
Overrides
updateSettingsOperationCallable()
public OperationCallable<UpdateSettingsRequest,Settings,OperationMetadata> updateSettingsOperationCallable()
Overrides
updateTraceScopeCallable()
public UnaryCallable<UpdateTraceScopeRequest,TraceScope> updateTraceScopeCallable()
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 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."],[],[]]