// Copyright 2023 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Auto generated by tools/codegen/core/gen_experiments.py
//
// This file contains the autogenerated parts of the experiments API.
//
// It generates two symbols for each experiment.
//
// For the experiment named new_car_project, it generates:
//
// - a function IsNewCarProjectEnabled() that returns true if the experiment
//   should be enabled at runtime.
//
// - a macro GRPC_EXPERIMENT_IS_INCLUDED_NEW_CAR_PROJECT that is defined if the
//   experiment *could* be enabled at runtime.
//
// The function is used to determine whether to run the experiment or
// non-experiment code path.
//
// If the experiment brings significant bloat, the macro can be used to avoid
// including the experiment code path in the binary for binaries that are size
// sensitive.
//
// By default that includes our iOS and Android builds.
//
// Finally, a small array is included that contains the metadata for each
// experiment.
//
// A macro, GRPC_EXPERIMENTS_ARE_FINAL, controls whether we fix experiment
// configuration at build time (if it's defined) or allow it to be tuned at
// runtime (if it's disabled).
//
// If you are using the Bazel build system, that macro can be configured with
// --define=grpc_experiments_are_final=true

#ifndef GRPC_SRC_CORE_LIB_EXPERIMENTS_EXPERIMENTS_H
#define GRPC_SRC_CORE_LIB_EXPERIMENTS_EXPERIMENTS_H

#include <grpc/support/port_platform.h>

#include "src/core/lib/experiments/config.h"

namespace grpc_core {

#ifdef GRPC_EXPERIMENTS_ARE_FINAL

#if defined(GRPC_CFSTREAM)
inline bool IsBufferListDeletionPrepEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_IN_TRANSPORT
inline bool IsCallTracerInTransportEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_SEND_INITIAL_METADATA_IS_AN_ANNOTATION
inline bool IsCallTracerSendInitialMetadataIsAnAnnotationEnabled() {
  return true;
}
inline bool IsCallTracerSendTrailingMetadataIsAnAnnotationEnabled() {
  return false;
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_CONNECT_DEADLINE
inline bool IsChaoticGoodConnectDeadlineEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_FRAMING_LAYER
inline bool IsChaoticGoodFramingLayerEnabled() { return true; }
inline bool IsChaoticGoodSendSupportedFeaturesEnabled() { return false; }
inline bool IsErrorFlattenEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CLIENT
inline bool IsEventEngineClientEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS
inline bool IsEventEngineDnsEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS_NON_CLIENT_CHANNEL
inline bool IsEventEngineDnsNonClientChannelEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FORK
inline bool IsEventEngineForkEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER
inline bool IsEventEngineListenerEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CALLBACK_CQ
inline bool IsEventEngineCallbackCqEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FOR_ALL_OTHER_ENDPOINTS
inline bool IsEventEngineForAllOtherEndpointsEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_POLLER_FOR_PYTHON
inline bool IsEventEnginePollerForPythonEnabled() { return true; }
inline bool IsFailRecvMetadataOnDeadlineExceededEnabled() { return false; }
inline bool IsFreeLargeAllocatorEnabled() { return false; }
inline bool IsFuseFiltersEnabled() { return false; }
inline bool IsKeepAlivePingTimerBatchEnabled() { return false; }
inline bool IsLocalConnectorSecureEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_MAX_INFLIGHT_PINGS_STRICT_LIMIT
inline bool IsMaxInflightPingsStrictLimitEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_METADATA_PUBLISH_TO_APP_TAG
inline bool IsMetadataPublishToAppTagEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT
inline bool IsMonitoringExperimentEnabled() { return true; }
inline bool IsMultipingEnabled() { return false; }
inline bool IsOtelExportTelemetryDomainsEnabled() { return false; }
inline bool IsPickFirstIgnoreEmptyUpdatesEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_READY_TO_CONNECTING
inline bool IsPickFirstReadyToConnectingEnabled() { return true; }
inline bool IsPipelinedReadSecureEndpointEnabled() { return false; }
inline bool IsPollsetAlternativeEnabled() { return false; }
inline bool IsPrioritizeFinishedRequestsEnabled() { return false; }
inline bool IsPromiseBasedHttp2ClientTransportEnabled() { return false; }
inline bool IsPromiseBasedHttp2ServerTransportEnabled() { return false; }
inline bool IsPromiseBasedInprocTransportEnabled() { return false; }
inline bool IsPromiseFilterSendCancelMetadataEnabled() { return false; }
inline bool IsRetryInCallv3Enabled() { return false; }
inline bool IsReturnPreexistingErrorsEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_RR_WRR_CONNECT_FROM_RANDOM_INDEX
inline bool IsRrWrrConnectFromRandomIndexEnabled() { return true; }
inline bool IsScheduleCancellationOverWriteEnabled() { return false; }
inline bool IsSecureEndpointOffloadLargeReadsEnabled() { return false; }
inline bool IsSecureEndpointOffloadLargeWritesEnabled() { return false; }
inline bool IsSecureEndpointReadCoalescingEnabled() { return false; }
inline bool IsSkipClearPeerOnCancellationEnabled() { return false; }
inline bool IsSleepPromiseExecCtxRemovalEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_SLEEP_USE_NON_OWNING_WAKER
inline bool IsSleepUseNonOwningWakerEnabled() { return true; }
inline bool IsSubchannelConnectionScalingEnabled() { return false; }
inline bool IsSubchannelWrapperCleanupOnOrphanEnabled() { return false; }
inline bool IsTcpFrameSizeTuningEnabled() { return false; }
inline bool IsTcpRcvLowatEnabled() { return false; }
inline bool IsTsiFrameProtectorWithoutLocksEnabled() { return false; }
inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; }
inline bool IsUseCallEventEngineInCompletionQueueEnabled() { return false; }
inline bool IsWildcardIpExpansionRestrictionEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_XDS_CHANNEL_FILTER_CHAIN_PER_ROUTE
inline bool IsXdsChannelFilterChainPerRouteEnabled() { return true; }

#elif defined(GPR_WINDOWS)
inline bool IsBufferListDeletionPrepEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_IN_TRANSPORT
inline bool IsCallTracerInTransportEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_SEND_INITIAL_METADATA_IS_AN_ANNOTATION
inline bool IsCallTracerSendInitialMetadataIsAnAnnotationEnabled() {
  return true;
}
inline bool IsCallTracerSendTrailingMetadataIsAnAnnotationEnabled() {
  return false;
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_CONNECT_DEADLINE
inline bool IsChaoticGoodConnectDeadlineEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_FRAMING_LAYER
inline bool IsChaoticGoodFramingLayerEnabled() { return true; }
inline bool IsChaoticGoodSendSupportedFeaturesEnabled() { return false; }
inline bool IsErrorFlattenEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CLIENT
inline bool IsEventEngineClientEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS
inline bool IsEventEngineDnsEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS_NON_CLIENT_CHANNEL
inline bool IsEventEngineDnsNonClientChannelEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FORK
inline bool IsEventEngineForkEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER
inline bool IsEventEngineListenerEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CALLBACK_CQ
inline bool IsEventEngineCallbackCqEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FOR_ALL_OTHER_ENDPOINTS
inline bool IsEventEngineForAllOtherEndpointsEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_POLLER_FOR_PYTHON
inline bool IsEventEnginePollerForPythonEnabled() { return true; }
inline bool IsFailRecvMetadataOnDeadlineExceededEnabled() { return false; }
inline bool IsFreeLargeAllocatorEnabled() { return false; }
inline bool IsFuseFiltersEnabled() { return false; }
inline bool IsKeepAlivePingTimerBatchEnabled() { return false; }
inline bool IsLocalConnectorSecureEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_MAX_INFLIGHT_PINGS_STRICT_LIMIT
inline bool IsMaxInflightPingsStrictLimitEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_METADATA_PUBLISH_TO_APP_TAG
inline bool IsMetadataPublishToAppTagEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT
inline bool IsMonitoringExperimentEnabled() { return true; }
inline bool IsMultipingEnabled() { return false; }
inline bool IsOtelExportTelemetryDomainsEnabled() { return false; }
inline bool IsPickFirstIgnoreEmptyUpdatesEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_READY_TO_CONNECTING
inline bool IsPickFirstReadyToConnectingEnabled() { return true; }
inline bool IsPipelinedReadSecureEndpointEnabled() { return false; }
inline bool IsPollsetAlternativeEnabled() { return false; }
inline bool IsPrioritizeFinishedRequestsEnabled() { return false; }
inline bool IsPromiseBasedHttp2ClientTransportEnabled() { return false; }
inline bool IsPromiseBasedHttp2ServerTransportEnabled() { return false; }
inline bool IsPromiseBasedInprocTransportEnabled() { return false; }
inline bool IsPromiseFilterSendCancelMetadataEnabled() { return false; }
inline bool IsRetryInCallv3Enabled() { return false; }
inline bool IsReturnPreexistingErrorsEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_RR_WRR_CONNECT_FROM_RANDOM_INDEX
inline bool IsRrWrrConnectFromRandomIndexEnabled() { return true; }
inline bool IsScheduleCancellationOverWriteEnabled() { return false; }
inline bool IsSecureEndpointOffloadLargeReadsEnabled() { return false; }
inline bool IsSecureEndpointOffloadLargeWritesEnabled() { return false; }
inline bool IsSecureEndpointReadCoalescingEnabled() { return false; }
inline bool IsSkipClearPeerOnCancellationEnabled() { return false; }
inline bool IsSleepPromiseExecCtxRemovalEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_SLEEP_USE_NON_OWNING_WAKER
inline bool IsSleepUseNonOwningWakerEnabled() { return true; }
inline bool IsSubchannelConnectionScalingEnabled() { return false; }
inline bool IsSubchannelWrapperCleanupOnOrphanEnabled() { return false; }
inline bool IsTcpFrameSizeTuningEnabled() { return false; }
inline bool IsTcpRcvLowatEnabled() { return false; }
inline bool IsTsiFrameProtectorWithoutLocksEnabled() { return false; }
inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; }
inline bool IsUseCallEventEngineInCompletionQueueEnabled() { return false; }
inline bool IsWildcardIpExpansionRestrictionEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_XDS_CHANNEL_FILTER_CHAIN_PER_ROUTE
inline bool IsXdsChannelFilterChainPerRouteEnabled() { return true; }

#else
inline bool IsBufferListDeletionPrepEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_IN_TRANSPORT
inline bool IsCallTracerInTransportEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_SEND_INITIAL_METADATA_IS_AN_ANNOTATION
inline bool IsCallTracerSendInitialMetadataIsAnAnnotationEnabled() {
  return true;
}
inline bool IsCallTracerSendTrailingMetadataIsAnAnnotationEnabled() {
  return false;
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_CONNECT_DEADLINE
inline bool IsChaoticGoodConnectDeadlineEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_FRAMING_LAYER
inline bool IsChaoticGoodFramingLayerEnabled() { return true; }
inline bool IsChaoticGoodSendSupportedFeaturesEnabled() { return false; }
inline bool IsErrorFlattenEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CLIENT
inline bool IsEventEngineClientEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS
inline bool IsEventEngineDnsEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS_NON_CLIENT_CHANNEL
inline bool IsEventEngineDnsNonClientChannelEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FORK
inline bool IsEventEngineForkEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER
inline bool IsEventEngineListenerEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CALLBACK_CQ
inline bool IsEventEngineCallbackCqEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FOR_ALL_OTHER_ENDPOINTS
inline bool IsEventEngineForAllOtherEndpointsEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_POLLER_FOR_PYTHON
inline bool IsEventEnginePollerForPythonEnabled() { return true; }
inline bool IsFailRecvMetadataOnDeadlineExceededEnabled() { return false; }
inline bool IsFreeLargeAllocatorEnabled() { return false; }
inline bool IsFuseFiltersEnabled() { return false; }
inline bool IsKeepAlivePingTimerBatchEnabled() { return false; }
inline bool IsLocalConnectorSecureEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_MAX_INFLIGHT_PINGS_STRICT_LIMIT
inline bool IsMaxInflightPingsStrictLimitEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_METADATA_PUBLISH_TO_APP_TAG
inline bool IsMetadataPublishToAppTagEnabled() { return true; }
#define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT
inline bool IsMonitoringExperimentEnabled() { return true; }
inline bool IsMultipingEnabled() { return false; }
inline bool IsOtelExportTelemetryDomainsEnabled() { return false; }
inline bool IsPickFirstIgnoreEmptyUpdatesEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_READY_TO_CONNECTING
inline bool IsPickFirstReadyToConnectingEnabled() { return true; }
inline bool IsPipelinedReadSecureEndpointEnabled() { return false; }
inline bool IsPollsetAlternativeEnabled() { return false; }
inline bool IsPrioritizeFinishedRequestsEnabled() { return false; }
inline bool IsPromiseBasedHttp2ClientTransportEnabled() { return false; }
inline bool IsPromiseBasedHttp2ServerTransportEnabled() { return false; }
inline bool IsPromiseBasedInprocTransportEnabled() { return false; }
inline bool IsPromiseFilterSendCancelMetadataEnabled() { return false; }
inline bool IsRetryInCallv3Enabled() { return false; }
inline bool IsReturnPreexistingErrorsEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_RR_WRR_CONNECT_FROM_RANDOM_INDEX
inline bool IsRrWrrConnectFromRandomIndexEnabled() { return true; }
inline bool IsScheduleCancellationOverWriteEnabled() { return false; }
inline bool IsSecureEndpointOffloadLargeReadsEnabled() { return false; }
inline bool IsSecureEndpointOffloadLargeWritesEnabled() { return false; }
inline bool IsSecureEndpointReadCoalescingEnabled() { return false; }
inline bool IsSkipClearPeerOnCancellationEnabled() { return false; }
inline bool IsSleepPromiseExecCtxRemovalEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_SLEEP_USE_NON_OWNING_WAKER
inline bool IsSleepUseNonOwningWakerEnabled() { return true; }
inline bool IsSubchannelConnectionScalingEnabled() { return false; }
inline bool IsSubchannelWrapperCleanupOnOrphanEnabled() { return false; }
inline bool IsTcpFrameSizeTuningEnabled() { return false; }
inline bool IsTcpRcvLowatEnabled() { return false; }
inline bool IsTsiFrameProtectorWithoutLocksEnabled() { return false; }
inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() { return false; }
inline bool IsUseCallEventEngineInCompletionQueueEnabled() { return false; }
inline bool IsWildcardIpExpansionRestrictionEnabled() { return false; }
#define GRPC_EXPERIMENT_IS_INCLUDED_XDS_CHANNEL_FILTER_CHAIN_PER_ROUTE
inline bool IsXdsChannelFilterChainPerRouteEnabled() { return true; }
#endif

#else
enum ExperimentIds {
  kExperimentIdBufferListDeletionPrep,
  kExperimentIdCallTracerInTransport,
  kExperimentIdCallTracerSendInitialMetadataIsAnAnnotation,
  kExperimentIdCallTracerSendTrailingMetadataIsAnAnnotation,
  kExperimentIdChaoticGoodConnectDeadline,
  kExperimentIdChaoticGoodFramingLayer,
  kExperimentIdChaoticGoodSendSupportedFeatures,
  kExperimentIdErrorFlatten,
  kExperimentIdEventEngineClient,
  kExperimentIdEventEngineDns,
  kExperimentIdEventEngineDnsNonClientChannel,
  kExperimentIdEventEngineFork,
  kExperimentIdEventEngineListener,
  kExperimentIdEventEngineCallbackCq,
  kExperimentIdEventEngineForAllOtherEndpoints,
  kExperimentIdEventEnginePollerForPython,
  kExperimentIdFailRecvMetadataOnDeadlineExceeded,
  kExperimentIdFreeLargeAllocator,
  kExperimentIdFuseFilters,
  kExperimentIdKeepAlivePingTimerBatch,
  kExperimentIdLocalConnectorSecure,
  kExperimentIdMaxInflightPingsStrictLimit,
  kExperimentIdMetadataPublishToAppTag,
  kExperimentIdMonitoringExperiment,
  kExperimentIdMultiping,
  kExperimentIdOtelExportTelemetryDomains,
  kExperimentIdPickFirstIgnoreEmptyUpdates,
  kExperimentIdPickFirstReadyToConnecting,
  kExperimentIdPipelinedReadSecureEndpoint,
  kExperimentIdPollsetAlternative,
  kExperimentIdPrioritizeFinishedRequests,
  kExperimentIdPromiseBasedHttp2ClientTransport,
  kExperimentIdPromiseBasedHttp2ServerTransport,
  kExperimentIdPromiseBasedInprocTransport,
  kExperimentIdPromiseFilterSendCancelMetadata,
  kExperimentIdRetryInCallv3,
  kExperimentIdReturnPreexistingErrors,
  kExperimentIdRrWrrConnectFromRandomIndex,
  kExperimentIdScheduleCancellationOverWrite,
  kExperimentIdSecureEndpointOffloadLargeReads,
  kExperimentIdSecureEndpointOffloadLargeWrites,
  kExperimentIdSecureEndpointReadCoalescing,
  kExperimentIdSkipClearPeerOnCancellation,
  kExperimentIdSleepPromiseExecCtxRemoval,
  kExperimentIdSleepUseNonOwningWaker,
  kExperimentIdSubchannelConnectionScaling,
  kExperimentIdSubchannelWrapperCleanupOnOrphan,
  kExperimentIdTcpFrameSizeTuning,
  kExperimentIdTcpRcvLowat,
  kExperimentIdTsiFrameProtectorWithoutLocks,
  kExperimentIdUnconstrainedMaxQuotaBufferSize,
  kExperimentIdUseCallEventEngineInCompletionQueue,
  kExperimentIdWildcardIpExpansionRestriction,
  kExperimentIdXdsChannelFilterChainPerRoute,
  kNumExperiments
};
#define GRPC_EXPERIMENT_IS_INCLUDED_BUFFER_LIST_DELETION_PREP
inline bool IsBufferListDeletionPrepEnabled() {
  return IsExperimentEnabled<kExperimentIdBufferListDeletionPrep>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_IN_TRANSPORT
inline bool IsCallTracerInTransportEnabled() {
  return IsExperimentEnabled<kExperimentIdCallTracerInTransport>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_SEND_INITIAL_METADATA_IS_AN_ANNOTATION
inline bool IsCallTracerSendInitialMetadataIsAnAnnotationEnabled() {
  return IsExperimentEnabled<
      kExperimentIdCallTracerSendInitialMetadataIsAnAnnotation>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CALL_TRACER_SEND_TRAILING_METADATA_IS_AN_ANNOTATION
inline bool IsCallTracerSendTrailingMetadataIsAnAnnotationEnabled() {
  return IsExperimentEnabled<
      kExperimentIdCallTracerSendTrailingMetadataIsAnAnnotation>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_CONNECT_DEADLINE
inline bool IsChaoticGoodConnectDeadlineEnabled() {
  return IsExperimentEnabled<kExperimentIdChaoticGoodConnectDeadline>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_FRAMING_LAYER
inline bool IsChaoticGoodFramingLayerEnabled() {
  return IsExperimentEnabled<kExperimentIdChaoticGoodFramingLayer>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_CHAOTIC_GOOD_SEND_SUPPORTED_FEATURES
inline bool IsChaoticGoodSendSupportedFeaturesEnabled() {
  return IsExperimentEnabled<kExperimentIdChaoticGoodSendSupportedFeatures>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_ERROR_FLATTEN
inline bool IsErrorFlattenEnabled() {
  return IsExperimentEnabled<kExperimentIdErrorFlatten>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CLIENT
inline bool IsEventEngineClientEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineClient>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS
inline bool IsEventEngineDnsEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineDns>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_DNS_NON_CLIENT_CHANNEL
inline bool IsEventEngineDnsNonClientChannelEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineDnsNonClientChannel>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FORK
inline bool IsEventEngineForkEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineFork>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_LISTENER
inline bool IsEventEngineListenerEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineListener>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_CALLBACK_CQ
inline bool IsEventEngineCallbackCqEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineCallbackCq>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_FOR_ALL_OTHER_ENDPOINTS
inline bool IsEventEngineForAllOtherEndpointsEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEngineForAllOtherEndpoints>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_EVENT_ENGINE_POLLER_FOR_PYTHON
inline bool IsEventEnginePollerForPythonEnabled() {
  return IsExperimentEnabled<kExperimentIdEventEnginePollerForPython>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_FAIL_RECV_METADATA_ON_DEADLINE_EXCEEDED
inline bool IsFailRecvMetadataOnDeadlineExceededEnabled() {
  return IsExperimentEnabled<kExperimentIdFailRecvMetadataOnDeadlineExceeded>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_FREE_LARGE_ALLOCATOR
inline bool IsFreeLargeAllocatorEnabled() {
  return IsExperimentEnabled<kExperimentIdFreeLargeAllocator>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_FUSE_FILTERS
inline bool IsFuseFiltersEnabled() {
  return IsExperimentEnabled<kExperimentIdFuseFilters>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_KEEP_ALIVE_PING_TIMER_BATCH
inline bool IsKeepAlivePingTimerBatchEnabled() {
  return IsExperimentEnabled<kExperimentIdKeepAlivePingTimerBatch>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_LOCAL_CONNECTOR_SECURE
inline bool IsLocalConnectorSecureEnabled() {
  return IsExperimentEnabled<kExperimentIdLocalConnectorSecure>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_MAX_INFLIGHT_PINGS_STRICT_LIMIT
inline bool IsMaxInflightPingsStrictLimitEnabled() {
  return IsExperimentEnabled<kExperimentIdMaxInflightPingsStrictLimit>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_METADATA_PUBLISH_TO_APP_TAG
inline bool IsMetadataPublishToAppTagEnabled() {
  return IsExperimentEnabled<kExperimentIdMetadataPublishToAppTag>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_MONITORING_EXPERIMENT
inline bool IsMonitoringExperimentEnabled() {
  return IsExperimentEnabled<kExperimentIdMonitoringExperiment>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_MULTIPING
inline bool IsMultipingEnabled() {
  return IsExperimentEnabled<kExperimentIdMultiping>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_OTEL_EXPORT_TELEMETRY_DOMAINS
inline bool IsOtelExportTelemetryDomainsEnabled() {
  return IsExperimentEnabled<kExperimentIdOtelExportTelemetryDomains>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_IGNORE_EMPTY_UPDATES
inline bool IsPickFirstIgnoreEmptyUpdatesEnabled() {
  return IsExperimentEnabled<kExperimentIdPickFirstIgnoreEmptyUpdates>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PICK_FIRST_READY_TO_CONNECTING
inline bool IsPickFirstReadyToConnectingEnabled() {
  return IsExperimentEnabled<kExperimentIdPickFirstReadyToConnecting>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PIPELINED_READ_SECURE_ENDPOINT
inline bool IsPipelinedReadSecureEndpointEnabled() {
  return IsExperimentEnabled<kExperimentIdPipelinedReadSecureEndpoint>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_POLLSET_ALTERNATIVE
inline bool IsPollsetAlternativeEnabled() {
  return IsExperimentEnabled<kExperimentIdPollsetAlternative>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PRIORITIZE_FINISHED_REQUESTS
inline bool IsPrioritizeFinishedRequestsEnabled() {
  return IsExperimentEnabled<kExperimentIdPrioritizeFinishedRequests>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_HTTP2_CLIENT_TRANSPORT
inline bool IsPromiseBasedHttp2ClientTransportEnabled() {
  return IsExperimentEnabled<kExperimentIdPromiseBasedHttp2ClientTransport>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_HTTP2_SERVER_TRANSPORT
inline bool IsPromiseBasedHttp2ServerTransportEnabled() {
  return IsExperimentEnabled<kExperimentIdPromiseBasedHttp2ServerTransport>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_BASED_INPROC_TRANSPORT
inline bool IsPromiseBasedInprocTransportEnabled() {
  return IsExperimentEnabled<kExperimentIdPromiseBasedInprocTransport>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_PROMISE_FILTER_SEND_CANCEL_METADATA
inline bool IsPromiseFilterSendCancelMetadataEnabled() {
  return IsExperimentEnabled<kExperimentIdPromiseFilterSendCancelMetadata>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_RETRY_IN_CALLV3
inline bool IsRetryInCallv3Enabled() {
  return IsExperimentEnabled<kExperimentIdRetryInCallv3>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_RETURN_PREEXISTING_ERRORS
inline bool IsReturnPreexistingErrorsEnabled() {
  return IsExperimentEnabled<kExperimentIdReturnPreexistingErrors>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_RR_WRR_CONNECT_FROM_RANDOM_INDEX
inline bool IsRrWrrConnectFromRandomIndexEnabled() {
  return IsExperimentEnabled<kExperimentIdRrWrrConnectFromRandomIndex>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SCHEDULE_CANCELLATION_OVER_WRITE
inline bool IsScheduleCancellationOverWriteEnabled() {
  return IsExperimentEnabled<kExperimentIdScheduleCancellationOverWrite>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SECURE_ENDPOINT_OFFLOAD_LARGE_READS
inline bool IsSecureEndpointOffloadLargeReadsEnabled() {
  return IsExperimentEnabled<kExperimentIdSecureEndpointOffloadLargeReads>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SECURE_ENDPOINT_OFFLOAD_LARGE_WRITES
inline bool IsSecureEndpointOffloadLargeWritesEnabled() {
  return IsExperimentEnabled<kExperimentIdSecureEndpointOffloadLargeWrites>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SECURE_ENDPOINT_READ_COALESCING
inline bool IsSecureEndpointReadCoalescingEnabled() {
  return IsExperimentEnabled<kExperimentIdSecureEndpointReadCoalescing>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SKIP_CLEAR_PEER_ON_CANCELLATION
inline bool IsSkipClearPeerOnCancellationEnabled() {
  return IsExperimentEnabled<kExperimentIdSkipClearPeerOnCancellation>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SLEEP_PROMISE_EXEC_CTX_REMOVAL
inline bool IsSleepPromiseExecCtxRemovalEnabled() {
  return IsExperimentEnabled<kExperimentIdSleepPromiseExecCtxRemoval>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SLEEP_USE_NON_OWNING_WAKER
inline bool IsSleepUseNonOwningWakerEnabled() {
  return IsExperimentEnabled<kExperimentIdSleepUseNonOwningWaker>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SUBCHANNEL_CONNECTION_SCALING
inline bool IsSubchannelConnectionScalingEnabled() {
  return IsExperimentEnabled<kExperimentIdSubchannelConnectionScaling>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_SUBCHANNEL_WRAPPER_CLEANUP_ON_ORPHAN
inline bool IsSubchannelWrapperCleanupOnOrphanEnabled() {
  return IsExperimentEnabled<kExperimentIdSubchannelWrapperCleanupOnOrphan>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_TCP_FRAME_SIZE_TUNING
inline bool IsTcpFrameSizeTuningEnabled() {
  return IsExperimentEnabled<kExperimentIdTcpFrameSizeTuning>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_TCP_RCV_LOWAT
inline bool IsTcpRcvLowatEnabled() {
  return IsExperimentEnabled<kExperimentIdTcpRcvLowat>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_TSI_FRAME_PROTECTOR_WITHOUT_LOCKS
inline bool IsTsiFrameProtectorWithoutLocksEnabled() {
  return IsExperimentEnabled<kExperimentIdTsiFrameProtectorWithoutLocks>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_UNCONSTRAINED_MAX_QUOTA_BUFFER_SIZE
inline bool IsUnconstrainedMaxQuotaBufferSizeEnabled() {
  return IsExperimentEnabled<kExperimentIdUnconstrainedMaxQuotaBufferSize>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_USE_CALL_EVENT_ENGINE_IN_COMPLETION_QUEUE
inline bool IsUseCallEventEngineInCompletionQueueEnabled() {
  return IsExperimentEnabled<
      kExperimentIdUseCallEventEngineInCompletionQueue>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_WILDCARD_IP_EXPANSION_RESTRICTION
inline bool IsWildcardIpExpansionRestrictionEnabled() {
  return IsExperimentEnabled<kExperimentIdWildcardIpExpansionRestriction>();
}
#define GRPC_EXPERIMENT_IS_INCLUDED_XDS_CHANNEL_FILTER_CHAIN_PER_ROUTE
inline bool IsXdsChannelFilterChainPerRouteEnabled() {
  return IsExperimentEnabled<kExperimentIdXdsChannelFilterChainPerRoute>();
}

extern const ExperimentMetadata g_experiment_metadata[kNumExperiments];

#endif
}  // namespace grpc_core

#endif  // GRPC_SRC_CORE_LIB_EXPERIMENTS_EXPERIMENTS_H
