Class HTTPResponseProperties.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPResponseProperties.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HTTPResponseProperties.Builder>
      • internalGetFieldAccessorTable

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

        public HTTPResponseProperties.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<HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • getDefaultInstanceForType

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

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

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

        public HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • clearField

        public HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • clearOneof

        public HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • setRepeatedField

        public HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • addRepeatedField

        public HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • isInitialized

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

        public HTTPResponseProperties.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<HTTPResponseProperties.Builder>
        Throws:
        IOException
      • hasResponseCode

        public boolean hasResponseCode()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
        Specified by:
        hasResponseCode in interface HTTPResponsePropertiesOrBuilder
        Returns:
        Whether the responseCode field is set.
      • getResponseCode

        public com.google.protobuf.UInt32Value getResponseCode()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
        Specified by:
        getResponseCode in interface HTTPResponsePropertiesOrBuilder
        Returns:
        The responseCode.
      • setResponseCode

        public HTTPResponseProperties.Builder setResponseCode​(com.google.protobuf.UInt32Value value)
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
      • setResponseCode

        public HTTPResponseProperties.Builder setResponseCode​(com.google.protobuf.UInt32Value.Builder builderForValue)
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
      • mergeResponseCode

        public HTTPResponseProperties.Builder mergeResponseCode​(com.google.protobuf.UInt32Value value)
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
      • clearResponseCode

        public HTTPResponseProperties.Builder clearResponseCode()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
      • getResponseCodeBuilder

        public com.google.protobuf.UInt32Value.Builder getResponseCodeBuilder()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
      • getResponseCodeOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getResponseCodeOrBuilder()
         The HTTP response code returned by Envoy.
         
        .google.protobuf.UInt32Value response_code = 1;
        Specified by:
        getResponseCodeOrBuilder in interface HTTPResponsePropertiesOrBuilder
      • getResponseHeadersBytes

        public long getResponseHeadersBytes()
         Size of the HTTP response headers in bytes.
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_headers_bytes = 2;
        Specified by:
        getResponseHeadersBytes in interface HTTPResponsePropertiesOrBuilder
        Returns:
        The responseHeadersBytes.
      • setResponseHeadersBytes

        public HTTPResponseProperties.Builder setResponseHeadersBytes​(long value)
         Size of the HTTP response headers in bytes.
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_headers_bytes = 2;
        Parameters:
        value - The responseHeadersBytes to set.
        Returns:
        This builder for chaining.
      • clearResponseHeadersBytes

        public HTTPResponseProperties.Builder clearResponseHeadersBytes()
         Size of the HTTP response headers in bytes.
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_headers_bytes = 2;
        Returns:
        This builder for chaining.
      • getResponseBodyBytes

        public long getResponseBodyBytes()
         Size of the HTTP response body in bytes.
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_body_bytes = 3;
        Specified by:
        getResponseBodyBytes in interface HTTPResponsePropertiesOrBuilder
        Returns:
        The responseBodyBytes.
      • setResponseBodyBytes

        public HTTPResponseProperties.Builder setResponseBodyBytes​(long value)
         Size of the HTTP response body in bytes.
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_body_bytes = 3;
        Parameters:
        value - The responseBodyBytes to set.
        Returns:
        This builder for chaining.
      • clearResponseBodyBytes

        public HTTPResponseProperties.Builder clearResponseBodyBytes()
         Size of the HTTP response body in bytes.
         This value is captured from the OSI layer 7 perspective, i.e. it does not
         include overhead from framing or encoding at other networking layers.
         
        uint64 response_body_bytes = 3;
        Returns:
        This builder for chaining.
      • removeResponseHeaders

        public HTTPResponseProperties.Builder removeResponseHeaders​(String key)
         Map of additional headers configured to be logged.
         
        map<string, string> response_headers = 4;
      • getMutableResponseHeaders

        @Deprecated
        public Map<String,​String> getMutableResponseHeaders()
        Deprecated.
        Use alternate mutation accessors instead.
      • removeResponseTrailers

        public HTTPResponseProperties.Builder removeResponseTrailers​(String key)
         Map of trailers configured to be logged.
         
        map<string, string> response_trailers = 5;
      • getMutableResponseTrailers

        @Deprecated
        public Map<String,​String> getMutableResponseTrailers()
        Deprecated.
        Use alternate mutation accessors instead.
      • getResponseCodeDetailsBytes

        public com.google.protobuf.ByteString getResponseCodeDetailsBytes()
         The HTTP response code details.
         
        string response_code_details = 6;
        Specified by:
        getResponseCodeDetailsBytes in interface HTTPResponsePropertiesOrBuilder
        Returns:
        The bytes for responseCodeDetails.
      • setResponseCodeDetails

        public HTTPResponseProperties.Builder setResponseCodeDetails​(String value)
         The HTTP response code details.
         
        string response_code_details = 6;
        Parameters:
        value - The responseCodeDetails to set.
        Returns:
        This builder for chaining.
      • clearResponseCodeDetails

        public HTTPResponseProperties.Builder clearResponseCodeDetails()
         The HTTP response code details.
         
        string response_code_details = 6;
        Returns:
        This builder for chaining.
      • setResponseCodeDetailsBytes

        public HTTPResponseProperties.Builder setResponseCodeDetailsBytes​(com.google.protobuf.ByteString value)
         The HTTP response code details.
         
        string response_code_details = 6;
        Parameters:
        value - The bytes for responseCodeDetails to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final HTTPResponseProperties.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<HTTPResponseProperties.Builder>
      • mergeUnknownFields

        public final HTTPResponseProperties.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<HTTPResponseProperties.Builder>