Class HTTPAccessLogEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HTTPAccessLogEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HTTPAccessLogEntryOrBuilder, 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
  • Field Details

  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • Method Details

    • 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

      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
    • buildPartial0

      private void buildPartial0(HTTPAccessLogEntry result)
    • 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>
    • mergeFrom

    • 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 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:
      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.
    • getCommonProperties

      public AccessLogCommon getCommonProperties()
       Common properties shared by all Envoy access logs.
       
      .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
      Specified by:
      getCommonProperties in interface HTTPAccessLogEntryOrBuilder
      Returns:
      The commonProperties.
    • setCommonProperties

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

      public HTTPAccessLogEntry.Builder setCommonProperties(AccessLogCommon.Builder builderForValue)
       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;
    • getCommonPropertiesOrBuilder

      public AccessLogCommonOrBuilder getCommonPropertiesOrBuilder()
       Common properties shared by all Envoy access logs.
       
      .envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;
      Specified by:
      getCommonPropertiesOrBuilder in interface HTTPAccessLogEntryOrBuilder
    • getCommonPropertiesFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<AccessLogCommon,AccessLogCommon.Builder,AccessLogCommonOrBuilder> getCommonPropertiesFieldBuilder()
       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.
    • getProtocolVersion

      public HTTPAccessLogEntry.HTTPVersion getProtocolVersion()
      .envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;
      Specified by:
      getProtocolVersion in interface HTTPAccessLogEntryOrBuilder
      Returns:
      The protocolVersion.
    • setProtocolVersion

      .envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;
      Parameters:
      value - The 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.
    • getRequest

      public HTTPRequestProperties getRequest()
       Description of the incoming HTTP request.
       
      .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
      Specified by:
      getRequest in interface HTTPAccessLogEntryOrBuilder
      Returns:
      The request.
    • setRequest

       Description of the incoming HTTP request.
       
      .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
    • setRequest

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

       Description of the incoming HTTP request.
       
      .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
    • 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;
    • getRequestOrBuilder

      public HTTPRequestPropertiesOrBuilder getRequestOrBuilder()
       Description of the incoming HTTP request.
       
      .envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
      Specified by:
      getRequestOrBuilder in interface HTTPAccessLogEntryOrBuilder
    • getRequestFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<HTTPRequestProperties,HTTPRequestProperties.Builder,HTTPRequestPropertiesOrBuilder> getRequestFieldBuilder()
       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.
    • getResponse

      public HTTPResponseProperties getResponse()
       Description of the outgoing HTTP response.
       
      .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
      Specified by:
      getResponse in interface HTTPAccessLogEntryOrBuilder
      Returns:
      The response.
    • setResponse

       Description of the outgoing HTTP response.
       
      .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
    • setResponse

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

      public HTTPAccessLogEntry.Builder mergeResponse(HTTPResponseProperties value)
       Description of the outgoing HTTP response.
       
      .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
    • 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;
    • getResponseOrBuilder

      public HTTPResponsePropertiesOrBuilder getResponseOrBuilder()
       Description of the outgoing HTTP response.
       
      .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
      Specified by:
      getResponseOrBuilder in interface HTTPAccessLogEntryOrBuilder
    • getResponseFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<HTTPResponseProperties,HTTPResponseProperties.Builder,HTTPResponsePropertiesOrBuilder> getResponseFieldBuilder()
       Description of the outgoing HTTP response.
       
      .envoy.data.accesslog.v3.HTTPResponseProperties response = 4;