@InternalApi public abstract class RequestContext extends Object
The intention is to extract repetitive details like instance names and app profiles into a
configurable values in BigtableDataSettings and expose
them (via this class) to each wrapper's toProto method.
This class is considered an internal implementation detail and not meant to be used by applications.
| Constructor and Description |
|---|
RequestContext() |
| Modifier and Type | Method and Description |
|---|---|
static RequestContext |
create(InstanceName instanceName,
String appProfileId) |
abstract String |
getAppProfileId()
The App Profile to use when processing the current request
|
abstract InstanceName |
getInstanceName()
The instance that the client is configured to target
|
public static RequestContext create(InstanceName instanceName, String appProfileId)
public abstract InstanceName getInstanceName()
public abstract String getAppProfileId()
Copyright © 2018 Google LLC. All rights reserved.