public final class AppProfile
An application profile, or app profile, stores settings that tell your Cloud Bigtable instance how to handle incoming requests from an application. When one of your applications connects to a Cloud Bigtable instance, it can specify an app profile, and Cloud Bigtable uses that app profile for any requests that the application sends over that connection.
App profiles affect how your applications communicate with an instance that uses replication. As a result, app profiles are especially useful for instances that have 2 clusters. Even if your instance has only 1 cluster, you can use a unique app profile for each application that you run, or for different components within a single application.
Methods
equals(Object o)
public boolean equals(Object o)
Name | Description |
o | Object |
Type | Description |
boolean |
fromProto(AppProfile proto)
public static AppProfile fromProto(AppProfile proto)
Wraps a protobuf response.
This method is considered an internal implementation detail and not meant to be used by applications.
Name | Description |
proto | AppProfile |
Type | Description |
AppProfile |
getDescription()
public String getDescription()
Gets long form description of the use case for this AppProfile.
Type | Description |
String |
getId()
public String getId()
Gets the id of this AppProfile.
Type | Description |
String |
getInstanceId()
public String getInstanceId()
Gets the id of the instance that owns this AppProfile.
Type | Description |
String |
getPolicy()
public AppProfile.RoutingPolicy getPolicy()
Gets the routing policy for all read/write requests which use this app profile.
Type | Description |
AppProfile.RoutingPolicy |
hashCode()
public int hashCode()
Type | Description |
int |