Class RouteMatch.TlsContextMatchOptions.Builder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int bitField0_  
      private com.google.protobuf.BoolValue presented_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> presentedBuilder_  
      private com.google.protobuf.BoolValue validated_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> validatedBuilder_  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder()  
      private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
    • Field Detail

      • bitField0_

        private int bitField0_
      • presented_

        private com.google.protobuf.BoolValue presented_
      • presentedBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> presentedBuilder_
      • validated_

        private com.google.protobuf.BoolValue validated_
      • validatedBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> validatedBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • 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.Builder<RouteMatch.TlsContextMatchOptions.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>
      • getDefaultInstanceForType

        public RouteMatch.TlsContextMatchOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RouteMatch.TlsContextMatchOptions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RouteMatch.TlsContextMatchOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>
      • mergeFrom

        public RouteMatch.TlsContextMatchOptions.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>
        Throws:
        java.io.IOException
      • hasPresented

        public boolean hasPresented()
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
        Specified by:
        hasPresented in interface RouteMatch.TlsContextMatchOptionsOrBuilder
        Returns:
        Whether the presented field is set.
      • getPresented

        public com.google.protobuf.BoolValue getPresented()
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
        Specified by:
        getPresented in interface RouteMatch.TlsContextMatchOptionsOrBuilder
        Returns:
        The presented.
      • setPresented

        public RouteMatch.TlsContextMatchOptions.Builder setPresented​(com.google.protobuf.BoolValue value)
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
      • setPresented

        public RouteMatch.TlsContextMatchOptions.Builder setPresented​(com.google.protobuf.BoolValue.Builder builderForValue)
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
      • mergePresented

        public RouteMatch.TlsContextMatchOptions.Builder mergePresented​(com.google.protobuf.BoolValue value)
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
      • clearPresented

        public RouteMatch.TlsContextMatchOptions.Builder clearPresented()
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
      • getPresentedBuilder

        public com.google.protobuf.BoolValue.Builder getPresentedBuilder()
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
      • getPresentedOrBuilder

        public com.google.protobuf.BoolValueOrBuilder getPresentedOrBuilder()
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
        Specified by:
        getPresentedOrBuilder in interface RouteMatch.TlsContextMatchOptionsOrBuilder
      • getPresentedFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> getPresentedFieldBuilder()
         If specified, the route will match against whether or not a certificate is presented.
         If not specified, certificate presentation status (true or false) will not be considered when route matching.
         
        .google.protobuf.BoolValue presented = 1;
      • hasValidated

        public boolean hasValidated()
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
        Specified by:
        hasValidated in interface RouteMatch.TlsContextMatchOptionsOrBuilder
        Returns:
        Whether the validated field is set.
      • getValidated

        public com.google.protobuf.BoolValue getValidated()
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
        Specified by:
        getValidated in interface RouteMatch.TlsContextMatchOptionsOrBuilder
        Returns:
        The validated.
      • setValidated

        public RouteMatch.TlsContextMatchOptions.Builder setValidated​(com.google.protobuf.BoolValue value)
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
      • setValidated

        public RouteMatch.TlsContextMatchOptions.Builder setValidated​(com.google.protobuf.BoolValue.Builder builderForValue)
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
      • mergeValidated

        public RouteMatch.TlsContextMatchOptions.Builder mergeValidated​(com.google.protobuf.BoolValue value)
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
      • clearValidated

        public RouteMatch.TlsContextMatchOptions.Builder clearValidated()
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
      • getValidatedBuilder

        public com.google.protobuf.BoolValue.Builder getValidatedBuilder()
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
      • getValidatedOrBuilder

        public com.google.protobuf.BoolValueOrBuilder getValidatedOrBuilder()
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;
        Specified by:
        getValidatedOrBuilder in interface RouteMatch.TlsContextMatchOptionsOrBuilder
      • getValidatedFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,​com.google.protobuf.BoolValue.Builder,​com.google.protobuf.BoolValueOrBuilder> getValidatedFieldBuilder()
         If specified, the route will match against whether or not a certificate is validated.
         If not specified, certificate validation status (true or false) will not be considered when route matching.
        
         .. warning::
        
         Client certificate validation is not currently performed upon TLS session resumption. For
         a resumed TLS session the route will match only when ``validated`` is false, regardless of
         whether the client TLS certificate is valid.
        
         The only known workaround for this issue is to disable TLS session resumption entirely, by
         setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>`
         and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
         
        .google.protobuf.BoolValue validated = 2;