public static final class Instance.QueryInsightsInstanceConfig extends GeneratedMessageV3 implements Instance.QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.
Protobuf type google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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