public static final class Instance.QueryInsightsInstanceConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder> implements Instance.QueryInsightsInstanceConfigOrBuilder
QueryInsights Instance specific configuration.Protobuf type
google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig| Modifier and Type | Method and Description |
|---|---|
Instance.QueryInsightsInstanceConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.QueryInsightsInstanceConfig |
build() |
Instance.QueryInsightsInstanceConfig |
buildPartial() |
Instance.QueryInsightsInstanceConfig.Builder |
clear() |
Instance.QueryInsightsInstanceConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.QueryInsightsInstanceConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.QueryInsightsInstanceConfig.Builder |
clearQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
Instance.QueryInsightsInstanceConfig.Builder |
clearQueryStringLength()
Query string length.
|
Instance.QueryInsightsInstanceConfig.Builder |
clearRecordApplicationTags()
Record application tags for an instance.
|
Instance.QueryInsightsInstanceConfig.Builder |
clearRecordClientAddress()
Record client address for an instance.
|
Instance.QueryInsightsInstanceConfig.Builder |
clone() |
Instance.QueryInsightsInstanceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
int |
getQueryStringLength()
Query string length.
|
boolean |
getRecordApplicationTags()
Record application tags for an instance.
|
boolean |
getRecordClientAddress()
Record client address for an instance.
|
boolean |
hasQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
boolean |
hasRecordApplicationTags()
Record application tags for an instance.
|
boolean |
hasRecordClientAddress()
Record client address for an instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Instance.QueryInsightsInstanceConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.QueryInsightsInstanceConfig.Builder |
mergeFrom(Instance.QueryInsightsInstanceConfig other) |
Instance.QueryInsightsInstanceConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.QueryInsightsInstanceConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.QueryInsightsInstanceConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.QueryInsightsInstanceConfig.Builder |
setQueryPlansPerMinute(int value)
Number of query execution plans captured by Insights per minute
for all queries combined.
|
Instance.QueryInsightsInstanceConfig.Builder |
setQueryStringLength(int value)
Query string length.
|
Instance.QueryInsightsInstanceConfig.Builder |
setRecordApplicationTags(boolean value)
Record application tags for an instance.
|
Instance.QueryInsightsInstanceConfig.Builder |
setRecordClientAddress(boolean value)
Record client address for an instance.
|
Instance.QueryInsightsInstanceConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.QueryInsightsInstanceConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance.QueryInsightsInstanceConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance.QueryInsightsInstanceConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.QueryInsightsInstanceConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(Instance.QueryInsightsInstanceConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public Instance.QueryInsightsInstanceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.QueryInsightsInstanceConfig.Builder>IOExceptionpublic boolean hasRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;hasRecordApplicationTags in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic boolean getRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;getRecordApplicationTags in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic Instance.QueryInsightsInstanceConfig.Builder setRecordApplicationTags(boolean value)
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;value - The recordApplicationTags to set.public Instance.QueryInsightsInstanceConfig.Builder clearRecordApplicationTags()
Record application tags for an instance. This flag is turned "on" by default.
optional bool record_application_tags = 2;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;hasRecordClientAddress in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic 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;getRecordClientAddress in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic Instance.QueryInsightsInstanceConfig.Builder setRecordClientAddress(boolean value)
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
optional bool record_client_address = 3;value - The recordClientAddress to set.public Instance.QueryInsightsInstanceConfig.Builder clearRecordClientAddress()
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
optional bool record_client_address = 3;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;getQueryStringLength in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic Instance.QueryInsightsInstanceConfig.Builder setQueryStringLength(int value)
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
uint32 query_string_length = 4;value - The queryStringLength to set.public Instance.QueryInsightsInstanceConfig.Builder clearQueryStringLength()
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
uint32 query_string_length = 4;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;hasQueryPlansPerMinute in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic 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;getQueryPlansPerMinute in interface Instance.QueryInsightsInstanceConfigOrBuilderpublic Instance.QueryInsightsInstanceConfig.Builder setQueryPlansPerMinute(int value)
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;value - The queryPlansPerMinute to set.public Instance.QueryInsightsInstanceConfig.Builder clearQueryPlansPerMinute()
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;public final Instance.QueryInsightsInstanceConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>public final Instance.QueryInsightsInstanceConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.QueryInsightsInstanceConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.