Class Instance.QueryInsightsInstanceConfig

    • Field Detail

      • RECORD_APPLICATION_TAGS_FIELD_NUMBER

        public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RECORD_CLIENT_ADDRESS_FIELD_NUMBER

        public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUERY_STRING_LENGTH_FIELD_NUMBER

        public static final int QUERY_STRING_LENGTH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUERY_PLANS_PER_MINUTE_FIELD_NUMBER

        public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasRecordApplicationTags

        public boolean hasRecordApplicationTags()
         Record application tags for an instance.
         This flag is turned "on" by default.
         
        optional bool record_application_tags = 2;
        Specified by:
        hasRecordApplicationTags in interface Instance.QueryInsightsInstanceConfigOrBuilder
        Returns:
        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;
        Specified by:
        hasRecordClientAddress in interface Instance.QueryInsightsInstanceConfigOrBuilder
        Returns:
        Whether the recordClientAddress field is set.
      • 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;
        Specified by:
        getRecordClientAddress in interface Instance.QueryInsightsInstanceConfigOrBuilder
        Returns:
        The recordClientAddress.
      • 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;
        Specified by:
        hasQueryPlansPerMinute in interface Instance.QueryInsightsInstanceConfigOrBuilder
        Returns:
        Whether the queryPlansPerMinute field is set.
      • 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;
        Specified by:
        getQueryPlansPerMinute in interface Instance.QueryInsightsInstanceConfigOrBuilder
        Returns:
        The queryPlansPerMinute.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Instance.QueryInsightsInstanceConfig parseFrom​(ByteBuffer data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Instance.QueryInsightsInstanceConfig parseFrom​(com.google.protobuf.ByteString data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Instance.QueryInsightsInstanceConfig parseFrom​(com.google.protobuf.ByteString data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Instance.QueryInsightsInstanceConfig parseFrom​(byte[] data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Instance.QueryInsightsInstanceConfig parseFrom​(byte[] data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Instance.QueryInsightsInstanceConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Instance.QueryInsightsInstanceConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Instance.QueryInsightsInstanceConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Instance.QueryInsightsInstanceConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder