public static final class Instance.ObservabilityInstanceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.ObservabilityInstanceConfig.Builder> implements Instance.ObservabilityInstanceConfigOrBuilder
Observability Instance specific configuration.Protobuf type
google.cloud.alloydb.v1beta.Instance.ObservabilityInstanceConfig| Modifier and Type | Method and Description |
|---|---|
Instance.ObservabilityInstanceConfig |
build() |
Instance.ObservabilityInstanceConfig |
buildPartial() |
Instance.ObservabilityInstanceConfig.Builder |
clear() |
Instance.ObservabilityInstanceConfig.Builder |
clearAssistiveExperiencesEnabled()
Whether assistive experiences are enabled for this AlloyDB instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearEnabled()
Observability feature status for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearMaxQueryStringLength()
Query string length.
|
Instance.ObservabilityInstanceConfig.Builder |
clearPreserveComments()
Preserve comments in query string for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
Instance.ObservabilityInstanceConfig.Builder |
clearRecordApplicationTags()
Record application tags for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearTrackActiveQueries()
Track actively running queries on the instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearTrackClientAddress()
Track client address for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearTrackWaitEvents()
Track wait events during query execution for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
clearTrackWaitEventTypes()
Output only.
|
boolean |
getAssistiveExperiencesEnabled()
Whether assistive experiences are enabled for this AlloyDB instance.
|
Instance.ObservabilityInstanceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnabled()
Observability feature status for an instance.
|
int |
getMaxQueryStringLength()
Query string length.
|
boolean |
getPreserveComments()
Preserve comments in query string for an instance.
|
int |
getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute
for all queries combined.
|
boolean |
getRecordApplicationTags()
Record application tags for an instance.
|
boolean |
getTrackActiveQueries()
Track actively running queries on the instance.
|
boolean |
getTrackClientAddress()
Track client address for an instance.
|
boolean |
getTrackWaitEvents()
Track wait events during query execution for an instance.
|
boolean |
getTrackWaitEventTypes()
Output only.
|
boolean |
hasAssistiveExperiencesEnabled()
Whether assistive experiences are enabled for this AlloyDB instance.
|
boolean |
hasEnabled()
Observability feature status for an instance.
|
boolean |
hasMaxQueryStringLength()
Query string length.
|
boolean |
hasPreserveComments()
Preserve comments in query string 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 |
hasTrackActiveQueries()
Track actively running queries on the instance.
|
boolean |
hasTrackClientAddress()
Track client address for an instance.
|
boolean |
hasTrackWaitEvents()
Track wait events during query execution for an instance.
|
boolean |
hasTrackWaitEventTypes()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Instance.ObservabilityInstanceConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.ObservabilityInstanceConfig.Builder |
mergeFrom(Instance.ObservabilityInstanceConfig other) |
Instance.ObservabilityInstanceConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.ObservabilityInstanceConfig.Builder |
setAssistiveExperiencesEnabled(boolean value)
Whether assistive experiences are enabled for this AlloyDB instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setEnabled(boolean value)
Observability feature status for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setMaxQueryStringLength(int value)
Query string length.
|
Instance.ObservabilityInstanceConfig.Builder |
setPreserveComments(boolean value)
Preserve comments in query string for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setQueryPlansPerMinute(int value)
Number of query execution plans captured by Insights per minute
for all queries combined.
|
Instance.ObservabilityInstanceConfig.Builder |
setRecordApplicationTags(boolean value)
Record application tags for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setTrackActiveQueries(boolean value)
Track actively running queries on the instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setTrackClientAddress(boolean value)
Track client address for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setTrackWaitEvents(boolean value)
Track wait events during query execution for an instance.
|
Instance.ObservabilityInstanceConfig.Builder |
setTrackWaitEventTypes(boolean value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Instance.ObservabilityInstanceConfig.Builder>public Instance.ObservabilityInstanceConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Instance.ObservabilityInstanceConfig.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.GeneratedMessage.Builder<Instance.ObservabilityInstanceConfig.Builder>public Instance.ObservabilityInstanceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance.ObservabilityInstanceConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance.ObservabilityInstanceConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.ObservabilityInstanceConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.ObservabilityInstanceConfig.Builder>public Instance.ObservabilityInstanceConfig.Builder mergeFrom(Instance.ObservabilityInstanceConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.ObservabilityInstanceConfig.Builder>public Instance.ObservabilityInstanceConfig.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.ObservabilityInstanceConfig.Builder>IOExceptionpublic boolean hasEnabled()
Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;hasEnabled in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getEnabled()
Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;getEnabled in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setEnabled(boolean value)
Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;value - The enabled to set.public Instance.ObservabilityInstanceConfig.Builder clearEnabled()
Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;public boolean hasPreserveComments()
Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;hasPreserveComments in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getPreserveComments()
Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;getPreserveComments in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setPreserveComments(boolean value)
Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;value - The preserveComments to set.public Instance.ObservabilityInstanceConfig.Builder clearPreserveComments()
Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;public boolean hasTrackWaitEvents()
Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
optional bool track_wait_events = 3;hasTrackWaitEvents in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getTrackWaitEvents()
Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
optional bool track_wait_events = 3;getTrackWaitEvents in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setTrackWaitEvents(boolean value)
Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
optional bool track_wait_events = 3;value - The trackWaitEvents to set.public Instance.ObservabilityInstanceConfig.Builder clearTrackWaitEvents()
Track wait events during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on.
optional bool track_wait_events = 3;public boolean hasTrackWaitEventTypes()
Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
optional bool track_wait_event_types = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTrackWaitEventTypes in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getTrackWaitEventTypes()
Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
optional bool track_wait_event_types = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTrackWaitEventTypes in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setTrackWaitEventTypes(boolean value)
Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
optional bool track_wait_event_types = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The trackWaitEventTypes to set.public Instance.ObservabilityInstanceConfig.Builder clearTrackWaitEventTypes()
Output only. Track wait event types during query execution for an instance. This flag is turned "on" by default but tracking is enabled only after observability enabled flag is also turned on. This is read-only flag and only modifiable by internal API.
optional bool track_wait_event_types = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasMaxQueryStringLength()
Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;hasMaxQueryStringLength in interface Instance.ObservabilityInstanceConfigOrBuilderpublic int getMaxQueryStringLength()
Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;getMaxQueryStringLength in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setMaxQueryStringLength(int value)
Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;value - The maxQueryStringLength to set.public Instance.ObservabilityInstanceConfig.Builder clearMaxQueryStringLength()
Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;public boolean hasRecordApplicationTags()
Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;hasRecordApplicationTags in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getRecordApplicationTags()
Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;getRecordApplicationTags in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setRecordApplicationTags(boolean value)
Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;value - The recordApplicationTags to set.public Instance.ObservabilityInstanceConfig.Builder clearRecordApplicationTags()
Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;public boolean hasQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
optional int32 query_plans_per_minute = 7;hasQueryPlansPerMinute in interface Instance.ObservabilityInstanceConfigOrBuilderpublic int getQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
optional int32 query_plans_per_minute = 7;getQueryPlansPerMinute in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setQueryPlansPerMinute(int value)
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
optional int32 query_plans_per_minute = 7;value - The queryPlansPerMinute to set.public Instance.ObservabilityInstanceConfig.Builder clearQueryPlansPerMinute()
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.
optional int32 query_plans_per_minute = 7;public boolean hasTrackActiveQueries()
Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;hasTrackActiveQueries in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getTrackActiveQueries()
Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;getTrackActiveQueries in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setTrackActiveQueries(boolean value)
Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;value - The trackActiveQueries to set.public Instance.ObservabilityInstanceConfig.Builder clearTrackActiveQueries()
Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;public boolean hasTrackClientAddress()
Track client address for an instance. If not set, default value is "off".
optional bool track_client_address = 9;hasTrackClientAddress in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getTrackClientAddress()
Track client address for an instance. If not set, default value is "off".
optional bool track_client_address = 9;getTrackClientAddress in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setTrackClientAddress(boolean value)
Track client address for an instance. If not set, default value is "off".
optional bool track_client_address = 9;value - The trackClientAddress to set.public Instance.ObservabilityInstanceConfig.Builder clearTrackClientAddress()
Track client address for an instance. If not set, default value is "off".
optional bool track_client_address = 9;public boolean hasAssistiveExperiencesEnabled()
Whether assistive experiences are enabled for this AlloyDB instance.
optional bool assistive_experiences_enabled = 10;hasAssistiveExperiencesEnabled in interface Instance.ObservabilityInstanceConfigOrBuilderpublic boolean getAssistiveExperiencesEnabled()
Whether assistive experiences are enabled for this AlloyDB instance.
optional bool assistive_experiences_enabled = 10;getAssistiveExperiencesEnabled in interface Instance.ObservabilityInstanceConfigOrBuilderpublic Instance.ObservabilityInstanceConfig.Builder setAssistiveExperiencesEnabled(boolean value)
Whether assistive experiences are enabled for this AlloyDB instance.
optional bool assistive_experiences_enabled = 10;value - The assistiveExperiencesEnabled to set.public Instance.ObservabilityInstanceConfig.Builder clearAssistiveExperiencesEnabled()
Whether assistive experiences are enabled for this AlloyDB instance.
optional bool assistive_experiences_enabled = 10;Copyright © 2026 Google LLC. All rights reserved.