public final class StatementExecution extends GeneratedMessageV3 implements StatementExecutionOrBuilderAggregated execution metrics for statement executions.
Protobuf type google.cloud.bigquery.jdbc.telemetry.v1.StatementExecution
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GeneratedMessage.ExtendableMessage<MessageType> > GeneratedMessageV3 > StatementExecutionImplements
StatementExecutionOrBuilderStatic Fields
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ERROR_CODE_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
QUERY_API_TYPE_FIELD_NUMBER
public static final int QUERY_API_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATEMENT_TYPE_FIELD_NUMBER
public static final int STATEMENT_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static StatementExecution getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static StatementExecution.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
StatementExecution.Builder |
|
newBuilder(StatementExecution prototype)
public static StatementExecution.Builder newBuilder(StatementExecution prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
StatementExecution |
| Returns | |
|---|---|
| Type | Description |
StatementExecution.Builder |
|
parseDelimitedFrom(InputStream input)
public static StatementExecution parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StatementExecution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static StatementExecution parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatementExecution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static StatementExecution parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatementExecution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static StatementExecution parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StatementExecution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static StatementExecution parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StatementExecution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static StatementExecution parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatementExecution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<StatementExecution> parser()| Returns | |
|---|---|
| Type | Description |
Parser<StatementExecution> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCount()
public long getCount()int64 count = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public StatementExecution getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StatementExecution |
|
getDuration()
public DurationHistogram getDuration().google.cloud.bigquery.jdbc.telemetry.v1.DurationHistogram duration = 6;
| Returns | |
|---|---|
| Type | Description |
DurationHistogram |
The duration. |
getDurationOrBuilder()
public DurationHistogramOrBuilder getDurationOrBuilder().google.cloud.bigquery.jdbc.telemetry.v1.DurationHistogram duration = 6;
| Returns | |
|---|---|
| Type | Description |
DurationHistogramOrBuilder |
|
getErrorCode()
public int getErrorCode()int32 error_code = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The errorCode. |
getParserForType()
public Parser<StatementExecution> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<StatementExecution> |
|
getQueryApiType()
public QueryApiType getQueryApiType().google.cloud.bigquery.jdbc.telemetry.v1.QueryApiType query_api_type = 2;
| Returns | |
|---|---|
| Type | Description |
QueryApiType |
The queryApiType. |
getQueryApiTypeValue()
public int getQueryApiTypeValue().google.cloud.bigquery.jdbc.telemetry.v1.QueryApiType query_api_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for queryApiType. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStatementType()
public StatementType getStatementType().google.cloud.bigquery.jdbc.telemetry.v1.StatementType statement_type = 1;
| Returns | |
|---|---|
| Type | Description |
StatementType |
The statementType. |
getStatementTypeValue()
public int getStatementTypeValue().google.cloud.bigquery.jdbc.telemetry.v1.StatementType statement_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for statementType. |
getStatus()
public Status getStatus().google.cloud.bigquery.jdbc.telemetry.v1.Status status = 3;
| Returns | |
|---|---|
| Type | Description |
Status |
The status. |
getStatusValue()
public int getStatusValue().google.cloud.bigquery.jdbc.telemetry.v1.Status status = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
hasDuration()
public boolean hasDuration().google.cloud.bigquery.jdbc.telemetry.v1.DurationHistogram duration = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public StatementExecution.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
StatementExecution.Builder |
|
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatementExecution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
StatementExecution.Builder |
|
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)| Parameter | |
|---|---|
| Name | Description |
unused |
UnusedPrivateParameter |
| Returns | |
|---|---|
| Type | Description |
Object |
|
toBuilder()
public StatementExecution.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
StatementExecution.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|