Class DeniedHttpResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • clear

        public DeniedHttpResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • 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.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • getDefaultInstanceForType

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

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

        public DeniedHttpResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DeniedHttpResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • setField

        public DeniedHttpResponse.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • clearField

        public DeniedHttpResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • clearOneof

        public DeniedHttpResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • setRepeatedField

        public DeniedHttpResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • addRepeatedField

        public DeniedHttpResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • mergeFrom

        public DeniedHttpResponse.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeniedHttpResponse.Builder>
      • isInitialized

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

        public DeniedHttpResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws 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<DeniedHttpResponse.Builder>
        Throws:
        IOException
      • hasStatus

        public boolean hasStatus()
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
        Specified by:
        hasStatus in interface DeniedHttpResponseOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public HttpStatus getStatus()
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatus in interface DeniedHttpResponseOrBuilder
        Returns:
        The status.
      • setStatus

        public DeniedHttpResponse.Builder setStatus​(HttpStatus value)
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
      • setStatus

        public DeniedHttpResponse.Builder setStatus​(HttpStatus.Builder builderForValue)
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
      • mergeStatus

        public DeniedHttpResponse.Builder mergeStatus​(HttpStatus value)
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
      • clearStatus

        public DeniedHttpResponse.Builder clearStatus()
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
      • getStatusBuilder

        public HttpStatus.Builder getStatusBuilder()
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
      • getStatusOrBuilder

        public HttpStatusOrBuilder getStatusOrBuilder()
         This field allows the authorization service to send a HTTP response status
         code to the downstream client other than 403 (Forbidden).
         
        .envoy.type.HttpStatus status = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatusOrBuilder in interface DeniedHttpResponseOrBuilder
      • getHeadersList

        public List<HeaderValueOption> getHeadersList()
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
        Specified by:
        getHeadersList in interface DeniedHttpResponseOrBuilder
      • getHeadersCount

        public int getHeadersCount()
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
        Specified by:
        getHeadersCount in interface DeniedHttpResponseOrBuilder
      • getHeaders

        public HeaderValueOption getHeaders​(int index)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
        Specified by:
        getHeaders in interface DeniedHttpResponseOrBuilder
      • setHeaders

        public DeniedHttpResponse.Builder setHeaders​(int index,
                                                     HeaderValueOption value)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • setHeaders

        public DeniedHttpResponse.Builder setHeaders​(int index,
                                                     HeaderValueOption.Builder builderForValue)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • addHeaders

        public DeniedHttpResponse.Builder addHeaders​(HeaderValueOption value)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • addHeaders

        public DeniedHttpResponse.Builder addHeaders​(int index,
                                                     HeaderValueOption value)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • addHeaders

        public DeniedHttpResponse.Builder addHeaders​(HeaderValueOption.Builder builderForValue)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • addHeaders

        public DeniedHttpResponse.Builder addHeaders​(int index,
                                                     HeaderValueOption.Builder builderForValue)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • addAllHeaders

        public DeniedHttpResponse.Builder addAllHeaders​(Iterable<? extends HeaderValueOption> values)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • clearHeaders

        public DeniedHttpResponse.Builder clearHeaders()
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • removeHeaders

        public DeniedHttpResponse.Builder removeHeaders​(int index)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeadersBuilder

        public HeaderValueOption.Builder getHeadersBuilder​(int index)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeadersOrBuilder

        public HeaderValueOptionOrBuilder getHeadersOrBuilder​(int index)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
        Specified by:
        getHeadersOrBuilder in interface DeniedHttpResponseOrBuilder
      • getHeadersOrBuilderList

        public List<? extends HeaderValueOptionOrBuilder> getHeadersOrBuilderList()
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
        Specified by:
        getHeadersOrBuilderList in interface DeniedHttpResponseOrBuilder
      • addHeadersBuilder

        public HeaderValueOption.Builder addHeadersBuilder()
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • addHeadersBuilder

        public HeaderValueOption.Builder addHeadersBuilder​(int index)
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getHeadersBuilderList

        public List<HeaderValueOption.Builder> getHeadersBuilderList()
         This field allows the authorization service to send HTTP response headers
         to the downstream client. Note that the `append` field in `HeaderValueOption` defaults to
         false when used in this message.
         
        repeated .envoy.api.v2.core.HeaderValueOption headers = 2;
      • getBody

        public String getBody()
         This field allows the authorization service to send a response body data
         to the downstream client.
         
        string body = 3;
        Specified by:
        getBody in interface DeniedHttpResponseOrBuilder
        Returns:
        The body.
      • getBodyBytes

        public com.google.protobuf.ByteString getBodyBytes()
         This field allows the authorization service to send a response body data
         to the downstream client.
         
        string body = 3;
        Specified by:
        getBodyBytes in interface DeniedHttpResponseOrBuilder
        Returns:
        The bytes for body.
      • setBody

        public DeniedHttpResponse.Builder setBody​(String value)
         This field allows the authorization service to send a response body data
         to the downstream client.
         
        string body = 3;
        Parameters:
        value - The body to set.
        Returns:
        This builder for chaining.
      • clearBody

        public DeniedHttpResponse.Builder clearBody()
         This field allows the authorization service to send a response body data
         to the downstream client.
         
        string body = 3;
        Returns:
        This builder for chaining.
      • setBodyBytes

        public DeniedHttpResponse.Builder setBodyBytes​(com.google.protobuf.ByteString value)
         This field allows the authorization service to send a response body data
         to the downstream client.
         
        string body = 3;
        Parameters:
        value - The bytes for body to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DeniedHttpResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>
      • mergeUnknownFields

        public final DeniedHttpResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeniedHttpResponse.Builder>