public static final class Instance.QueryInsightsInstanceConfig extends GeneratedMessageV3 implements Instance.QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.
Protobuf type google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Instance.QueryInsightsInstanceConfigStatic Fields
QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
Type | Description |
int |
QUERY_STRING_LENGTH_FIELD_NUMBER
public static final int QUERY_STRING_LENGTH_FIELD_NUMBER
Type | Description |
int |
RECORD_APPLICATION_TAGS_FIELD_NUMBER
public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER
Type | Description |
int |
RECORD_CLIENT_ADDRESS_FIELD_NUMBER
public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Instance.QueryInsightsInstanceConfig getDefaultInstance()
Type | Description |
Instance.QueryInsightsInstanceConfig |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Instance.QueryInsightsInstanceConfig.Builder newBuilder()
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
newBuilder(Instance.QueryInsightsInstanceConfig prototype)
public static Instance.QueryInsightsInstanceConfig.Builder newBuilder(Instance.QueryInsightsInstanceConfig prototype)
Name | Description |
prototype |
Instance.QueryInsightsInstanceConfig |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
parseDelimitedFrom(InputStream input)
public static Instance.QueryInsightsInstanceConfig parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Instance.QueryInsightsInstanceConfig parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Instance.QueryInsightsInstanceConfig parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Instance.QueryInsightsInstanceConfig parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance.QueryInsightsInstanceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.QueryInsightsInstanceConfig |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Instance.QueryInsightsInstanceConfig> parser()
Type | Description |
Parser<QueryInsightsInstanceConfig> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
Type | Description |
Instance.QueryInsightsInstanceConfig |
getParserForType()
public Parser<Instance.QueryInsightsInstanceConfig> getParserForType()
Type | Description |
Parser<QueryInsightsInstanceConfig> |
getQueryPlansPerMinute()
public int getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
optional uint32 query_plans_per_minute = 5;
Type | Description |
int |
The queryPlansPerMinute. |
getQueryStringLength()
public int getQueryStringLength()
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
uint32 query_string_length = 4;
Type | Description |
int |
The queryStringLength. |
getRecordApplicationTags()
public boolean getRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;
Type | Description |
boolean |
The recordApplicationTags. |
getRecordClientAddress()
public boolean getRecordClientAddress()
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
optional bool record_client_address = 3;
Type | Description |
boolean |
The recordClientAddress. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasQueryPlansPerMinute()
public boolean hasQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
optional uint32 query_plans_per_minute = 5;
Type | Description |
boolean |
Whether the queryPlansPerMinute field is set. |
hasRecordApplicationTags()
public boolean hasRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;
Type | Description |
boolean |
Whether the recordApplicationTags field is set. |
hasRecordClientAddress()
public boolean hasRecordClientAddress()
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
optional bool record_client_address = 3;
Type | Description |
boolean |
Whether the recordClientAddress field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Instance.QueryInsightsInstanceConfig.Builder newBuilderForType()
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance.QueryInsightsInstanceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Instance.QueryInsightsInstanceConfig.Builder toBuilder()
Type | Description |
Instance.QueryInsightsInstanceConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |