public static final class Instance.ObservabilityInstanceConfig extends com.google.protobuf.GeneratedMessageV3 implements Instance.ObservabilityInstanceConfigOrBuilder
Observability Instance specific configuration.Protobuf type
google.cloud.alloydb.v1.Instance.ObservabilityInstanceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.ObservabilityInstanceConfig.Builder
Observability Instance specific configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENABLED_FIELD_NUMBER |
static int |
MAX_QUERY_STRING_LENGTH_FIELD_NUMBER |
static int |
PRESERVE_COMMENTS_FIELD_NUMBER |
static int |
QUERY_PLANS_PER_MINUTE_FIELD_NUMBER |
static int |
RECORD_APPLICATION_TAGS_FIELD_NUMBER |
static int |
TRACK_ACTIVE_QUERIES_FIELD_NUMBER |
static int |
TRACK_WAIT_EVENT_TYPES_FIELD_NUMBER |
static int |
TRACK_WAIT_EVENTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Instance.ObservabilityInstanceConfig |
getDefaultInstance() |
Instance.ObservabilityInstanceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnabled()
Observability feature status for an instance.
|
int |
getMaxQueryStringLength()
Query string length.
|
com.google.protobuf.Parser<Instance.ObservabilityInstanceConfig> |
getParserForType() |
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.
|
int |
getSerializedSize() |
boolean |
getTrackActiveQueries()
Track actively running queries on the instance.
|
boolean |
getTrackWaitEvents()
Track wait events during query execution for an instance.
|
boolean |
getTrackWaitEventTypes()
Output only.
|
boolean |
hasEnabled()
Observability feature status for an instance.
|
int |
hashCode() |
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 |
hasTrackWaitEvents()
Track wait events during query execution for an instance.
|
boolean |
hasTrackWaitEventTypes()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Instance.ObservabilityInstanceConfig.Builder |
newBuilder() |
static Instance.ObservabilityInstanceConfig.Builder |
newBuilder(Instance.ObservabilityInstanceConfig prototype) |
Instance.ObservabilityInstanceConfig.Builder |
newBuilderForType() |
protected Instance.ObservabilityInstanceConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Instance.ObservabilityInstanceConfig |
parseDelimitedFrom(InputStream input) |
static Instance.ObservabilityInstanceConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.ObservabilityInstanceConfig |
parseFrom(byte[] data) |
static Instance.ObservabilityInstanceConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.ObservabilityInstanceConfig |
parseFrom(ByteBuffer data) |
static Instance.ObservabilityInstanceConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.ObservabilityInstanceConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Instance.ObservabilityInstanceConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.ObservabilityInstanceConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Instance.ObservabilityInstanceConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance.ObservabilityInstanceConfig |
parseFrom(InputStream input) |
static Instance.ObservabilityInstanceConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Instance.ObservabilityInstanceConfig> |
parser() |
Instance.ObservabilityInstanceConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLED_FIELD_NUMBER
public static final int PRESERVE_COMMENTS_FIELD_NUMBER
public static final int TRACK_WAIT_EVENTS_FIELD_NUMBER
public static final int TRACK_WAIT_EVENT_TYPES_FIELD_NUMBER
public static final int MAX_QUERY_STRING_LENGTH_FIELD_NUMBER
public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER
public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
public static final int TRACK_ACTIVE_QUERIES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Instance.ObservabilityInstanceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.ObservabilityInstanceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Instance.ObservabilityInstanceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Instance.ObservabilityInstanceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Instance.ObservabilityInstanceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instance.ObservabilityInstanceConfig.Builder newBuilder()
public static Instance.ObservabilityInstanceConfig.Builder newBuilder(Instance.ObservabilityInstanceConfig prototype)
public Instance.ObservabilityInstanceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instance.ObservabilityInstanceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Instance.ObservabilityInstanceConfig getDefaultInstance()
public static com.google.protobuf.Parser<Instance.ObservabilityInstanceConfig> parser()
public com.google.protobuf.Parser<Instance.ObservabilityInstanceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Instance.ObservabilityInstanceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.