Class HTTPAccessLogEntry.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HTTPAccessLogEntryOrBuilder, java.lang.Cloneable
    Enclosing class:
    HTTPAccessLogEntry

    public static final class HTTPAccessLogEntry.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
    implements HTTPAccessLogEntryOrBuilder
    Protobuf type envoy.data.accesslog.v3.HTTPAccessLogEntry
    • 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<HTTPAccessLogEntry.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

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

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

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

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

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

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

        public HTTPAccessLogEntry.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<HTTPAccessLogEntry.Builder>
        Throws:
        java.io.IOException
      • hasCommonProperties

        public boolean hasCommonProperties()
         Common properties shared by all Envoy access logs.
         
        .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
        Specified by:
        hasCommonProperties in interface HTTPAccessLogEntryOrBuilder
        Returns:
        Whether the commonProperties field is set.
      • setCommonProperties

        public HTTPAccessLogEntry.Builder setCommonProperties​(AccessLogCommon value)
         Common properties shared by all Envoy access logs.
         
        .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
      • mergeCommonProperties

        public HTTPAccessLogEntry.Builder mergeCommonProperties​(AccessLogCommon value)
         Common properties shared by all Envoy access logs.
         
        .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
      • clearCommonProperties

        public HTTPAccessLogEntry.Builder clearCommonProperties()
         Common properties shared by all Envoy access logs.
         
        .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
      • getCommonPropertiesBuilder

        public AccessLogCommon.Builder getCommonPropertiesBuilder()
         Common properties shared by all Envoy access logs.
         
        .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
      • getProtocolVersionValue

        public int getProtocolVersionValue()
        .envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;
        Specified by:
        getProtocolVersionValue in interface HTTPAccessLogEntryOrBuilder
        Returns:
        The enum numeric value on the wire for protocolVersion.
      • setProtocolVersionValue

        public HTTPAccessLogEntry.Builder setProtocolVersionValue​(int value)
        .envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;
        Parameters:
        value - The enum numeric value on the wire for protocolVersion to set.
        Returns:
        This builder for chaining.
      • clearProtocolVersion

        public HTTPAccessLogEntry.Builder clearProtocolVersion()
        .envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;
        Returns:
        This builder for chaining.
      • hasRequest

        public boolean hasRequest()
         Description of the incoming HTTP request.
         
        .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
        Specified by:
        hasRequest in interface HTTPAccessLogEntryOrBuilder
        Returns:
        Whether the request field is set.
      • clearRequest

        public HTTPAccessLogEntry.Builder clearRequest()
         Description of the incoming HTTP request.
         
        .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
      • getRequestBuilder

        public HTTPRequestProperties.Builder getRequestBuilder()
         Description of the incoming HTTP request.
         
        .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
      • hasResponse

        public boolean hasResponse()
         Description of the outgoing HTTP response.
         
        .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
        Specified by:
        hasResponse in interface HTTPAccessLogEntryOrBuilder
        Returns:
        Whether the response field is set.
      • clearResponse

        public HTTPAccessLogEntry.Builder clearResponse()
         Description of the outgoing HTTP response.
         
        .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
      • getResponseBuilder

        public HTTPResponseProperties.Builder getResponseBuilder()
         Description of the outgoing HTTP response.
         
        .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;