public interface QueryMetricsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAvgCpuTime()
public abstract Duration getAvgCpuTime()The average execution period of the query across all runs.
.google.protobuf.Duration avg_cpu_time = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The avgCpuTime. |
getAvgCpuTimeOrBuilder()
public abstract DurationOrBuilder getAvgCpuTimeOrBuilder()The average execution period of the query across all runs.
.google.protobuf.Duration avg_cpu_time = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getExecutionCount()
public abstract long getExecutionCount()The number of times the query was executed.
int64 execution_count = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The executionCount. |
getMetricsWindow()
public abstract QueryMetrics.MetricsWindow getMetricsWindow()The window over which the metrics are aggregated.
.google.cloud.databasecenter.v1beta.QueryMetrics.MetricsWindow metrics_window = 5;
| Returns | |
|---|---|
| Type | Description |
QueryMetrics.MetricsWindow |
The metricsWindow. |
getMetricsWindowValue()
public abstract int getMetricsWindowValue()The window over which the metrics are aggregated.
.google.cloud.databasecenter.v1beta.QueryMetrics.MetricsWindow metrics_window = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for metricsWindow. |
getRowsProcessed()
public abstract long getRowsProcessed()The average number of rows processed by the query across all runs.
int64 rows_processed = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The rowsProcessed. |
getTotalCpuTime()
public abstract Duration getTotalCpuTime()The total CPU time consumed by the query across all runs.
.google.protobuf.Duration total_cpu_time = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The totalCpuTime. |
getTotalCpuTimeOrBuilder()
public abstract DurationOrBuilder getTotalCpuTimeOrBuilder()The total CPU time consumed by the query across all runs.
.google.protobuf.Duration total_cpu_time = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasAvgCpuTime()
public abstract boolean hasAvgCpuTime()The average execution period of the query across all runs.
.google.protobuf.Duration avg_cpu_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the avgCpuTime field is set. |
hasTotalCpuTime()
public abstract boolean hasTotalCpuTime()The total CPU time consumed by the query across all runs.
.google.protobuf.Duration total_cpu_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalCpuTime field is set. |