Package com.google.cloud.alloydb.v1beta
Interface Instance.ObservabilityInstanceConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.ObservabilityInstanceConfig,Instance.ObservabilityInstanceConfig.Builder
- Enclosing class:
- Instance
public static interface Instance.ObservabilityInstanceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether assistive experiences are enabled for this AlloyDB instance.booleanObservability feature status for an instance.intQuery string length.booleanPreserve comments in query string for an instance.intNumber of query execution plans captured by Insights per minute for all queries combined.booleanRecord application tags for an instance.booleanTrack actively running queries on the instance.booleanTrack client address for an instance.booleanTrack wait events during query execution for an instance.booleanOutput only.booleanWhether assistive experiences are enabled for this AlloyDB instance.booleanObservability feature status for an instance.booleanQuery string length.booleanPreserve comments in query string for an instance.booleanNumber of query execution plans captured by Insights per minute for all queries combined.booleanRecord application tags for an instance.booleanTrack actively running queries on the instance.booleanTrack client address for an instance.booleanTrack wait events during query execution for an instance.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEnabled
boolean hasEnabled()Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;- Returns:
- Whether the enabled field is set.
-
getEnabled
boolean getEnabled()Observability feature status for an instance. This flag is turned "off" by default.
optional bool enabled = 1;- Returns:
- The enabled.
-
hasPreserveComments
boolean hasPreserveComments()Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;- Returns:
- Whether the preserveComments field is set.
-
getPreserveComments
boolean getPreserveComments()Preserve comments in query string for an instance. This flag is turned "off" by default.
optional bool preserve_comments = 2;- Returns:
- The preserveComments.
-
hasTrackWaitEvents
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;- Returns:
- Whether the trackWaitEvents field is set.
-
getTrackWaitEvents
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;- Returns:
- The trackWaitEvents.
-
hasTrackWaitEventTypes
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];- Returns:
- Whether the trackWaitEventTypes field is set.
-
getTrackWaitEventTypes
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];- Returns:
- The trackWaitEventTypes.
-
hasMaxQueryStringLength
boolean hasMaxQueryStringLength()Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;- Returns:
- Whether the maxQueryStringLength field is set.
-
getMaxQueryStringLength
int getMaxQueryStringLength()Query string length. The default value is 10k.
optional int32 max_query_string_length = 5;- Returns:
- The maxQueryStringLength.
-
hasRecordApplicationTags
boolean hasRecordApplicationTags()Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;- Returns:
- Whether the recordApplicationTags field is set.
-
getRecordApplicationTags
boolean getRecordApplicationTags()Record application tags for an instance. This flag is turned "off" by default.
optional bool record_application_tags = 6;- Returns:
- The recordApplicationTags.
-
hasQueryPlansPerMinute
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;- Returns:
- Whether the queryPlansPerMinute field is set.
-
getQueryPlansPerMinute
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;- Returns:
- The queryPlansPerMinute.
-
hasTrackActiveQueries
boolean hasTrackActiveQueries()Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;- Returns:
- Whether the trackActiveQueries field is set.
-
getTrackActiveQueries
boolean getTrackActiveQueries()Track actively running queries on the instance. If not set, this flag is "off" by default.
optional bool track_active_queries = 8;- Returns:
- The trackActiveQueries.
-
hasTrackClientAddress
boolean hasTrackClientAddress()Track client address for an instance. If not set, default value is "off".
optional bool track_client_address = 9;- Returns:
- Whether the trackClientAddress field is set.
-
getTrackClientAddress
boolean getTrackClientAddress()Track client address for an instance. If not set, default value is "off".
optional bool track_client_address = 9;- Returns:
- The trackClientAddress.
-
hasAssistiveExperiencesEnabled
boolean hasAssistiveExperiencesEnabled()Whether assistive experiences are enabled for this AlloyDB instance.
optional bool assistive_experiences_enabled = 10;- Returns:
- Whether the assistiveExperiencesEnabled field is set.
-
getAssistiveExperiencesEnabled
boolean getAssistiveExperiencesEnabled()Whether assistive experiences are enabled for this AlloyDB instance.
optional bool assistive_experiences_enabled = 10;- Returns:
- The assistiveExperiencesEnabled.
-