public static final class Instance.QueryInsightsInstanceInfo extends GeneratedMessage implements Instance.QueryInsightsInstanceInfoOrBuilderInstance level Query Insights information, which is read-only and available in the output only.
Protobuf type google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Instance.QueryInsightsInstanceInfoImplements
Instance.QueryInsightsInstanceInfoOrBuilderStatic Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
QUERY_STRING_LENGTH_FIELD_NUMBER
public static final int QUERY_STRING_LENGTH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RECORD_APPLICATION_TAGS_FIELD_NUMBER
public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RECORD_CLIENT_ADDRESS_FIELD_NUMBER
public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Instance.QueryInsightsInstanceInfo getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Instance.QueryInsightsInstanceInfo.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo.Builder |
|
newBuilder(Instance.QueryInsightsInstanceInfo prototype)
public static Instance.QueryInsightsInstanceInfo.Builder newBuilder(Instance.QueryInsightsInstanceInfo prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Instance.QueryInsightsInstanceInfo |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo.Builder |
|
parseDelimitedFrom(InputStream input)
public static Instance.QueryInsightsInstanceInfo parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Instance.QueryInsightsInstanceInfo parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Instance.QueryInsightsInstanceInfo parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Instance.QueryInsightsInstanceInfo parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Instance.QueryInsightsInstanceInfo parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Instance.QueryInsightsInstanceInfo parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Instance.QueryInsightsInstanceInfo> parser()| Returns | |
|---|---|
| Type | Description |
Parser<QueryInsightsInstanceInfo> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Instance.QueryInsightsInstanceInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo |
|
getEnabled()
public boolean getEnabled()Output only. Whether Query Insights is enabled.
bool enabled = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getParserForType()
public Parser<Instance.QueryInsightsInstanceInfo> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<QueryInsightsInstanceInfo> |
|
getQueryPlansPerMinute()
public int getQueryPlansPerMinute()Output only. Number of query execution plans captured per minute.
uint32 query_plans_per_minute = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The queryPlansPerMinute. |
getQueryStringLength()
public int getQueryStringLength()Output only. Maximum query string length.
uint32 query_string_length = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The queryStringLength. |
getRecordApplicationTags()
public boolean getRecordApplicationTags()Output only. Whether to record application tags.
bool record_application_tags = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The recordApplicationTags. |
getRecordClientAddress()
public boolean getRecordClientAddress()Output only. Whether to record client address.
bool record_client_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The recordClientAddress. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Instance.QueryInsightsInstanceInfo.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Instance.QueryInsightsInstanceInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo.Builder |
|
toBuilder()
public Instance.QueryInsightsInstanceInfo.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Instance.QueryInsightsInstanceInfo.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|