Send feedback
Class Instance.QueryInsightsInstanceConfig (0.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.20.0 keyboard_arrow_down
public static final class Instance . QueryInsightsInstanceConfig extends GeneratedMessageV3 implements Instance . QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.
Protobuf type google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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
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 . QueryInsightsInstanceConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Instance . QueryInsightsInstanceConfig . Builder newBuilder ()
newBuilder(Instance.QueryInsightsInstanceConfig prototype)
public static Instance . QueryInsightsInstanceConfig . Builder newBuilder ( Instance . QueryInsightsInstanceConfig prototype )
public static Instance . QueryInsightsInstanceConfig parseDelimitedFrom ( InputStream input )
public static Instance . QueryInsightsInstanceConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Instance . QueryInsightsInstanceConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Instance . QueryInsightsInstanceConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Instance . QueryInsightsInstanceConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Instance . QueryInsightsInstanceConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Instance . QueryInsightsInstanceConfig parseFrom ( CodedInputStream input )
public static Instance . QueryInsightsInstanceConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Instance . QueryInsightsInstanceConfig parseFrom ( InputStream input )
public static Instance . QueryInsightsInstanceConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Instance . QueryInsightsInstanceConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Instance . QueryInsightsInstanceConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Instance . QueryInsightsInstanceConfig > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Instance . QueryInsightsInstanceConfig getDefaultInstanceForType ()
getParserForType()
public Parser<Instance . QueryInsightsInstanceConfig > getParserForType ()
Overrides
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;
Returns
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;
Returns
Type
Description
int
The queryStringLength.
public boolean getRecordApplicationTags ()
Record application tags for an instance.
This flag is turned "on" by default.
optional bool record_application_tags = 2;
Returns
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;
Returns
Type
Description
boolean
The recordClientAddress.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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;
Returns
Type
Description
boolean
Whether the queryPlansPerMinute field is set.
public boolean hasRecordApplicationTags ()
Record application tags for an instance.
This flag is turned "on" by default.
optional bool record_application_tags = 2;
Returns
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;
Returns
Type
Description
boolean
Whether the recordClientAddress field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Instance . QueryInsightsInstanceConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Instance . QueryInsightsInstanceConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Instance . QueryInsightsInstanceConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]