Class AccessLogFilter

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

    public final class AccessLogFilter
    extends com.google.protobuf.GeneratedMessage
    implements AccessLogFilterOrBuilder
     [#next-free-field: 14]
     
    Protobuf type envoy.config.accesslog.v3.AccessLogFilter
    See Also:
    Serialized Form
    • Field Detail

      • filterSpecifierCase_

        private int filterSpecifierCase_
      • filterSpecifier_

        private java.lang.Object filterSpecifier_
      • STATUS_CODE_FILTER_FIELD_NUMBER

        public static final int STATUS_CODE_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DURATION_FILTER_FIELD_NUMBER

        public static final int DURATION_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NOT_HEALTH_CHECK_FILTER_FIELD_NUMBER

        public static final int NOT_HEALTH_CHECK_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRACEABLE_FILTER_FIELD_NUMBER

        public static final int TRACEABLE_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RUNTIME_FILTER_FIELD_NUMBER

        public static final int RUNTIME_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AND_FILTER_FIELD_NUMBER

        public static final int AND_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEADER_FILTER_FIELD_NUMBER

        public static final int HEADER_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESPONSE_FLAG_FILTER_FIELD_NUMBER

        public static final int RESPONSE_FLAG_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GRPC_STATUS_FILTER_FIELD_NUMBER

        public static final int GRPC_STATUS_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXTENSION_FILTER_FIELD_NUMBER

        public static final int EXTENSION_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • METADATA_FILTER_FIELD_NUMBER

        public static final int METADATA_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOG_TYPE_FILTER_FIELD_NUMBER

        public static final int LOG_TYPE_FILTER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
      • PARSER

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

      • AccessLogFilter

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

        private AccessLogFilter()
    • 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
      • hasStatusCodeFilter

        public boolean hasStatusCodeFilter()
         Status code filter.
         
        .envoy.config.accesslog.v3.StatusCodeFilter status_code_filter = 1;
        Specified by:
        hasStatusCodeFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the statusCodeFilter field is set.
      • hasDurationFilter

        public boolean hasDurationFilter()
         Duration filter.
         
        .envoy.config.accesslog.v3.DurationFilter duration_filter = 2;
        Specified by:
        hasDurationFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the durationFilter field is set.
      • hasNotHealthCheckFilter

        public boolean hasNotHealthCheckFilter()
         Not health check filter.
         
        .envoy.config.accesslog.v3.NotHealthCheckFilter not_health_check_filter = 3;
        Specified by:
        hasNotHealthCheckFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the notHealthCheckFilter field is set.
      • hasTraceableFilter

        public boolean hasTraceableFilter()
         Traceable filter.
         
        .envoy.config.accesslog.v3.TraceableFilter traceable_filter = 4;
        Specified by:
        hasTraceableFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the traceableFilter field is set.
      • hasRuntimeFilter

        public boolean hasRuntimeFilter()
         Runtime filter.
         
        .envoy.config.accesslog.v3.RuntimeFilter runtime_filter = 5;
        Specified by:
        hasRuntimeFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the runtimeFilter field is set.
      • hasAndFilter

        public boolean hasAndFilter()
         And filter.
         
        .envoy.config.accesslog.v3.AndFilter and_filter = 6;
        Specified by:
        hasAndFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the andFilter field is set.
      • hasOrFilter

        public boolean hasOrFilter()
         Or filter.
         
        .envoy.config.accesslog.v3.OrFilter or_filter = 7;
        Specified by:
        hasOrFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the orFilter field is set.
      • hasHeaderFilter

        public boolean hasHeaderFilter()
         Header filter.
         
        .envoy.config.accesslog.v3.HeaderFilter header_filter = 8;
        Specified by:
        hasHeaderFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the headerFilter field is set.
      • hasResponseFlagFilter

        public boolean hasResponseFlagFilter()
         Response flag filter.
         
        .envoy.config.accesslog.v3.ResponseFlagFilter response_flag_filter = 9;
        Specified by:
        hasResponseFlagFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the responseFlagFilter field is set.
      • hasGrpcStatusFilter

        public boolean hasGrpcStatusFilter()
         gRPC status filter.
         
        .envoy.config.accesslog.v3.GrpcStatusFilter grpc_status_filter = 10;
        Specified by:
        hasGrpcStatusFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the grpcStatusFilter field is set.
      • hasExtensionFilter

        public boolean hasExtensionFilter()
         Extension filter.
         [#extension-category: envoy.access_loggers.extension_filters]
         
        .envoy.config.accesslog.v3.ExtensionFilter extension_filter = 11;
        Specified by:
        hasExtensionFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the extensionFilter field is set.
      • getExtensionFilter

        public ExtensionFilter getExtensionFilter()
         Extension filter.
         [#extension-category: envoy.access_loggers.extension_filters]
         
        .envoy.config.accesslog.v3.ExtensionFilter extension_filter = 11;
        Specified by:
        getExtensionFilter in interface AccessLogFilterOrBuilder
        Returns:
        The extensionFilter.
      • hasMetadataFilter

        public boolean hasMetadataFilter()
         Metadata Filter
         
        .envoy.config.accesslog.v3.MetadataFilter metadata_filter = 12;
        Specified by:
        hasMetadataFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the metadataFilter field is set.
      • hasLogTypeFilter

        public boolean hasLogTypeFilter()
         Log Type Filter
         
        .envoy.config.accesslog.v3.LogTypeFilter log_type_filter = 13;
        Specified by:
        hasLogTypeFilter in interface AccessLogFilterOrBuilder
        Returns:
        Whether the logTypeFilter field is set.
      • 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 AccessLogFilter parseFrom​(java.nio.ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<AccessLogFilter> 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 AccessLogFilter getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder