Class HTTPFault

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HTTPFaultOrBuilder, java.io.Serializable

    public final class HTTPFault
    extends com.google.protobuf.GeneratedMessage
    implements HTTPFaultOrBuilder
     [#next-free-field: 17]
     
    Protobuf type envoy.extensions.filters.http.fault.v3.HTTPFault
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • UPSTREAM_CLUSTER_FIELD_NUMBER

        public static final int UPSTREAM_CLUSTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • upstreamCluster_

        private volatile java.lang.Object upstreamCluster_
      • DOWNSTREAM_NODES_FIELD_NUMBER

        public static final int DOWNSTREAM_NODES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • downstreamNodes_

        private com.google.protobuf.LazyStringArrayList downstreamNodes_
      • MAX_ACTIVE_FAULTS_FIELD_NUMBER

        public static final int MAX_ACTIVE_FAULTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • maxActiveFaults_

        private com.google.protobuf.UInt32Value maxActiveFaults_
      • RESPONSE_RATE_LIMIT_FIELD_NUMBER

        public static final int RESPONSE_RATE_LIMIT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DELAY_PERCENT_RUNTIME_FIELD_NUMBER

        public static final int DELAY_PERCENT_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • delayPercentRuntime_

        private volatile java.lang.Object delayPercentRuntime_
      • ABORT_PERCENT_RUNTIME_FIELD_NUMBER

        public static final int ABORT_PERCENT_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • abortPercentRuntime_

        private volatile java.lang.Object abortPercentRuntime_
      • DELAY_DURATION_RUNTIME_FIELD_NUMBER

        public static final int DELAY_DURATION_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • delayDurationRuntime_

        private volatile java.lang.Object delayDurationRuntime_
      • ABORT_HTTP_STATUS_RUNTIME_FIELD_NUMBER

        public static final int ABORT_HTTP_STATUS_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • abortHttpStatusRuntime_

        private volatile java.lang.Object abortHttpStatusRuntime_
      • MAX_ACTIVE_FAULTS_RUNTIME_FIELD_NUMBER

        public static final int MAX_ACTIVE_FAULTS_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • maxActiveFaultsRuntime_

        private volatile java.lang.Object maxActiveFaultsRuntime_
      • RESPONSE_RATE_LIMIT_PERCENT_RUNTIME_FIELD_NUMBER

        public static final int RESPONSE_RATE_LIMIT_PERCENT_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • responseRateLimitPercentRuntime_

        private volatile java.lang.Object responseRateLimitPercentRuntime_
      • ABORT_GRPC_STATUS_RUNTIME_FIELD_NUMBER

        public static final int ABORT_GRPC_STATUS_RUNTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • abortGrpcStatusRuntime_

        private volatile java.lang.Object abortGrpcStatusRuntime_
      • DISABLE_DOWNSTREAM_CLUSTER_STATS_FIELD_NUMBER

        public static final int DISABLE_DOWNSTREAM_CLUSTER_STATS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • disableDownstreamClusterStats_

        private boolean disableDownstreamClusterStats_
      • FILTER_METADATA_FIELD_NUMBER

        public static final int FILTER_METADATA_FIELD_NUMBER
        See Also:
        Constant Field Values
      • filterMetadata_

        private com.google.protobuf.Struct filterMetadata_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • DEFAULT_INSTANCE

        private static final HTTPFault DEFAULT_INSTANCE
      • PARSER

        private static final com.google.protobuf.Parser<HTTPFault> PARSER
    • Constructor Detail

      • HTTPFault

        private HTTPFault​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • HTTPFault

        private HTTPFault()
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasDelay

        public boolean hasDelay()
         If specified, the filter will inject delays based on the values in the
         object.
         
        .envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
        Specified by:
        hasDelay in interface HTTPFaultOrBuilder
        Returns:
        Whether the delay field is set.
      • getDelay

        public FaultDelay getDelay()
         If specified, the filter will inject delays based on the values in the
         object.
         
        .envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
        Specified by:
        getDelay in interface HTTPFaultOrBuilder
        Returns:
        The delay.
      • getDelayOrBuilder

        public FaultDelayOrBuilder getDelayOrBuilder()
         If specified, the filter will inject delays based on the values in the
         object.
         
        .envoy.extensions.filters.common.fault.v3.FaultDelay delay = 1;
        Specified by:
        getDelayOrBuilder in interface HTTPFaultOrBuilder
      • hasAbort

        public boolean hasAbort()
         If specified, the filter will abort requests based on the values in
         the object. At least ``abort`` or ``delay`` must be specified.
         
        .envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
        Specified by:
        hasAbort in interface HTTPFaultOrBuilder
        Returns:
        Whether the abort field is set.
      • getAbort

        public FaultAbort getAbort()
         If specified, the filter will abort requests based on the values in
         the object. At least ``abort`` or ``delay`` must be specified.
         
        .envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
        Specified by:
        getAbort in interface HTTPFaultOrBuilder
        Returns:
        The abort.
      • getAbortOrBuilder

        public FaultAbortOrBuilder getAbortOrBuilder()
         If specified, the filter will abort requests based on the values in
         the object. At least ``abort`` or ``delay`` must be specified.
         
        .envoy.extensions.filters.http.fault.v3.FaultAbort abort = 2;
        Specified by:
        getAbortOrBuilder in interface HTTPFaultOrBuilder
      • getUpstreamCluster

        public java.lang.String getUpstreamCluster()
         Specifies the name of the (destination) upstream cluster that the
         filter should match on. Fault injection will be restricted to requests
         bound to the specific upstream cluster.
         
        string upstream_cluster = 3;
        Specified by:
        getUpstreamCluster in interface HTTPFaultOrBuilder
        Returns:
        The upstreamCluster.
      • getUpstreamClusterBytes

        public com.google.protobuf.ByteString getUpstreamClusterBytes()
         Specifies the name of the (destination) upstream cluster that the
         filter should match on. Fault injection will be restricted to requests
         bound to the specific upstream cluster.
         
        string upstream_cluster = 3;
        Specified by:
        getUpstreamClusterBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for upstreamCluster.
      • getHeadersList

        public java.util.List<HeaderMatcher> getHeadersList()
         Specifies a set of headers that the filter should match on. The fault
         injection filter can be applied selectively to requests that match a set of
         headers specified in the fault filter config. The chances of actual fault
         injection further depend on the value of the :ref:`percentage
         <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field.
         The filter will check the request's headers against all the specified
         headers in the filter config. A match will happen if all the headers in the
         config are present in the request with the same values (or based on
         presence if the ``value`` field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
        Specified by:
        getHeadersList in interface HTTPFaultOrBuilder
      • getHeadersOrBuilderList

        public java.util.List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
         Specifies a set of headers that the filter should match on. The fault
         injection filter can be applied selectively to requests that match a set of
         headers specified in the fault filter config. The chances of actual fault
         injection further depend on the value of the :ref:`percentage
         <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field.
         The filter will check the request's headers against all the specified
         headers in the filter config. A match will happen if all the headers in the
         config are present in the request with the same values (or based on
         presence if the ``value`` field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
        Specified by:
        getHeadersOrBuilderList in interface HTTPFaultOrBuilder
      • getHeadersCount

        public int getHeadersCount()
         Specifies a set of headers that the filter should match on. The fault
         injection filter can be applied selectively to requests that match a set of
         headers specified in the fault filter config. The chances of actual fault
         injection further depend on the value of the :ref:`percentage
         <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field.
         The filter will check the request's headers against all the specified
         headers in the filter config. A match will happen if all the headers in the
         config are present in the request with the same values (or based on
         presence if the ``value`` field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
        Specified by:
        getHeadersCount in interface HTTPFaultOrBuilder
      • getHeaders

        public HeaderMatcher getHeaders​(int index)
         Specifies a set of headers that the filter should match on. The fault
         injection filter can be applied selectively to requests that match a set of
         headers specified in the fault filter config. The chances of actual fault
         injection further depend on the value of the :ref:`percentage
         <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field.
         The filter will check the request's headers against all the specified
         headers in the filter config. A match will happen if all the headers in the
         config are present in the request with the same values (or based on
         presence if the ``value`` field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
        Specified by:
        getHeaders in interface HTTPFaultOrBuilder
      • getHeadersOrBuilder

        public HeaderMatcherOrBuilder getHeadersOrBuilder​(int index)
         Specifies a set of headers that the filter should match on. The fault
         injection filter can be applied selectively to requests that match a set of
         headers specified in the fault filter config. The chances of actual fault
         injection further depend on the value of the :ref:`percentage
         <envoy_v3_api_field_extensions.filters.http.fault.v3.FaultAbort.percentage>` field.
         The filter will check the request's headers against all the specified
         headers in the filter config. A match will happen if all the headers in the
         config are present in the request with the same values (or based on
         presence if the ``value`` field is not in the config).
         
        repeated .envoy.config.route.v3.HeaderMatcher headers = 4;
        Specified by:
        getHeadersOrBuilder in interface HTTPFaultOrBuilder
      • getDownstreamNodesList

        public com.google.protobuf.ProtocolStringList getDownstreamNodesList()
         Faults are injected for the specified list of downstream hosts. If this
         setting is not set, faults are injected for all downstream nodes.
         Downstream node name is taken from :ref:`the HTTP
         x-envoy-downstream-service-node
         <config_http_conn_man_headers_downstream-service-node>` header and compared
         against downstream_nodes list.
         
        repeated string downstream_nodes = 5;
        Specified by:
        getDownstreamNodesList in interface HTTPFaultOrBuilder
        Returns:
        A list containing the downstreamNodes.
      • getDownstreamNodesCount

        public int getDownstreamNodesCount()
         Faults are injected for the specified list of downstream hosts. If this
         setting is not set, faults are injected for all downstream nodes.
         Downstream node name is taken from :ref:`the HTTP
         x-envoy-downstream-service-node
         <config_http_conn_man_headers_downstream-service-node>` header and compared
         against downstream_nodes list.
         
        repeated string downstream_nodes = 5;
        Specified by:
        getDownstreamNodesCount in interface HTTPFaultOrBuilder
        Returns:
        The count of downstreamNodes.
      • getDownstreamNodes

        public java.lang.String getDownstreamNodes​(int index)
         Faults are injected for the specified list of downstream hosts. If this
         setting is not set, faults are injected for all downstream nodes.
         Downstream node name is taken from :ref:`the HTTP
         x-envoy-downstream-service-node
         <config_http_conn_man_headers_downstream-service-node>` header and compared
         against downstream_nodes list.
         
        repeated string downstream_nodes = 5;
        Specified by:
        getDownstreamNodes in interface HTTPFaultOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The downstreamNodes at the given index.
      • getDownstreamNodesBytes

        public com.google.protobuf.ByteString getDownstreamNodesBytes​(int index)
         Faults are injected for the specified list of downstream hosts. If this
         setting is not set, faults are injected for all downstream nodes.
         Downstream node name is taken from :ref:`the HTTP
         x-envoy-downstream-service-node
         <config_http_conn_man_headers_downstream-service-node>` header and compared
         against downstream_nodes list.
         
        repeated string downstream_nodes = 5;
        Specified by:
        getDownstreamNodesBytes in interface HTTPFaultOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the downstreamNodes at the given index.
      • hasMaxActiveFaults

        public boolean hasMaxActiveFaults()
         The maximum number of faults that can be active at a single time via the configured fault
         filter. Note that because this setting can be overridden at the route level, it's possible
         for the number of active faults to be greater than this value (if injected via a different
         route). If not specified, defaults to unlimited. This setting can be overridden via
         ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected
         due to overflow will be indicated via the ``faults_overflow
         <config_http_filters_fault_injection_stats>`` stat.
        
         .. attention::
         Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy
         limit. It's possible for the number of active faults to rise slightly above the configured
         amount due to the implementation details.
         
        .google.protobuf.UInt32Value max_active_faults = 6;
        Specified by:
        hasMaxActiveFaults in interface HTTPFaultOrBuilder
        Returns:
        Whether the maxActiveFaults field is set.
      • getMaxActiveFaults

        public com.google.protobuf.UInt32Value getMaxActiveFaults()
         The maximum number of faults that can be active at a single time via the configured fault
         filter. Note that because this setting can be overridden at the route level, it's possible
         for the number of active faults to be greater than this value (if injected via a different
         route). If not specified, defaults to unlimited. This setting can be overridden via
         ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected
         due to overflow will be indicated via the ``faults_overflow
         <config_http_filters_fault_injection_stats>`` stat.
        
         .. attention::
         Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy
         limit. It's possible for the number of active faults to rise slightly above the configured
         amount due to the implementation details.
         
        .google.protobuf.UInt32Value max_active_faults = 6;
        Specified by:
        getMaxActiveFaults in interface HTTPFaultOrBuilder
        Returns:
        The maxActiveFaults.
      • getMaxActiveFaultsOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getMaxActiveFaultsOrBuilder()
         The maximum number of faults that can be active at a single time via the configured fault
         filter. Note that because this setting can be overridden at the route level, it's possible
         for the number of active faults to be greater than this value (if injected via a different
         route). If not specified, defaults to unlimited. This setting can be overridden via
         ``runtime <config_http_filters_fault_injection_runtime>`` and any faults that are not injected
         due to overflow will be indicated via the ``faults_overflow
         <config_http_filters_fault_injection_stats>`` stat.
        
         .. attention::
         Like other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this is a fuzzy
         limit. It's possible for the number of active faults to rise slightly above the configured
         amount due to the implementation details.
         
        .google.protobuf.UInt32Value max_active_faults = 6;
        Specified by:
        getMaxActiveFaultsOrBuilder in interface HTTPFaultOrBuilder
      • hasResponseRateLimit

        public boolean hasResponseRateLimit()
         The response rate limit to be applied to the response body of the stream. When configured,
         the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent
         <config_http_filters_fault_injection_runtime>` runtime key.
        
         .. attention::
         This is a per-stream limit versus a connection level limit. This means that concurrent streams
         will each get an independent limit.
         
        .envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
        Specified by:
        hasResponseRateLimit in interface HTTPFaultOrBuilder
        Returns:
        Whether the responseRateLimit field is set.
      • getResponseRateLimit

        public FaultRateLimit getResponseRateLimit()
         The response rate limit to be applied to the response body of the stream. When configured,
         the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent
         <config_http_filters_fault_injection_runtime>` runtime key.
        
         .. attention::
         This is a per-stream limit versus a connection level limit. This means that concurrent streams
         will each get an independent limit.
         
        .envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
        Specified by:
        getResponseRateLimit in interface HTTPFaultOrBuilder
        Returns:
        The responseRateLimit.
      • getResponseRateLimitOrBuilder

        public FaultRateLimitOrBuilder getResponseRateLimitOrBuilder()
         The response rate limit to be applied to the response body of the stream. When configured,
         the percentage can be overridden by the :ref:`fault.http.rate_limit.response_percent
         <config_http_filters_fault_injection_runtime>` runtime key.
        
         .. attention::
         This is a per-stream limit versus a connection level limit. This means that concurrent streams
         will each get an independent limit.
         
        .envoy.extensions.filters.common.fault.v3.FaultRateLimit response_rate_limit = 7;
        Specified by:
        getResponseRateLimitOrBuilder in interface HTTPFaultOrBuilder
      • getDelayPercentRuntime

        public java.lang.String getDelayPercentRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.delay.fixed_delay_percent
         
        string delay_percent_runtime = 8;
        Specified by:
        getDelayPercentRuntime in interface HTTPFaultOrBuilder
        Returns:
        The delayPercentRuntime.
      • getDelayPercentRuntimeBytes

        public com.google.protobuf.ByteString getDelayPercentRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.delay.fixed_delay_percent
         
        string delay_percent_runtime = 8;
        Specified by:
        getDelayPercentRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for delayPercentRuntime.
      • getAbortPercentRuntime

        public java.lang.String getAbortPercentRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.abort.abort_percent
         
        string abort_percent_runtime = 9;
        Specified by:
        getAbortPercentRuntime in interface HTTPFaultOrBuilder
        Returns:
        The abortPercentRuntime.
      • getAbortPercentRuntimeBytes

        public com.google.protobuf.ByteString getAbortPercentRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.abort.abort_percent
         
        string abort_percent_runtime = 9;
        Specified by:
        getAbortPercentRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for abortPercentRuntime.
      • getDelayDurationRuntime

        public java.lang.String getDelayDurationRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.delay.fixed_duration_ms
         
        string delay_duration_runtime = 10;
        Specified by:
        getDelayDurationRuntime in interface HTTPFaultOrBuilder
        Returns:
        The delayDurationRuntime.
      • getDelayDurationRuntimeBytes

        public com.google.protobuf.ByteString getDelayDurationRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.delay.fixed_duration_ms
         
        string delay_duration_runtime = 10;
        Specified by:
        getDelayDurationRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for delayDurationRuntime.
      • getAbortHttpStatusRuntime

        public java.lang.String getAbortHttpStatusRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.abort.http_status
         
        string abort_http_status_runtime = 11;
        Specified by:
        getAbortHttpStatusRuntime in interface HTTPFaultOrBuilder
        Returns:
        The abortHttpStatusRuntime.
      • getAbortHttpStatusRuntimeBytes

        public com.google.protobuf.ByteString getAbortHttpStatusRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.abort.http_status
         
        string abort_http_status_runtime = 11;
        Specified by:
        getAbortHttpStatusRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for abortHttpStatusRuntime.
      • getMaxActiveFaultsRuntime

        public java.lang.String getMaxActiveFaultsRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.max_active_faults
         
        string max_active_faults_runtime = 12;
        Specified by:
        getMaxActiveFaultsRuntime in interface HTTPFaultOrBuilder
        Returns:
        The maxActiveFaultsRuntime.
      • getMaxActiveFaultsRuntimeBytes

        public com.google.protobuf.ByteString getMaxActiveFaultsRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.max_active_faults
         
        string max_active_faults_runtime = 12;
        Specified by:
        getMaxActiveFaultsRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for maxActiveFaultsRuntime.
      • getResponseRateLimitPercentRuntime

        public java.lang.String getResponseRateLimitPercentRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.rate_limit.response_percent
         
        string response_rate_limit_percent_runtime = 13;
        Specified by:
        getResponseRateLimitPercentRuntime in interface HTTPFaultOrBuilder
        Returns:
        The responseRateLimitPercentRuntime.
      • getResponseRateLimitPercentRuntimeBytes

        public com.google.protobuf.ByteString getResponseRateLimitPercentRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.rate_limit.response_percent
         
        string response_rate_limit_percent_runtime = 13;
        Specified by:
        getResponseRateLimitPercentRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for responseRateLimitPercentRuntime.
      • getAbortGrpcStatusRuntime

        public java.lang.String getAbortGrpcStatusRuntime()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.abort.grpc_status
         
        string abort_grpc_status_runtime = 14;
        Specified by:
        getAbortGrpcStatusRuntime in interface HTTPFaultOrBuilder
        Returns:
        The abortGrpcStatusRuntime.
      • getAbortGrpcStatusRuntimeBytes

        public com.google.protobuf.ByteString getAbortGrpcStatusRuntimeBytes()
         The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
         runtime. The default is: fault.http.abort.grpc_status
         
        string abort_grpc_status_runtime = 14;
        Specified by:
        getAbortGrpcStatusRuntimeBytes in interface HTTPFaultOrBuilder
        Returns:
        The bytes for abortGrpcStatusRuntime.
      • getDisableDownstreamClusterStats

        public boolean getDisableDownstreamClusterStats()
         To control whether stats storage is allocated dynamically for each downstream server.
         If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter.
         If set to false, dynamic stats storage will be allocated for the downstream cluster name.
         Default value is false.
         
        bool disable_downstream_cluster_stats = 15;
        Specified by:
        getDisableDownstreamClusterStats in interface HTTPFaultOrBuilder
        Returns:
        The disableDownstreamClusterStats.
      • hasFilterMetadata

        public boolean hasFilterMetadata()
         When an abort or delay fault is executed, the metadata struct provided here will be added to the
         request's dynamic metadata under the namespace corresponding to the name of the fault filter.
         This data can be logged as part of Access Logs using the :ref:`command operator
         <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of
         the fault filter.
         
        .google.protobuf.Struct filter_metadata = 16;
        Specified by:
        hasFilterMetadata in interface HTTPFaultOrBuilder
        Returns:
        Whether the filterMetadata field is set.
      • getFilterMetadata

        public com.google.protobuf.Struct getFilterMetadata()
         When an abort or delay fault is executed, the metadata struct provided here will be added to the
         request's dynamic metadata under the namespace corresponding to the name of the fault filter.
         This data can be logged as part of Access Logs using the :ref:`command operator
         <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of
         the fault filter.
         
        .google.protobuf.Struct filter_metadata = 16;
        Specified by:
        getFilterMetadata in interface HTTPFaultOrBuilder
        Returns:
        The filterMetadata.
      • getFilterMetadataOrBuilder

        public com.google.protobuf.StructOrBuilder getFilterMetadataOrBuilder()
         When an abort or delay fault is executed, the metadata struct provided here will be added to the
         request's dynamic metadata under the namespace corresponding to the name of the fault filter.
         This data can be logged as part of Access Logs using the :ref:`command operator
         <config_access_log_command_operators>` %DYNAMIC_METADATA(NAMESPACE)%, where NAMESPACE is the name of
         the fault filter.
         
        .google.protobuf.Struct filter_metadata = 16;
        Specified by:
        getFilterMetadataOrBuilder in interface HTTPFaultOrBuilder
      • isInitialized

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

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

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

        public boolean equals​(java.lang.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 HTTPFault parseFrom​(java.nio.ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static HTTPFault parseFrom​(java.io.InputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HTTPFault parseFrom​(java.io.InputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static HTTPFault parseDelimitedFrom​(java.io.InputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static HTTPFault parseDelimitedFrom​(java.io.InputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HTTPFault parseFrom​(com.google.protobuf.CodedInputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static HTTPFault parseFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected HTTPFault.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getDefaultInstance

        public static HTTPFault getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<HTTPFault> parser()
      • getParserForType

        public com.google.protobuf.Parser<HTTPFault> 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.GeneratedMessage
      • getDefaultInstanceForType

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