public interface QueryStatsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInefficientQueryInfo()
public abstract InefficientQueryInfo getInefficientQueryInfo()Information about inefficient query.
.google.cloud.databasecenter.v1beta.InefficientQueryInfo inefficient_query_info = 7;
| Returns | |
|---|---|
| Type | Description |
InefficientQueryInfo |
The inefficientQueryInfo. |
getInefficientQueryInfoOrBuilder()
public abstract InefficientQueryInfoOrBuilder getInefficientQueryInfoOrBuilder()Information about inefficient query.
.google.cloud.databasecenter.v1beta.InefficientQueryInfo inefficient_query_info = 7;
| Returns | |
|---|---|
| Type | Description |
InefficientQueryInfoOrBuilder |
|
getNormalizedQuery()
public abstract String getNormalizedQuery()The query string is normalized query without any PII data.
string normalized_query = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The normalizedQuery. |
getNormalizedQueryBytes()
public abstract ByteString getNormalizedQueryBytes()The query string is normalized query without any PII data.
string normalized_query = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for normalizedQuery. |
getQueryHash()
public abstract String getQueryHash()The query hash of the query.
string query_hash = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The queryHash. |
getQueryHashBytes()
public abstract ByteString getQueryHashBytes()The query hash of the query.
string query_hash = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for queryHash. |
getQueryMetrics()
public abstract QueryMetrics getQueryMetrics()Metrics related to the query performance.
.google.cloud.databasecenter.v1beta.QueryMetrics query_metrics = 6;
| Returns | |
|---|---|
| Type | Description |
QueryMetrics |
The queryMetrics. |
getQueryMetricsOrBuilder()
public abstract QueryMetricsOrBuilder getQueryMetricsOrBuilder()Metrics related to the query performance.
.google.cloud.databasecenter.v1beta.QueryMetrics query_metrics = 6;
| Returns | |
|---|---|
| Type | Description |
QueryMetricsOrBuilder |
|
getResourceIds(int index)
public abstract ResourceId getResourceIds(int index)The resource ids for which the query stats are collected.
repeated .google.cloud.databasecenter.v1beta.ResourceId resource_ids = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceId |
|
getResourceIdsCount()
public abstract int getResourceIdsCount()The resource ids for which the query stats are collected.
repeated .google.cloud.databasecenter.v1beta.ResourceId resource_ids = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourceIdsList()
public abstract List<ResourceId> getResourceIdsList()The resource ids for which the query stats are collected.
repeated .google.cloud.databasecenter.v1beta.ResourceId resource_ids = 5;
| Returns | |
|---|---|
| Type | Description |
List<ResourceId> |
|
getResourceIdsOrBuilder(int index)
public abstract ResourceIdOrBuilder getResourceIdsOrBuilder(int index)The resource ids for which the query stats are collected.
repeated .google.cloud.databasecenter.v1beta.ResourceId resource_ids = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceIdOrBuilder |
|
getResourceIdsOrBuilderList()
public abstract List<? extends ResourceIdOrBuilder> getResourceIdsOrBuilderList()The resource ids for which the query stats are collected.
repeated .google.cloud.databasecenter.v1beta.ResourceId resource_ids = 5;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.ResourceIdOrBuilder> |
|
getResourceType()
public abstract String getResourceType()The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance
string resource_type = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public abstract ByteString getResourceTypeBytes()The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance
string resource_type = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceType. |
hasInefficientQueryInfo()
public abstract boolean hasInefficientQueryInfo()Information about inefficient query.
.google.cloud.databasecenter.v1beta.InefficientQueryInfo inefficient_query_info = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inefficientQueryInfo field is set. |
hasQueryMetrics()
public abstract boolean hasQueryMetrics()Metrics related to the query performance.
.google.cloud.databasecenter.v1beta.QueryMetrics query_metrics = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the queryMetrics field is set. |