All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/data/accesslog/v3/accesslog.proto

package io.envoyproxy.envoy.data.accesslog.v3;

/**
 * 
 * Defines fields that are shared by all Envoy access logs.
 * [#next-free-field: 34]
 * 
* * Protobuf type {@code envoy.data.accesslog.v3.AccessLogCommon} */ public final class AccessLogCommon extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.AccessLogCommon) AccessLogCommonOrBuilder { private static final long serialVersionUID = 0L; // Use AccessLogCommon.newBuilder() to construct. private AccessLogCommon(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AccessLogCommon() { upstreamCluster_ = ""; upstreamTransportFailureReason_ = ""; routeName_ = ""; connectionTerminationDetails_ = ""; streamId_ = ""; downstreamTransportFailureReason_ = ""; accessLogType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AccessLogCommon(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AccessLogCommon( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 9: { sampleRate_ = input.readDouble(); break; } case 18: { io.envoyproxy.envoy.config.core.v3.Address.Builder subBuilder = null; if (downstreamRemoteAddress_ != null) { subBuilder = downstreamRemoteAddress_.toBuilder(); } downstreamRemoteAddress_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(downstreamRemoteAddress_); downstreamRemoteAddress_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.config.core.v3.Address.Builder subBuilder = null; if (downstreamLocalAddress_ != null) { subBuilder = downstreamLocalAddress_.toBuilder(); } downstreamLocalAddress_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(downstreamLocalAddress_); downstreamLocalAddress_ = subBuilder.buildPartial(); } break; } case 34: { io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder subBuilder = null; if (tlsProperties_ != null) { subBuilder = tlsProperties_.toBuilder(); } tlsProperties_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tlsProperties_); tlsProperties_ = subBuilder.buildPartial(); } break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (startTime_ != null) { subBuilder = startTime_.toBuilder(); } startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(startTime_); startTime_ = subBuilder.buildPartial(); } break; } case 50: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToLastRxByte_ != null) { subBuilder = timeToLastRxByte_.toBuilder(); } timeToLastRxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToLastRxByte_); timeToLastRxByte_ = subBuilder.buildPartial(); } break; } case 58: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToFirstUpstreamTxByte_ != null) { subBuilder = timeToFirstUpstreamTxByte_.toBuilder(); } timeToFirstUpstreamTxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToFirstUpstreamTxByte_); timeToFirstUpstreamTxByte_ = subBuilder.buildPartial(); } break; } case 66: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToLastUpstreamTxByte_ != null) { subBuilder = timeToLastUpstreamTxByte_.toBuilder(); } timeToLastUpstreamTxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToLastUpstreamTxByte_); timeToLastUpstreamTxByte_ = subBuilder.buildPartial(); } break; } case 74: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToFirstUpstreamRxByte_ != null) { subBuilder = timeToFirstUpstreamRxByte_.toBuilder(); } timeToFirstUpstreamRxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToFirstUpstreamRxByte_); timeToFirstUpstreamRxByte_ = subBuilder.buildPartial(); } break; } case 82: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToLastUpstreamRxByte_ != null) { subBuilder = timeToLastUpstreamRxByte_.toBuilder(); } timeToLastUpstreamRxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToLastUpstreamRxByte_); timeToLastUpstreamRxByte_ = subBuilder.buildPartial(); } break; } case 90: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToFirstDownstreamTxByte_ != null) { subBuilder = timeToFirstDownstreamTxByte_.toBuilder(); } timeToFirstDownstreamTxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToFirstDownstreamTxByte_); timeToFirstDownstreamTxByte_ = subBuilder.buildPartial(); } break; } case 98: { com.google.protobuf.Duration.Builder subBuilder = null; if (timeToLastDownstreamTxByte_ != null) { subBuilder = timeToLastDownstreamTxByte_.toBuilder(); } timeToLastDownstreamTxByte_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeToLastDownstreamTxByte_); timeToLastDownstreamTxByte_ = subBuilder.buildPartial(); } break; } case 106: { io.envoyproxy.envoy.config.core.v3.Address.Builder subBuilder = null; if (upstreamRemoteAddress_ != null) { subBuilder = upstreamRemoteAddress_.toBuilder(); } upstreamRemoteAddress_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(upstreamRemoteAddress_); upstreamRemoteAddress_ = subBuilder.buildPartial(); } break; } case 114: { io.envoyproxy.envoy.config.core.v3.Address.Builder subBuilder = null; if (upstreamLocalAddress_ != null) { subBuilder = upstreamLocalAddress_.toBuilder(); } upstreamLocalAddress_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(upstreamLocalAddress_); upstreamLocalAddress_ = subBuilder.buildPartial(); } break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); upstreamCluster_ = s; break; } case 130: { io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder subBuilder = null; if (responseFlags_ != null) { subBuilder = responseFlags_.toBuilder(); } responseFlags_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(responseFlags_); responseFlags_ = subBuilder.buildPartial(); } break; } case 138: { io.envoyproxy.envoy.config.core.v3.Metadata.Builder subBuilder = null; if (metadata_ != null) { subBuilder = metadata_.toBuilder(); } metadata_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Metadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metadata_); metadata_ = subBuilder.buildPartial(); } break; } case 146: { java.lang.String s = input.readStringRequireUtf8(); upstreamTransportFailureReason_ = s; break; } case 154: { java.lang.String s = input.readStringRequireUtf8(); routeName_ = s; break; } case 162: { io.envoyproxy.envoy.config.core.v3.Address.Builder subBuilder = null; if (downstreamDirectRemoteAddress_ != null) { subBuilder = downstreamDirectRemoteAddress_.toBuilder(); } downstreamDirectRemoteAddress_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(downstreamDirectRemoteAddress_); downstreamDirectRemoteAddress_ = subBuilder.buildPartial(); } break; } case 170: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { filterStateObjects_ = com.google.protobuf.MapField.newMapField( FilterStateObjectsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry filterStateObjects__ = input.readMessage( FilterStateObjectsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); filterStateObjects_.getMutableMap().put( filterStateObjects__.getKey(), filterStateObjects__.getValue()); break; } case 178: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { customTags_ = com.google.protobuf.MapField.newMapField( CustomTagsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry customTags__ = input.readMessage( CustomTagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); customTags_.getMutableMap().put( customTags__.getKey(), customTags__.getValue()); break; } case 186: { com.google.protobuf.Duration.Builder subBuilder = null; if (duration_ != null) { subBuilder = duration_.toBuilder(); } duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(duration_); duration_ = subBuilder.buildPartial(); } break; } case 192: { upstreamRequestAttemptCount_ = input.readUInt32(); break; } case 202: { java.lang.String s = input.readStringRequireUtf8(); connectionTerminationDetails_ = s; break; } case 210: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } case 216: { intermediateLogEntry_ = input.readBool(); break; } case 226: { java.lang.String s = input.readStringRequireUtf8(); downstreamTransportFailureReason_ = s; break; } case 232: { downstreamWireBytesSent_ = input.readUInt64(); break; } case 240: { downstreamWireBytesReceived_ = input.readUInt64(); break; } case 248: { upstreamWireBytesSent_ = input.readUInt64(); break; } case 256: { upstreamWireBytesReceived_ = input.readUInt64(); break; } case 264: { int rawValue = input.readEnum(); accessLogType_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 21: return internalGetFilterStateObjects(); case 22: return internalGetCustomTags(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.class, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder.class); } public static final int SAMPLE_RATE_FIELD_NUMBER = 1; private double sampleRate_; /** *
   * [#not-implemented-hide:]
   * This field indicates the rate at which this log entry was sampled.
   * Valid range is (0.0, 1.0].
   * 
* * double sample_rate = 1 [(.validate.rules) = { ... } * @return The sampleRate. */ @java.lang.Override public double getSampleRate() { return sampleRate_; } public static final int DOWNSTREAM_REMOTE_ADDRESS_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.core.v3.Address downstreamRemoteAddress_; /** *
   * This field is the remote/origin address on which the request from the user was received.
   * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
   * example the x-forwarder-for header, proxy protocol, etc.
   * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; * @return Whether the downstreamRemoteAddress field is set. */ @java.lang.Override public boolean hasDownstreamRemoteAddress() { return downstreamRemoteAddress_ != null; } /** *
   * This field is the remote/origin address on which the request from the user was received.
   * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
   * example the x-forwarder-for header, proxy protocol, etc.
   * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; * @return The downstreamRemoteAddress. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Address getDownstreamRemoteAddress() { return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamRemoteAddress_; } /** *
   * This field is the remote/origin address on which the request from the user was received.
   * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
   * example the x-forwarder-for header, proxy protocol, etc.
   * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getDownstreamRemoteAddressOrBuilder() { return getDownstreamRemoteAddress(); } public static final int DOWNSTREAM_LOCAL_ADDRESS_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.core.v3.Address downstreamLocalAddress_; /** *
   * This field is the local/destination address on which the request from the user was received.
   * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; * @return Whether the downstreamLocalAddress field is set. */ @java.lang.Override public boolean hasDownstreamLocalAddress() { return downstreamLocalAddress_ != null; } /** *
   * This field is the local/destination address on which the request from the user was received.
   * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; * @return The downstreamLocalAddress. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Address getDownstreamLocalAddress() { return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamLocalAddress_; } /** *
   * This field is the local/destination address on which the request from the user was received.
   * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getDownstreamLocalAddressOrBuilder() { return getDownstreamLocalAddress(); } public static final int TLS_PROPERTIES_FIELD_NUMBER = 4; private io.envoyproxy.envoy.data.accesslog.v3.TLSProperties tlsProperties_; /** *
   * If the connection is secure,S this field will contain TLS properties.
   * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; * @return Whether the tlsProperties field is set. */ @java.lang.Override public boolean hasTlsProperties() { return tlsProperties_ != null; } /** *
   * If the connection is secure,S this field will contain TLS properties.
   * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; * @return The tlsProperties. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties getTlsProperties() { return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.getDefaultInstance() : tlsProperties_; } /** *
   * If the connection is secure,S this field will contain TLS properties.
   * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSPropertiesOrBuilder getTlsPropertiesOrBuilder() { return getTlsProperties(); } public static final int START_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp startTime_; /** *
   * The time that Envoy started servicing this request. This is effectively the time that the first
   * downstream byte is received.
   * 
* * .google.protobuf.Timestamp start_time = 5; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } /** *
   * The time that Envoy started servicing this request. This is effectively the time that the first
   * downstream byte is received.
   * 
* * .google.protobuf.Timestamp start_time = 5; * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** *
   * The time that Envoy started servicing this request. This is effectively the time that the first
   * downstream byte is received.
   * 
* * .google.protobuf.Timestamp start_time = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } public static final int TIME_TO_LAST_RX_BYTE_FIELD_NUMBER = 6; private com.google.protobuf.Duration timeToLastRxByte_; /** *
   * Interval between the first downstream byte received and the last
   * downstream byte received (i.e. time it takes to receive a request).
   * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; * @return Whether the timeToLastRxByte field is set. */ @java.lang.Override public boolean hasTimeToLastRxByte() { return timeToLastRxByte_ != null; } /** *
   * Interval between the first downstream byte received and the last
   * downstream byte received (i.e. time it takes to receive a request).
   * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; * @return The timeToLastRxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToLastRxByte() { return timeToLastRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastRxByte_; } /** *
   * Interval between the first downstream byte received and the last
   * downstream byte received (i.e. time it takes to receive a request).
   * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToLastRxByteOrBuilder() { return getTimeToLastRxByte(); } public static final int TIME_TO_FIRST_UPSTREAM_TX_BYTE_FIELD_NUMBER = 7; private com.google.protobuf.Duration timeToFirstUpstreamTxByte_; /** *
   * Interval between the first downstream byte received and the first upstream byte sent. There may
   * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
   * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
   * not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; * @return Whether the timeToFirstUpstreamTxByte field is set. */ @java.lang.Override public boolean hasTimeToFirstUpstreamTxByte() { return timeToFirstUpstreamTxByte_ != null; } /** *
   * Interval between the first downstream byte received and the first upstream byte sent. There may
   * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
   * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
   * not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; * @return The timeToFirstUpstreamTxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToFirstUpstreamTxByte() { return timeToFirstUpstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstUpstreamTxByte_; } /** *
   * Interval between the first downstream byte received and the first upstream byte sent. There may
   * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
   * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
   * not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToFirstUpstreamTxByteOrBuilder() { return getTimeToFirstUpstreamTxByte(); } public static final int TIME_TO_LAST_UPSTREAM_TX_BYTE_FIELD_NUMBER = 8; private com.google.protobuf.Duration timeToLastUpstreamTxByte_; /** *
   * Interval between the first downstream byte received and the last upstream byte sent. There may
   * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
   * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
   * not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; * @return Whether the timeToLastUpstreamTxByte field is set. */ @java.lang.Override public boolean hasTimeToLastUpstreamTxByte() { return timeToLastUpstreamTxByte_ != null; } /** *
   * Interval between the first downstream byte received and the last upstream byte sent. There may
   * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
   * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
   * not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; * @return The timeToLastUpstreamTxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToLastUpstreamTxByte() { return timeToLastUpstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastUpstreamTxByte_; } /** *
   * Interval between the first downstream byte received and the last upstream byte sent. There may
   * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
   * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
   * not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToLastUpstreamTxByteOrBuilder() { return getTimeToLastUpstreamTxByte(); } public static final int TIME_TO_FIRST_UPSTREAM_RX_BYTE_FIELD_NUMBER = 9; private com.google.protobuf.Duration timeToFirstUpstreamRxByte_; /** *
   * Interval between the first downstream byte received and the first upstream
   * byte received (i.e. time it takes to start receiving a response).
   * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; * @return Whether the timeToFirstUpstreamRxByte field is set. */ @java.lang.Override public boolean hasTimeToFirstUpstreamRxByte() { return timeToFirstUpstreamRxByte_ != null; } /** *
   * Interval between the first downstream byte received and the first upstream
   * byte received (i.e. time it takes to start receiving a response).
   * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; * @return The timeToFirstUpstreamRxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToFirstUpstreamRxByte() { return timeToFirstUpstreamRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstUpstreamRxByte_; } /** *
   * Interval between the first downstream byte received and the first upstream
   * byte received (i.e. time it takes to start receiving a response).
   * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToFirstUpstreamRxByteOrBuilder() { return getTimeToFirstUpstreamRxByte(); } public static final int TIME_TO_LAST_UPSTREAM_RX_BYTE_FIELD_NUMBER = 10; private com.google.protobuf.Duration timeToLastUpstreamRxByte_; /** *
   * Interval between the first downstream byte received and the last upstream
   * byte received (i.e. time it takes to receive a complete response).
   * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; * @return Whether the timeToLastUpstreamRxByte field is set. */ @java.lang.Override public boolean hasTimeToLastUpstreamRxByte() { return timeToLastUpstreamRxByte_ != null; } /** *
   * Interval between the first downstream byte received and the last upstream
   * byte received (i.e. time it takes to receive a complete response).
   * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; * @return The timeToLastUpstreamRxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToLastUpstreamRxByte() { return timeToLastUpstreamRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastUpstreamRxByte_; } /** *
   * Interval between the first downstream byte received and the last upstream
   * byte received (i.e. time it takes to receive a complete response).
   * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToLastUpstreamRxByteOrBuilder() { return getTimeToLastUpstreamRxByte(); } public static final int TIME_TO_FIRST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER = 11; private com.google.protobuf.Duration timeToFirstDownstreamTxByte_; /** *
   * Interval between the first downstream byte received and the first downstream byte sent.
   * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
   * due to filters. Additionally, the same caveats apply as documented in
   * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; * @return Whether the timeToFirstDownstreamTxByte field is set. */ @java.lang.Override public boolean hasTimeToFirstDownstreamTxByte() { return timeToFirstDownstreamTxByte_ != null; } /** *
   * Interval between the first downstream byte received and the first downstream byte sent.
   * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
   * due to filters. Additionally, the same caveats apply as documented in
   * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; * @return The timeToFirstDownstreamTxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToFirstDownstreamTxByte() { return timeToFirstDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstDownstreamTxByte_; } /** *
   * Interval between the first downstream byte received and the first downstream byte sent.
   * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
   * due to filters. Additionally, the same caveats apply as documented in
   * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
   * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToFirstDownstreamTxByteOrBuilder() { return getTimeToFirstDownstreamTxByte(); } public static final int TIME_TO_LAST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER = 12; private com.google.protobuf.Duration timeToLastDownstreamTxByte_; /** *
   * Interval between the first downstream byte received and the last downstream byte sent.
   * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
   * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
   * time. In the current implementation it does not include kernel socket buffer time. In the
   * current implementation it also does not include send window buffering inside the HTTP/2 codec.
   * In the future it is likely that work will be done to make this duration more accurate.
   * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; * @return Whether the timeToLastDownstreamTxByte field is set. */ @java.lang.Override public boolean hasTimeToLastDownstreamTxByte() { return timeToLastDownstreamTxByte_ != null; } /** *
   * Interval between the first downstream byte received and the last downstream byte sent.
   * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
   * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
   * time. In the current implementation it does not include kernel socket buffer time. In the
   * current implementation it also does not include send window buffering inside the HTTP/2 codec.
   * In the future it is likely that work will be done to make this duration more accurate.
   * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; * @return The timeToLastDownstreamTxByte. */ @java.lang.Override public com.google.protobuf.Duration getTimeToLastDownstreamTxByte() { return timeToLastDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastDownstreamTxByte_; } /** *
   * Interval between the first downstream byte received and the last downstream byte sent.
   * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
   * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
   * time. In the current implementation it does not include kernel socket buffer time. In the
   * current implementation it also does not include send window buffering inside the HTTP/2 codec.
   * In the future it is likely that work will be done to make this duration more accurate.
   * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTimeToLastDownstreamTxByteOrBuilder() { return getTimeToLastDownstreamTxByte(); } public static final int UPSTREAM_REMOTE_ADDRESS_FIELD_NUMBER = 13; private io.envoyproxy.envoy.config.core.v3.Address upstreamRemoteAddress_; /** *
   * The upstream remote/destination address that handles this exchange. This does not include
   * retries.
   * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; * @return Whether the upstreamRemoteAddress field is set. */ @java.lang.Override public boolean hasUpstreamRemoteAddress() { return upstreamRemoteAddress_ != null; } /** *
   * The upstream remote/destination address that handles this exchange. This does not include
   * retries.
   * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; * @return The upstreamRemoteAddress. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Address getUpstreamRemoteAddress() { return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : upstreamRemoteAddress_; } /** *
   * The upstream remote/destination address that handles this exchange. This does not include
   * retries.
   * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getUpstreamRemoteAddressOrBuilder() { return getUpstreamRemoteAddress(); } public static final int UPSTREAM_LOCAL_ADDRESS_FIELD_NUMBER = 14; private io.envoyproxy.envoy.config.core.v3.Address upstreamLocalAddress_; /** *
   * The upstream local/origin address that handles this exchange. This does not include retries.
   * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; * @return Whether the upstreamLocalAddress field is set. */ @java.lang.Override public boolean hasUpstreamLocalAddress() { return upstreamLocalAddress_ != null; } /** *
   * The upstream local/origin address that handles this exchange. This does not include retries.
   * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; * @return The upstreamLocalAddress. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Address getUpstreamLocalAddress() { return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : upstreamLocalAddress_; } /** *
   * The upstream local/origin address that handles this exchange. This does not include retries.
   * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getUpstreamLocalAddressOrBuilder() { return getUpstreamLocalAddress(); } public static final int UPSTREAM_CLUSTER_FIELD_NUMBER = 15; private volatile java.lang.Object upstreamCluster_; /** *
   * The upstream cluster that ``upstream_remote_address`` belongs to.
   * 
* * string upstream_cluster = 15; * @return The upstreamCluster. */ @java.lang.Override public java.lang.String getUpstreamCluster() { java.lang.Object ref = upstreamCluster_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamCluster_ = s; return s; } } /** *
   * The upstream cluster that ``upstream_remote_address`` belongs to.
   * 
* * string upstream_cluster = 15; * @return The bytes for upstreamCluster. */ @java.lang.Override public com.google.protobuf.ByteString getUpstreamClusterBytes() { java.lang.Object ref = upstreamCluster_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upstreamCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESPONSE_FLAGS_FIELD_NUMBER = 16; private io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags responseFlags_; /** *
   * Flags indicating occurrences during request/response processing.
   * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; * @return Whether the responseFlags field is set. */ @java.lang.Override public boolean hasResponseFlags() { return responseFlags_ != null; } /** *
   * Flags indicating occurrences during request/response processing.
   * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; * @return The responseFlags. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags getResponseFlags() { return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.getDefaultInstance() : responseFlags_; } /** *
   * Flags indicating occurrences during request/response processing.
   * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlagsOrBuilder getResponseFlagsOrBuilder() { return getResponseFlags(); } public static final int METADATA_FIELD_NUMBER = 17; private io.envoyproxy.envoy.config.core.v3.Metadata metadata_; /** *
   * All metadata encountered during request processing, including endpoint
   * selection.
   * This can be used to associate IDs attached to the various configurations
   * used to process this request with the access log entry. For example, a
   * route created from a higher level forwarding rule with some ID can place
   * that ID in this field and cross reference later. It can also be used to
   * determine if a canary endpoint was used or not.
   * 
* * .envoy.config.core.v3.Metadata metadata = 17; * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return metadata_ != null; } /** *
   * All metadata encountered during request processing, including endpoint
   * selection.
   * This can be used to associate IDs attached to the various configurations
   * used to process this request with the access log entry. For example, a
   * route created from a higher level forwarding rule with some ID can place
   * that ID in this field and cross reference later. It can also be used to
   * determine if a canary endpoint was used or not.
   * 
* * .envoy.config.core.v3.Metadata metadata = 17; * @return The metadata. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Metadata getMetadata() { return metadata_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadata_; } /** *
   * All metadata encountered during request processing, including endpoint
   * selection.
   * This can be used to associate IDs attached to the various configurations
   * used to process this request with the access log entry. For example, a
   * route created from a higher level forwarding rule with some ID can place
   * that ID in this field and cross reference later. It can also be used to
   * determine if a canary endpoint was used or not.
   * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder getMetadataOrBuilder() { return getMetadata(); } public static final int UPSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER = 18; private volatile java.lang.Object upstreamTransportFailureReason_; /** *
   * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
   * failure reason from the transport socket. The format of this field depends on the configured
   * upstream transport socket. Common TLS failures are in
   * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
   * 
* * string upstream_transport_failure_reason = 18; * @return The upstreamTransportFailureReason. */ @java.lang.Override public java.lang.String getUpstreamTransportFailureReason() { java.lang.Object ref = upstreamTransportFailureReason_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamTransportFailureReason_ = s; return s; } } /** *
   * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
   * failure reason from the transport socket. The format of this field depends on the configured
   * upstream transport socket. Common TLS failures are in
   * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
   * 
* * string upstream_transport_failure_reason = 18; * @return The bytes for upstreamTransportFailureReason. */ @java.lang.Override public com.google.protobuf.ByteString getUpstreamTransportFailureReasonBytes() { java.lang.Object ref = upstreamTransportFailureReason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upstreamTransportFailureReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ROUTE_NAME_FIELD_NUMBER = 19; private volatile java.lang.Object routeName_; /** *
   * The name of the route
   * 
* * string route_name = 19; * @return The routeName. */ @java.lang.Override public java.lang.String getRouteName() { java.lang.Object ref = routeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routeName_ = s; return s; } } /** *
   * The name of the route
   * 
* * string route_name = 19; * @return The bytes for routeName. */ @java.lang.Override public com.google.protobuf.ByteString getRouteNameBytes() { java.lang.Object ref = routeName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); routeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOWNSTREAM_DIRECT_REMOTE_ADDRESS_FIELD_NUMBER = 20; private io.envoyproxy.envoy.config.core.v3.Address downstreamDirectRemoteAddress_; /** *
   * This field is the downstream direct remote address on which the request from the user was
   * received. Note: This is always the physical peer, even if the remote address is inferred from
   * for example the x-forwarder-for header, proxy protocol, etc.
   * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; * @return Whether the downstreamDirectRemoteAddress field is set. */ @java.lang.Override public boolean hasDownstreamDirectRemoteAddress() { return downstreamDirectRemoteAddress_ != null; } /** *
   * This field is the downstream direct remote address on which the request from the user was
   * received. Note: This is always the physical peer, even if the remote address is inferred from
   * for example the x-forwarder-for header, proxy protocol, etc.
   * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; * @return The downstreamDirectRemoteAddress. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Address getDownstreamDirectRemoteAddress() { return downstreamDirectRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamDirectRemoteAddress_; } /** *
   * This field is the downstream direct remote address on which the request from the user was
   * received. Note: This is always the physical peer, even if the remote address is inferred from
   * for example the x-forwarder-for header, proxy protocol, etc.
   * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getDownstreamDirectRemoteAddressOrBuilder() { return getDownstreamDirectRemoteAddress(); } public static final int FILTER_STATE_OBJECTS_FIELD_NUMBER = 21; private static final class FilterStateObjectsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.google.protobuf.Any> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_FilterStateObjectsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.google.protobuf.Any.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.google.protobuf.Any> filterStateObjects_; private com.google.protobuf.MapField internalGetFilterStateObjects() { if (filterStateObjects_ == null) { return com.google.protobuf.MapField.emptyMapField( FilterStateObjectsDefaultEntryHolder.defaultEntry); } return filterStateObjects_; } public int getFilterStateObjectsCount() { return internalGetFilterStateObjects().getMap().size(); } /** *
   * Map of filter state in stream info that have been configured to be logged. If the filter
   * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
   * ``google.protobuf.Any``.
   * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public boolean containsFilterStateObjects( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetFilterStateObjects().getMap().containsKey(key); } /** * Use {@link #getFilterStateObjectsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFilterStateObjects() { return getFilterStateObjectsMap(); } /** *
   * Map of filter state in stream info that have been configured to be logged. If the filter
   * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
   * ``google.protobuf.Any``.
   * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public java.util.Map getFilterStateObjectsMap() { return internalGetFilterStateObjects().getMap(); } /** *
   * Map of filter state in stream info that have been configured to be logged. If the filter
   * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
   * ``google.protobuf.Any``.
   * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public com.google.protobuf.Any getFilterStateObjectsOrDefault( java.lang.String key, com.google.protobuf.Any defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFilterStateObjects().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Map of filter state in stream info that have been configured to be logged. If the filter
   * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
   * ``google.protobuf.Any``.
   * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public com.google.protobuf.Any getFilterStateObjectsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFilterStateObjects().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int CUSTOM_TAGS_FIELD_NUMBER = 22; private static final class CustomTagsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_CustomTagsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> customTags_; private com.google.protobuf.MapField internalGetCustomTags() { if (customTags_ == null) { return com.google.protobuf.MapField.emptyMapField( CustomTagsDefaultEntryHolder.defaultEntry); } return customTags_; } public int getCustomTagsCount() { return internalGetCustomTags().getMap().size(); } /** *
   * A list of custom tags, which annotate logs with additional information.
   * To configure this value, users should configure
   * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
   * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public boolean containsCustomTags( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomTags().getMap().containsKey(key); } /** * Use {@link #getCustomTagsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCustomTags() { return getCustomTagsMap(); } /** *
   * A list of custom tags, which annotate logs with additional information.
   * To configure this value, users should configure
   * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
   * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public java.util.Map getCustomTagsMap() { return internalGetCustomTags().getMap(); } /** *
   * A list of custom tags, which annotate logs with additional information.
   * To configure this value, users should configure
   * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
   * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public java.lang.String getCustomTagsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomTags().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * A list of custom tags, which annotate logs with additional information.
   * To configure this value, users should configure
   * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
   * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public java.lang.String getCustomTagsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomTags().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int DURATION_FIELD_NUMBER = 23; private com.google.protobuf.Duration duration_; /** *
   * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
   * For TCP: Total duration in milliseconds of the downstream connection.
   * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
   * and may be longer than ``time_to_last_downstream_tx_byte``.
   * 
* * .google.protobuf.Duration duration = 23; * @return Whether the duration field is set. */ @java.lang.Override public boolean hasDuration() { return duration_ != null; } /** *
   * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
   * For TCP: Total duration in milliseconds of the downstream connection.
   * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
   * and may be longer than ``time_to_last_downstream_tx_byte``.
   * 
* * .google.protobuf.Duration duration = 23; * @return The duration. */ @java.lang.Override public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** *
   * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
   * For TCP: Total duration in milliseconds of the downstream connection.
   * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
   * and may be longer than ``time_to_last_downstream_tx_byte``.
   * 
* * .google.protobuf.Duration duration = 23; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { return getDuration(); } public static final int UPSTREAM_REQUEST_ATTEMPT_COUNT_FIELD_NUMBER = 24; private int upstreamRequestAttemptCount_; /** *
   * For HTTP: Number of times the request is attempted upstream. Note that the field is omitted when the request was never attempted upstream.
   * For TCP: Number of times the connection request is attempted upstream. Note that the field is omitted when the connect request was never attempted upstream.
   * 
* * uint32 upstream_request_attempt_count = 24; * @return The upstreamRequestAttemptCount. */ @java.lang.Override public int getUpstreamRequestAttemptCount() { return upstreamRequestAttemptCount_; } public static final int CONNECTION_TERMINATION_DETAILS_FIELD_NUMBER = 25; private volatile java.lang.Object connectionTerminationDetails_; /** *
   * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
   * 
* * string connection_termination_details = 25; * @return The connectionTerminationDetails. */ @java.lang.Override public java.lang.String getConnectionTerminationDetails() { java.lang.Object ref = connectionTerminationDetails_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); connectionTerminationDetails_ = s; return s; } } /** *
   * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
   * 
* * string connection_termination_details = 25; * @return The bytes for connectionTerminationDetails. */ @java.lang.Override public com.google.protobuf.ByteString getConnectionTerminationDetailsBytes() { java.lang.Object ref = connectionTerminationDetails_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); connectionTerminationDetails_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STREAM_ID_FIELD_NUMBER = 26; private volatile java.lang.Object streamId_; /** *
   * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
   * This could be any format string that could be used to identify one stream.
   * 
* * string stream_id = 26; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** *
   * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
   * This could be any format string that could be used to identify one stream.
   * 
* * string stream_id = 26; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INTERMEDIATE_LOG_ENTRY_FIELD_NUMBER = 27; private boolean intermediateLogEntry_; /** *
   * If this log entry is final log entry that flushed after the stream completed or
   * intermediate log entry that flushed periodically during the stream.
   * There may be multiple intermediate log entries and only one final log entry for each
   * long-live stream (TCP connection, long-live HTTP2 stream).
   * And if it is necessary, unique ID or identifier can be added to the log entry
   * :ref:`stream_id <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.stream_id>` to
   * correlate all these intermediate log entries and final log entry.
   * .. attention::
   *   This field is deprecated in favor of ``access_log_type`` for better indication of the
   *   type of the access log record.
   * 
* * bool intermediate_log_entry = 27 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.data.accesslog.v3.AccessLogCommon.intermediate_log_entry is deprecated. * See envoy/data/accesslog/v3/accesslog.proto;l=236 * @return The intermediateLogEntry. */ @java.lang.Override @java.lang.Deprecated public boolean getIntermediateLogEntry() { return intermediateLogEntry_; } public static final int DOWNSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER = 28; private volatile java.lang.Object downstreamTransportFailureReason_; /** *
   * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
   * failure reason from the transport socket. The format of this field depends on the configured downstream
   * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
   * 
* * string downstream_transport_failure_reason = 28; * @return The downstreamTransportFailureReason. */ @java.lang.Override public java.lang.String getDownstreamTransportFailureReason() { java.lang.Object ref = downstreamTransportFailureReason_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); downstreamTransportFailureReason_ = s; return s; } } /** *
   * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
   * failure reason from the transport socket. The format of this field depends on the configured downstream
   * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
   * 
* * string downstream_transport_failure_reason = 28; * @return The bytes for downstreamTransportFailureReason. */ @java.lang.Override public com.google.protobuf.ByteString getDownstreamTransportFailureReasonBytes() { java.lang.Object ref = downstreamTransportFailureReason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); downstreamTransportFailureReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOWNSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER = 29; private long downstreamWireBytesSent_; /** *
   * For HTTP: Total number of bytes sent to the downstream by the http stream.
   * For TCP: Total number of bytes sent to the downstream by the tcp proxy.
   * 
* * uint64 downstream_wire_bytes_sent = 29; * @return The downstreamWireBytesSent. */ @java.lang.Override public long getDownstreamWireBytesSent() { return downstreamWireBytesSent_; } public static final int DOWNSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER = 30; private long downstreamWireBytesReceived_; /** *
   * For HTTP: Total number of bytes received from the downstream by the http stream. Envoy over counts sizes of received HTTP/1.1 pipelined requests by adding up bytes of requests in the pipeline to the one currently being processed.
   * For TCP: Total number of bytes received from the downstream by the tcp proxy.
   * 
* * uint64 downstream_wire_bytes_received = 30; * @return The downstreamWireBytesReceived. */ @java.lang.Override public long getDownstreamWireBytesReceived() { return downstreamWireBytesReceived_; } public static final int UPSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER = 31; private long upstreamWireBytesSent_; /** *
   * For HTTP: Total number of bytes sent to the upstream by the http stream. This value accumulates during upstream retries.
   * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
   * 
* * uint64 upstream_wire_bytes_sent = 31; * @return The upstreamWireBytesSent. */ @java.lang.Override public long getUpstreamWireBytesSent() { return upstreamWireBytesSent_; } public static final int UPSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER = 32; private long upstreamWireBytesReceived_; /** *
   * For HTTP: Total number of bytes received from the upstream by the http stream.
   * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
   * 
* * uint64 upstream_wire_bytes_received = 32; * @return The upstreamWireBytesReceived. */ @java.lang.Override public long getUpstreamWireBytesReceived() { return upstreamWireBytesReceived_; } public static final int ACCESS_LOG_TYPE_FIELD_NUMBER = 33; private int accessLogType_; /** *
   * The type of the access log, which indicates when the log was recorded.
   * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
   * In case the access log was recorded by a flow which does not correspond to one of the supported
   * values, then the default value will be ``NotSet``.
   * For more information about how access log behaves and when it is being recorded,
   * please refer to :ref:`access logging <arch_overview_access_logs>`.
   * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @return The enum numeric value on the wire for accessLogType. */ @java.lang.Override public int getAccessLogTypeValue() { return accessLogType_; } /** *
   * The type of the access log, which indicates when the log was recorded.
   * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
   * In case the access log was recorded by a flow which does not correspond to one of the supported
   * values, then the default value will be ``NotSet``.
   * For more information about how access log behaves and when it is being recorded,
   * please refer to :ref:`access logging <arch_overview_access_logs>`.
   * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @return The accessLogType. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogType getAccessLogType() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.data.accesslog.v3.AccessLogType result = io.envoyproxy.envoy.data.accesslog.v3.AccessLogType.valueOf(accessLogType_); return result == null ? io.envoyproxy.envoy.data.accesslog.v3.AccessLogType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(sampleRate_) != 0) { output.writeDouble(1, sampleRate_); } if (downstreamRemoteAddress_ != null) { output.writeMessage(2, getDownstreamRemoteAddress()); } if (downstreamLocalAddress_ != null) { output.writeMessage(3, getDownstreamLocalAddress()); } if (tlsProperties_ != null) { output.writeMessage(4, getTlsProperties()); } if (startTime_ != null) { output.writeMessage(5, getStartTime()); } if (timeToLastRxByte_ != null) { output.writeMessage(6, getTimeToLastRxByte()); } if (timeToFirstUpstreamTxByte_ != null) { output.writeMessage(7, getTimeToFirstUpstreamTxByte()); } if (timeToLastUpstreamTxByte_ != null) { output.writeMessage(8, getTimeToLastUpstreamTxByte()); } if (timeToFirstUpstreamRxByte_ != null) { output.writeMessage(9, getTimeToFirstUpstreamRxByte()); } if (timeToLastUpstreamRxByte_ != null) { output.writeMessage(10, getTimeToLastUpstreamRxByte()); } if (timeToFirstDownstreamTxByte_ != null) { output.writeMessage(11, getTimeToFirstDownstreamTxByte()); } if (timeToLastDownstreamTxByte_ != null) { output.writeMessage(12, getTimeToLastDownstreamTxByte()); } if (upstreamRemoteAddress_ != null) { output.writeMessage(13, getUpstreamRemoteAddress()); } if (upstreamLocalAddress_ != null) { output.writeMessage(14, getUpstreamLocalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(upstreamCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, upstreamCluster_); } if (responseFlags_ != null) { output.writeMessage(16, getResponseFlags()); } if (metadata_ != null) { output.writeMessage(17, getMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(upstreamTransportFailureReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, upstreamTransportFailureReason_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, routeName_); } if (downstreamDirectRemoteAddress_ != null) { output.writeMessage(20, getDownstreamDirectRemoteAddress()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetFilterStateObjects(), FilterStateObjectsDefaultEntryHolder.defaultEntry, 21); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetCustomTags(), CustomTagsDefaultEntryHolder.defaultEntry, 22); if (duration_ != null) { output.writeMessage(23, getDuration()); } if (upstreamRequestAttemptCount_ != 0) { output.writeUInt32(24, upstreamRequestAttemptCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(connectionTerminationDetails_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 25, connectionTerminationDetails_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 26, streamId_); } if (intermediateLogEntry_ != false) { output.writeBool(27, intermediateLogEntry_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(downstreamTransportFailureReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 28, downstreamTransportFailureReason_); } if (downstreamWireBytesSent_ != 0L) { output.writeUInt64(29, downstreamWireBytesSent_); } if (downstreamWireBytesReceived_ != 0L) { output.writeUInt64(30, downstreamWireBytesReceived_); } if (upstreamWireBytesSent_ != 0L) { output.writeUInt64(31, upstreamWireBytesSent_); } if (upstreamWireBytesReceived_ != 0L) { output.writeUInt64(32, upstreamWireBytesReceived_); } if (accessLogType_ != io.envoyproxy.envoy.data.accesslog.v3.AccessLogType.NotSet.getNumber()) { output.writeEnum(33, accessLogType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Double.doubleToRawLongBits(sampleRate_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, sampleRate_); } if (downstreamRemoteAddress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDownstreamRemoteAddress()); } if (downstreamLocalAddress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDownstreamLocalAddress()); } if (tlsProperties_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTlsProperties()); } if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getStartTime()); } if (timeToLastRxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTimeToLastRxByte()); } if (timeToFirstUpstreamTxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getTimeToFirstUpstreamTxByte()); } if (timeToLastUpstreamTxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getTimeToLastUpstreamTxByte()); } if (timeToFirstUpstreamRxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getTimeToFirstUpstreamRxByte()); } if (timeToLastUpstreamRxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getTimeToLastUpstreamRxByte()); } if (timeToFirstDownstreamTxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getTimeToFirstDownstreamTxByte()); } if (timeToLastDownstreamTxByte_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getTimeToLastDownstreamTxByte()); } if (upstreamRemoteAddress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getUpstreamRemoteAddress()); } if (upstreamLocalAddress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getUpstreamLocalAddress()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(upstreamCluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, upstreamCluster_); } if (responseFlags_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getResponseFlags()); } if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(upstreamTransportFailureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, upstreamTransportFailureReason_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routeName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, routeName_); } if (downstreamDirectRemoteAddress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getDownstreamDirectRemoteAddress()); } for (java.util.Map.Entry entry : internalGetFilterStateObjects().getMap().entrySet()) { com.google.protobuf.MapEntry filterStateObjects__ = FilterStateObjectsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, filterStateObjects__); } for (java.util.Map.Entry entry : internalGetCustomTags().getMap().entrySet()) { com.google.protobuf.MapEntry customTags__ = CustomTagsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, customTags__); } if (duration_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getDuration()); } if (upstreamRequestAttemptCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(24, upstreamRequestAttemptCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(connectionTerminationDetails_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, connectionTerminationDetails_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, streamId_); } if (intermediateLogEntry_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(27, intermediateLogEntry_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(downstreamTransportFailureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, downstreamTransportFailureReason_); } if (downstreamWireBytesSent_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(29, downstreamWireBytesSent_); } if (downstreamWireBytesReceived_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(30, downstreamWireBytesReceived_); } if (upstreamWireBytesSent_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(31, upstreamWireBytesSent_); } if (upstreamWireBytesReceived_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(32, upstreamWireBytesReceived_); } if (accessLogType_ != io.envoyproxy.envoy.data.accesslog.v3.AccessLogType.NotSet.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(33, accessLogType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon other = (io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon) obj; if (java.lang.Double.doubleToLongBits(getSampleRate()) != java.lang.Double.doubleToLongBits( other.getSampleRate())) return false; if (hasDownstreamRemoteAddress() != other.hasDownstreamRemoteAddress()) return false; if (hasDownstreamRemoteAddress()) { if (!getDownstreamRemoteAddress() .equals(other.getDownstreamRemoteAddress())) return false; } if (hasDownstreamLocalAddress() != other.hasDownstreamLocalAddress()) return false; if (hasDownstreamLocalAddress()) { if (!getDownstreamLocalAddress() .equals(other.getDownstreamLocalAddress())) return false; } if (hasTlsProperties() != other.hasTlsProperties()) return false; if (hasTlsProperties()) { if (!getTlsProperties() .equals(other.getTlsProperties())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime() .equals(other.getStartTime())) return false; } if (hasTimeToLastRxByte() != other.hasTimeToLastRxByte()) return false; if (hasTimeToLastRxByte()) { if (!getTimeToLastRxByte() .equals(other.getTimeToLastRxByte())) return false; } if (hasTimeToFirstUpstreamTxByte() != other.hasTimeToFirstUpstreamTxByte()) return false; if (hasTimeToFirstUpstreamTxByte()) { if (!getTimeToFirstUpstreamTxByte() .equals(other.getTimeToFirstUpstreamTxByte())) return false; } if (hasTimeToLastUpstreamTxByte() != other.hasTimeToLastUpstreamTxByte()) return false; if (hasTimeToLastUpstreamTxByte()) { if (!getTimeToLastUpstreamTxByte() .equals(other.getTimeToLastUpstreamTxByte())) return false; } if (hasTimeToFirstUpstreamRxByte() != other.hasTimeToFirstUpstreamRxByte()) return false; if (hasTimeToFirstUpstreamRxByte()) { if (!getTimeToFirstUpstreamRxByte() .equals(other.getTimeToFirstUpstreamRxByte())) return false; } if (hasTimeToLastUpstreamRxByte() != other.hasTimeToLastUpstreamRxByte()) return false; if (hasTimeToLastUpstreamRxByte()) { if (!getTimeToLastUpstreamRxByte() .equals(other.getTimeToLastUpstreamRxByte())) return false; } if (hasTimeToFirstDownstreamTxByte() != other.hasTimeToFirstDownstreamTxByte()) return false; if (hasTimeToFirstDownstreamTxByte()) { if (!getTimeToFirstDownstreamTxByte() .equals(other.getTimeToFirstDownstreamTxByte())) return false; } if (hasTimeToLastDownstreamTxByte() != other.hasTimeToLastDownstreamTxByte()) return false; if (hasTimeToLastDownstreamTxByte()) { if (!getTimeToLastDownstreamTxByte() .equals(other.getTimeToLastDownstreamTxByte())) return false; } if (hasUpstreamRemoteAddress() != other.hasUpstreamRemoteAddress()) return false; if (hasUpstreamRemoteAddress()) { if (!getUpstreamRemoteAddress() .equals(other.getUpstreamRemoteAddress())) return false; } if (hasUpstreamLocalAddress() != other.hasUpstreamLocalAddress()) return false; if (hasUpstreamLocalAddress()) { if (!getUpstreamLocalAddress() .equals(other.getUpstreamLocalAddress())) return false; } if (!getUpstreamCluster() .equals(other.getUpstreamCluster())) return false; if (hasResponseFlags() != other.hasResponseFlags()) return false; if (hasResponseFlags()) { if (!getResponseFlags() .equals(other.getResponseFlags())) return false; } if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata() .equals(other.getMetadata())) return false; } if (!getUpstreamTransportFailureReason() .equals(other.getUpstreamTransportFailureReason())) return false; if (!getRouteName() .equals(other.getRouteName())) return false; if (hasDownstreamDirectRemoteAddress() != other.hasDownstreamDirectRemoteAddress()) return false; if (hasDownstreamDirectRemoteAddress()) { if (!getDownstreamDirectRemoteAddress() .equals(other.getDownstreamDirectRemoteAddress())) return false; } if (!internalGetFilterStateObjects().equals( other.internalGetFilterStateObjects())) return false; if (!internalGetCustomTags().equals( other.internalGetCustomTags())) return false; if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { if (!getDuration() .equals(other.getDuration())) return false; } if (getUpstreamRequestAttemptCount() != other.getUpstreamRequestAttemptCount()) return false; if (!getConnectionTerminationDetails() .equals(other.getConnectionTerminationDetails())) return false; if (!getStreamId() .equals(other.getStreamId())) return false; if (getIntermediateLogEntry() != other.getIntermediateLogEntry()) return false; if (!getDownstreamTransportFailureReason() .equals(other.getDownstreamTransportFailureReason())) return false; if (getDownstreamWireBytesSent() != other.getDownstreamWireBytesSent()) return false; if (getDownstreamWireBytesReceived() != other.getDownstreamWireBytesReceived()) return false; if (getUpstreamWireBytesSent() != other.getUpstreamWireBytesSent()) return false; if (getUpstreamWireBytesReceived() != other.getUpstreamWireBytesReceived()) return false; if (accessLogType_ != other.accessLogType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SAMPLE_RATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSampleRate())); if (hasDownstreamRemoteAddress()) { hash = (37 * hash) + DOWNSTREAM_REMOTE_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getDownstreamRemoteAddress().hashCode(); } if (hasDownstreamLocalAddress()) { hash = (37 * hash) + DOWNSTREAM_LOCAL_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getDownstreamLocalAddress().hashCode(); } if (hasTlsProperties()) { hash = (37 * hash) + TLS_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getTlsProperties().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasTimeToLastRxByte()) { hash = (37 * hash) + TIME_TO_LAST_RX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToLastRxByte().hashCode(); } if (hasTimeToFirstUpstreamTxByte()) { hash = (37 * hash) + TIME_TO_FIRST_UPSTREAM_TX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToFirstUpstreamTxByte().hashCode(); } if (hasTimeToLastUpstreamTxByte()) { hash = (37 * hash) + TIME_TO_LAST_UPSTREAM_TX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToLastUpstreamTxByte().hashCode(); } if (hasTimeToFirstUpstreamRxByte()) { hash = (37 * hash) + TIME_TO_FIRST_UPSTREAM_RX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToFirstUpstreamRxByte().hashCode(); } if (hasTimeToLastUpstreamRxByte()) { hash = (37 * hash) + TIME_TO_LAST_UPSTREAM_RX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToLastUpstreamRxByte().hashCode(); } if (hasTimeToFirstDownstreamTxByte()) { hash = (37 * hash) + TIME_TO_FIRST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToFirstDownstreamTxByte().hashCode(); } if (hasTimeToLastDownstreamTxByte()) { hash = (37 * hash) + TIME_TO_LAST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER; hash = (53 * hash) + getTimeToLastDownstreamTxByte().hashCode(); } if (hasUpstreamRemoteAddress()) { hash = (37 * hash) + UPSTREAM_REMOTE_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getUpstreamRemoteAddress().hashCode(); } if (hasUpstreamLocalAddress()) { hash = (37 * hash) + UPSTREAM_LOCAL_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getUpstreamLocalAddress().hashCode(); } hash = (37 * hash) + UPSTREAM_CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getUpstreamCluster().hashCode(); if (hasResponseFlags()) { hash = (37 * hash) + RESPONSE_FLAGS_FIELD_NUMBER; hash = (53 * hash) + getResponseFlags().hashCode(); } if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } hash = (37 * hash) + UPSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER; hash = (53 * hash) + getUpstreamTransportFailureReason().hashCode(); hash = (37 * hash) + ROUTE_NAME_FIELD_NUMBER; hash = (53 * hash) + getRouteName().hashCode(); if (hasDownstreamDirectRemoteAddress()) { hash = (37 * hash) + DOWNSTREAM_DIRECT_REMOTE_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getDownstreamDirectRemoteAddress().hashCode(); } if (!internalGetFilterStateObjects().getMap().isEmpty()) { hash = (37 * hash) + FILTER_STATE_OBJECTS_FIELD_NUMBER; hash = (53 * hash) + internalGetFilterStateObjects().hashCode(); } if (!internalGetCustomTags().getMap().isEmpty()) { hash = (37 * hash) + CUSTOM_TAGS_FIELD_NUMBER; hash = (53 * hash) + internalGetCustomTags().hashCode(); } if (hasDuration()) { hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + getDuration().hashCode(); } hash = (37 * hash) + UPSTREAM_REQUEST_ATTEMPT_COUNT_FIELD_NUMBER; hash = (53 * hash) + getUpstreamRequestAttemptCount(); hash = (37 * hash) + CONNECTION_TERMINATION_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getConnectionTerminationDetails().hashCode(); hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (37 * hash) + INTERMEDIATE_LOG_ENTRY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIntermediateLogEntry()); hash = (37 * hash) + DOWNSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER; hash = (53 * hash) + getDownstreamTransportFailureReason().hashCode(); hash = (37 * hash) + DOWNSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDownstreamWireBytesSent()); hash = (37 * hash) + DOWNSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDownstreamWireBytesReceived()); hash = (37 * hash) + UPSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUpstreamWireBytesSent()); hash = (37 * hash) + UPSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUpstreamWireBytesReceived()); hash = (37 * hash) + ACCESS_LOG_TYPE_FIELD_NUMBER; hash = (53 * hash) + accessLogType_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Defines fields that are shared by all Envoy access logs.
   * [#next-free-field: 34]
   * 
* * Protobuf type {@code envoy.data.accesslog.v3.AccessLogCommon} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.AccessLogCommon) io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommonOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 21: return internalGetFilterStateObjects(); case 22: return internalGetCustomTags(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 21: return internalGetMutableFilterStateObjects(); case 22: return internalGetMutableCustomTags(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.class, io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.Builder.class); } // Construct using io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); sampleRate_ = 0D; if (downstreamRemoteAddressBuilder_ == null) { downstreamRemoteAddress_ = null; } else { downstreamRemoteAddress_ = null; downstreamRemoteAddressBuilder_ = null; } if (downstreamLocalAddressBuilder_ == null) { downstreamLocalAddress_ = null; } else { downstreamLocalAddress_ = null; downstreamLocalAddressBuilder_ = null; } if (tlsPropertiesBuilder_ == null) { tlsProperties_ = null; } else { tlsProperties_ = null; tlsPropertiesBuilder_ = null; } if (startTimeBuilder_ == null) { startTime_ = null; } else { startTime_ = null; startTimeBuilder_ = null; } if (timeToLastRxByteBuilder_ == null) { timeToLastRxByte_ = null; } else { timeToLastRxByte_ = null; timeToLastRxByteBuilder_ = null; } if (timeToFirstUpstreamTxByteBuilder_ == null) { timeToFirstUpstreamTxByte_ = null; } else { timeToFirstUpstreamTxByte_ = null; timeToFirstUpstreamTxByteBuilder_ = null; } if (timeToLastUpstreamTxByteBuilder_ == null) { timeToLastUpstreamTxByte_ = null; } else { timeToLastUpstreamTxByte_ = null; timeToLastUpstreamTxByteBuilder_ = null; } if (timeToFirstUpstreamRxByteBuilder_ == null) { timeToFirstUpstreamRxByte_ = null; } else { timeToFirstUpstreamRxByte_ = null; timeToFirstUpstreamRxByteBuilder_ = null; } if (timeToLastUpstreamRxByteBuilder_ == null) { timeToLastUpstreamRxByte_ = null; } else { timeToLastUpstreamRxByte_ = null; timeToLastUpstreamRxByteBuilder_ = null; } if (timeToFirstDownstreamTxByteBuilder_ == null) { timeToFirstDownstreamTxByte_ = null; } else { timeToFirstDownstreamTxByte_ = null; timeToFirstDownstreamTxByteBuilder_ = null; } if (timeToLastDownstreamTxByteBuilder_ == null) { timeToLastDownstreamTxByte_ = null; } else { timeToLastDownstreamTxByte_ = null; timeToLastDownstreamTxByteBuilder_ = null; } if (upstreamRemoteAddressBuilder_ == null) { upstreamRemoteAddress_ = null; } else { upstreamRemoteAddress_ = null; upstreamRemoteAddressBuilder_ = null; } if (upstreamLocalAddressBuilder_ == null) { upstreamLocalAddress_ = null; } else { upstreamLocalAddress_ = null; upstreamLocalAddressBuilder_ = null; } upstreamCluster_ = ""; if (responseFlagsBuilder_ == null) { responseFlags_ = null; } else { responseFlags_ = null; responseFlagsBuilder_ = null; } if (metadataBuilder_ == null) { metadata_ = null; } else { metadata_ = null; metadataBuilder_ = null; } upstreamTransportFailureReason_ = ""; routeName_ = ""; if (downstreamDirectRemoteAddressBuilder_ == null) { downstreamDirectRemoteAddress_ = null; } else { downstreamDirectRemoteAddress_ = null; downstreamDirectRemoteAddressBuilder_ = null; } internalGetMutableFilterStateObjects().clear(); internalGetMutableCustomTags().clear(); if (durationBuilder_ == null) { duration_ = null; } else { duration_ = null; durationBuilder_ = null; } upstreamRequestAttemptCount_ = 0; connectionTerminationDetails_ = ""; streamId_ = ""; intermediateLogEntry_ = false; downstreamTransportFailureReason_ = ""; downstreamWireBytesSent_ = 0L; downstreamWireBytesReceived_ = 0L; upstreamWireBytesSent_ = 0L; upstreamWireBytesReceived_ = 0L; accessLogType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_AccessLogCommon_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon build() { io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon buildPartial() { io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon result = new io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon(this); int from_bitField0_ = bitField0_; result.sampleRate_ = sampleRate_; if (downstreamRemoteAddressBuilder_ == null) { result.downstreamRemoteAddress_ = downstreamRemoteAddress_; } else { result.downstreamRemoteAddress_ = downstreamRemoteAddressBuilder_.build(); } if (downstreamLocalAddressBuilder_ == null) { result.downstreamLocalAddress_ = downstreamLocalAddress_; } else { result.downstreamLocalAddress_ = downstreamLocalAddressBuilder_.build(); } if (tlsPropertiesBuilder_ == null) { result.tlsProperties_ = tlsProperties_; } else { result.tlsProperties_ = tlsPropertiesBuilder_.build(); } if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } if (timeToLastRxByteBuilder_ == null) { result.timeToLastRxByte_ = timeToLastRxByte_; } else { result.timeToLastRxByte_ = timeToLastRxByteBuilder_.build(); } if (timeToFirstUpstreamTxByteBuilder_ == null) { result.timeToFirstUpstreamTxByte_ = timeToFirstUpstreamTxByte_; } else { result.timeToFirstUpstreamTxByte_ = timeToFirstUpstreamTxByteBuilder_.build(); } if (timeToLastUpstreamTxByteBuilder_ == null) { result.timeToLastUpstreamTxByte_ = timeToLastUpstreamTxByte_; } else { result.timeToLastUpstreamTxByte_ = timeToLastUpstreamTxByteBuilder_.build(); } if (timeToFirstUpstreamRxByteBuilder_ == null) { result.timeToFirstUpstreamRxByte_ = timeToFirstUpstreamRxByte_; } else { result.timeToFirstUpstreamRxByte_ = timeToFirstUpstreamRxByteBuilder_.build(); } if (timeToLastUpstreamRxByteBuilder_ == null) { result.timeToLastUpstreamRxByte_ = timeToLastUpstreamRxByte_; } else { result.timeToLastUpstreamRxByte_ = timeToLastUpstreamRxByteBuilder_.build(); } if (timeToFirstDownstreamTxByteBuilder_ == null) { result.timeToFirstDownstreamTxByte_ = timeToFirstDownstreamTxByte_; } else { result.timeToFirstDownstreamTxByte_ = timeToFirstDownstreamTxByteBuilder_.build(); } if (timeToLastDownstreamTxByteBuilder_ == null) { result.timeToLastDownstreamTxByte_ = timeToLastDownstreamTxByte_; } else { result.timeToLastDownstreamTxByte_ = timeToLastDownstreamTxByteBuilder_.build(); } if (upstreamRemoteAddressBuilder_ == null) { result.upstreamRemoteAddress_ = upstreamRemoteAddress_; } else { result.upstreamRemoteAddress_ = upstreamRemoteAddressBuilder_.build(); } if (upstreamLocalAddressBuilder_ == null) { result.upstreamLocalAddress_ = upstreamLocalAddress_; } else { result.upstreamLocalAddress_ = upstreamLocalAddressBuilder_.build(); } result.upstreamCluster_ = upstreamCluster_; if (responseFlagsBuilder_ == null) { result.responseFlags_ = responseFlags_; } else { result.responseFlags_ = responseFlagsBuilder_.build(); } if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } result.upstreamTransportFailureReason_ = upstreamTransportFailureReason_; result.routeName_ = routeName_; if (downstreamDirectRemoteAddressBuilder_ == null) { result.downstreamDirectRemoteAddress_ = downstreamDirectRemoteAddress_; } else { result.downstreamDirectRemoteAddress_ = downstreamDirectRemoteAddressBuilder_.build(); } result.filterStateObjects_ = internalGetFilterStateObjects(); result.filterStateObjects_.makeImmutable(); result.customTags_ = internalGetCustomTags(); result.customTags_.makeImmutable(); if (durationBuilder_ == null) { result.duration_ = duration_; } else { result.duration_ = durationBuilder_.build(); } result.upstreamRequestAttemptCount_ = upstreamRequestAttemptCount_; result.connectionTerminationDetails_ = connectionTerminationDetails_; result.streamId_ = streamId_; result.intermediateLogEntry_ = intermediateLogEntry_; result.downstreamTransportFailureReason_ = downstreamTransportFailureReason_; result.downstreamWireBytesSent_ = downstreamWireBytesSent_; result.downstreamWireBytesReceived_ = downstreamWireBytesReceived_; result.upstreamWireBytesSent_ = upstreamWireBytesSent_; result.upstreamWireBytesReceived_ = upstreamWireBytesReceived_; result.accessLogType_ = accessLogType_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon other) { if (other == io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon.getDefaultInstance()) return this; if (other.getSampleRate() != 0D) { setSampleRate(other.getSampleRate()); } if (other.hasDownstreamRemoteAddress()) { mergeDownstreamRemoteAddress(other.getDownstreamRemoteAddress()); } if (other.hasDownstreamLocalAddress()) { mergeDownstreamLocalAddress(other.getDownstreamLocalAddress()); } if (other.hasTlsProperties()) { mergeTlsProperties(other.getTlsProperties()); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasTimeToLastRxByte()) { mergeTimeToLastRxByte(other.getTimeToLastRxByte()); } if (other.hasTimeToFirstUpstreamTxByte()) { mergeTimeToFirstUpstreamTxByte(other.getTimeToFirstUpstreamTxByte()); } if (other.hasTimeToLastUpstreamTxByte()) { mergeTimeToLastUpstreamTxByte(other.getTimeToLastUpstreamTxByte()); } if (other.hasTimeToFirstUpstreamRxByte()) { mergeTimeToFirstUpstreamRxByte(other.getTimeToFirstUpstreamRxByte()); } if (other.hasTimeToLastUpstreamRxByte()) { mergeTimeToLastUpstreamRxByte(other.getTimeToLastUpstreamRxByte()); } if (other.hasTimeToFirstDownstreamTxByte()) { mergeTimeToFirstDownstreamTxByte(other.getTimeToFirstDownstreamTxByte()); } if (other.hasTimeToLastDownstreamTxByte()) { mergeTimeToLastDownstreamTxByte(other.getTimeToLastDownstreamTxByte()); } if (other.hasUpstreamRemoteAddress()) { mergeUpstreamRemoteAddress(other.getUpstreamRemoteAddress()); } if (other.hasUpstreamLocalAddress()) { mergeUpstreamLocalAddress(other.getUpstreamLocalAddress()); } if (!other.getUpstreamCluster().isEmpty()) { upstreamCluster_ = other.upstreamCluster_; onChanged(); } if (other.hasResponseFlags()) { mergeResponseFlags(other.getResponseFlags()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (!other.getUpstreamTransportFailureReason().isEmpty()) { upstreamTransportFailureReason_ = other.upstreamTransportFailureReason_; onChanged(); } if (!other.getRouteName().isEmpty()) { routeName_ = other.routeName_; onChanged(); } if (other.hasDownstreamDirectRemoteAddress()) { mergeDownstreamDirectRemoteAddress(other.getDownstreamDirectRemoteAddress()); } internalGetMutableFilterStateObjects().mergeFrom( other.internalGetFilterStateObjects()); internalGetMutableCustomTags().mergeFrom( other.internalGetCustomTags()); if (other.hasDuration()) { mergeDuration(other.getDuration()); } if (other.getUpstreamRequestAttemptCount() != 0) { setUpstreamRequestAttemptCount(other.getUpstreamRequestAttemptCount()); } if (!other.getConnectionTerminationDetails().isEmpty()) { connectionTerminationDetails_ = other.connectionTerminationDetails_; onChanged(); } if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } if (other.getIntermediateLogEntry() != false) { setIntermediateLogEntry(other.getIntermediateLogEntry()); } if (!other.getDownstreamTransportFailureReason().isEmpty()) { downstreamTransportFailureReason_ = other.downstreamTransportFailureReason_; onChanged(); } if (other.getDownstreamWireBytesSent() != 0L) { setDownstreamWireBytesSent(other.getDownstreamWireBytesSent()); } if (other.getDownstreamWireBytesReceived() != 0L) { setDownstreamWireBytesReceived(other.getDownstreamWireBytesReceived()); } if (other.getUpstreamWireBytesSent() != 0L) { setUpstreamWireBytesSent(other.getUpstreamWireBytesSent()); } if (other.getUpstreamWireBytesReceived() != 0L) { setUpstreamWireBytesReceived(other.getUpstreamWireBytesReceived()); } if (other.accessLogType_ != 0) { setAccessLogTypeValue(other.getAccessLogTypeValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double sampleRate_ ; /** *
     * [#not-implemented-hide:]
     * This field indicates the rate at which this log entry was sampled.
     * Valid range is (0.0, 1.0].
     * 
* * double sample_rate = 1 [(.validate.rules) = { ... } * @return The sampleRate. */ @java.lang.Override public double getSampleRate() { return sampleRate_; } /** *
     * [#not-implemented-hide:]
     * This field indicates the rate at which this log entry was sampled.
     * Valid range is (0.0, 1.0].
     * 
* * double sample_rate = 1 [(.validate.rules) = { ... } * @param value The sampleRate to set. * @return This builder for chaining. */ public Builder setSampleRate(double value) { sampleRate_ = value; onChanged(); return this; } /** *
     * [#not-implemented-hide:]
     * This field indicates the rate at which this log entry was sampled.
     * Valid range is (0.0, 1.0].
     * 
* * double sample_rate = 1 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearSampleRate() { sampleRate_ = 0D; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.Address downstreamRemoteAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> downstreamRemoteAddressBuilder_; /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; * @return Whether the downstreamRemoteAddress field is set. */ public boolean hasDownstreamRemoteAddress() { return downstreamRemoteAddressBuilder_ != null || downstreamRemoteAddress_ != null; } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; * @return The downstreamRemoteAddress. */ public io.envoyproxy.envoy.config.core.v3.Address getDownstreamRemoteAddress() { if (downstreamRemoteAddressBuilder_ == null) { return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamRemoteAddress_; } else { return downstreamRemoteAddressBuilder_.getMessage(); } } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ public Builder setDownstreamRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (downstreamRemoteAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } downstreamRemoteAddress_ = value; onChanged(); } else { downstreamRemoteAddressBuilder_.setMessage(value); } return this; } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ public Builder setDownstreamRemoteAddress( io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) { if (downstreamRemoteAddressBuilder_ == null) { downstreamRemoteAddress_ = builderForValue.build(); onChanged(); } else { downstreamRemoteAddressBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ public Builder mergeDownstreamRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (downstreamRemoteAddressBuilder_ == null) { if (downstreamRemoteAddress_ != null) { downstreamRemoteAddress_ = io.envoyproxy.envoy.config.core.v3.Address.newBuilder(downstreamRemoteAddress_).mergeFrom(value).buildPartial(); } else { downstreamRemoteAddress_ = value; } onChanged(); } else { downstreamRemoteAddressBuilder_.mergeFrom(value); } return this; } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ public Builder clearDownstreamRemoteAddress() { if (downstreamRemoteAddressBuilder_ == null) { downstreamRemoteAddress_ = null; onChanged(); } else { downstreamRemoteAddress_ = null; downstreamRemoteAddressBuilder_ = null; } return this; } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ public io.envoyproxy.envoy.config.core.v3.Address.Builder getDownstreamRemoteAddressBuilder() { onChanged(); return getDownstreamRemoteAddressFieldBuilder().getBuilder(); } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getDownstreamRemoteAddressOrBuilder() { if (downstreamRemoteAddressBuilder_ != null) { return downstreamRemoteAddressBuilder_.getMessageOrBuilder(); } else { return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamRemoteAddress_; } } /** *
     * This field is the remote/origin address on which the request from the user was received.
     * Note: This may not be the physical peer. E.g, if the remote address is inferred from for
     * example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_remote_address = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> getDownstreamRemoteAddressFieldBuilder() { if (downstreamRemoteAddressBuilder_ == null) { downstreamRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>( getDownstreamRemoteAddress(), getParentForChildren(), isClean()); downstreamRemoteAddress_ = null; } return downstreamRemoteAddressBuilder_; } private io.envoyproxy.envoy.config.core.v3.Address downstreamLocalAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> downstreamLocalAddressBuilder_; /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; * @return Whether the downstreamLocalAddress field is set. */ public boolean hasDownstreamLocalAddress() { return downstreamLocalAddressBuilder_ != null || downstreamLocalAddress_ != null; } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; * @return The downstreamLocalAddress. */ public io.envoyproxy.envoy.config.core.v3.Address getDownstreamLocalAddress() { if (downstreamLocalAddressBuilder_ == null) { return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamLocalAddress_; } else { return downstreamLocalAddressBuilder_.getMessage(); } } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ public Builder setDownstreamLocalAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (downstreamLocalAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } downstreamLocalAddress_ = value; onChanged(); } else { downstreamLocalAddressBuilder_.setMessage(value); } return this; } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ public Builder setDownstreamLocalAddress( io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) { if (downstreamLocalAddressBuilder_ == null) { downstreamLocalAddress_ = builderForValue.build(); onChanged(); } else { downstreamLocalAddressBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ public Builder mergeDownstreamLocalAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (downstreamLocalAddressBuilder_ == null) { if (downstreamLocalAddress_ != null) { downstreamLocalAddress_ = io.envoyproxy.envoy.config.core.v3.Address.newBuilder(downstreamLocalAddress_).mergeFrom(value).buildPartial(); } else { downstreamLocalAddress_ = value; } onChanged(); } else { downstreamLocalAddressBuilder_.mergeFrom(value); } return this; } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ public Builder clearDownstreamLocalAddress() { if (downstreamLocalAddressBuilder_ == null) { downstreamLocalAddress_ = null; onChanged(); } else { downstreamLocalAddress_ = null; downstreamLocalAddressBuilder_ = null; } return this; } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ public io.envoyproxy.envoy.config.core.v3.Address.Builder getDownstreamLocalAddressBuilder() { onChanged(); return getDownstreamLocalAddressFieldBuilder().getBuilder(); } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getDownstreamLocalAddressOrBuilder() { if (downstreamLocalAddressBuilder_ != null) { return downstreamLocalAddressBuilder_.getMessageOrBuilder(); } else { return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamLocalAddress_; } } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.config.core.v3.Address downstream_local_address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> getDownstreamLocalAddressFieldBuilder() { if (downstreamLocalAddressBuilder_ == null) { downstreamLocalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>( getDownstreamLocalAddress(), getParentForChildren(), isClean()); downstreamLocalAddress_ = null; } return downstreamLocalAddressBuilder_; } private io.envoyproxy.envoy.data.accesslog.v3.TLSProperties tlsProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSPropertiesOrBuilder> tlsPropertiesBuilder_; /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; * @return Whether the tlsProperties field is set. */ public boolean hasTlsProperties() { return tlsPropertiesBuilder_ != null || tlsProperties_ != null; } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; * @return The tlsProperties. */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties getTlsProperties() { if (tlsPropertiesBuilder_ == null) { return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.getDefaultInstance() : tlsProperties_; } else { return tlsPropertiesBuilder_.getMessage(); } } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ public Builder setTlsProperties(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties value) { if (tlsPropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tlsProperties_ = value; onChanged(); } else { tlsPropertiesBuilder_.setMessage(value); } return this; } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ public Builder setTlsProperties( io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder builderForValue) { if (tlsPropertiesBuilder_ == null) { tlsProperties_ = builderForValue.build(); onChanged(); } else { tlsPropertiesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ public Builder mergeTlsProperties(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties value) { if (tlsPropertiesBuilder_ == null) { if (tlsProperties_ != null) { tlsProperties_ = io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.newBuilder(tlsProperties_).mergeFrom(value).buildPartial(); } else { tlsProperties_ = value; } onChanged(); } else { tlsPropertiesBuilder_.mergeFrom(value); } return this; } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ public Builder clearTlsProperties() { if (tlsPropertiesBuilder_ == null) { tlsProperties_ = null; onChanged(); } else { tlsProperties_ = null; tlsPropertiesBuilder_ = null; } return this; } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder getTlsPropertiesBuilder() { onChanged(); return getTlsPropertiesFieldBuilder().getBuilder(); } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSPropertiesOrBuilder getTlsPropertiesOrBuilder() { if (tlsPropertiesBuilder_ != null) { return tlsPropertiesBuilder_.getMessageOrBuilder(); } else { return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.getDefaultInstance() : tlsProperties_; } } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v3.TLSProperties tls_properties = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSPropertiesOrBuilder> getTlsPropertiesFieldBuilder() { if (tlsPropertiesBuilder_ == null) { tlsPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSPropertiesOrBuilder>( getTlsProperties(), getParentForChildren(), isClean()); tlsProperties_ = null; } return tlsPropertiesBuilder_; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); } else { startTimeBuilder_.setMessage(value); } return this; } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } onChanged(); } else { startTimeBuilder_.mergeFrom(value); } return this; } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { startTime_ = null; onChanged(); } else { startTime_ = null; startTimeBuilder_ = null; } return this; } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** *
     * The time that Envoy started servicing this request. This is effectively the time that the first
     * downstream byte is received.
     * 
* * .google.protobuf.Timestamp start_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Duration timeToLastRxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToLastRxByteBuilder_; /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; * @return Whether the timeToLastRxByte field is set. */ public boolean hasTimeToLastRxByte() { return timeToLastRxByteBuilder_ != null || timeToLastRxByte_ != null; } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; * @return The timeToLastRxByte. */ public com.google.protobuf.Duration getTimeToLastRxByte() { if (timeToLastRxByteBuilder_ == null) { return timeToLastRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastRxByte_; } else { return timeToLastRxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ public Builder setTimeToLastRxByte(com.google.protobuf.Duration value) { if (timeToLastRxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToLastRxByte_ = value; onChanged(); } else { timeToLastRxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ public Builder setTimeToLastRxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToLastRxByteBuilder_ == null) { timeToLastRxByte_ = builderForValue.build(); onChanged(); } else { timeToLastRxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ public Builder mergeTimeToLastRxByte(com.google.protobuf.Duration value) { if (timeToLastRxByteBuilder_ == null) { if (timeToLastRxByte_ != null) { timeToLastRxByte_ = com.google.protobuf.Duration.newBuilder(timeToLastRxByte_).mergeFrom(value).buildPartial(); } else { timeToLastRxByte_ = value; } onChanged(); } else { timeToLastRxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ public Builder clearTimeToLastRxByte() { if (timeToLastRxByteBuilder_ == null) { timeToLastRxByte_ = null; onChanged(); } else { timeToLastRxByte_ = null; timeToLastRxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ public com.google.protobuf.Duration.Builder getTimeToLastRxByteBuilder() { onChanged(); return getTimeToLastRxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ public com.google.protobuf.DurationOrBuilder getTimeToLastRxByteOrBuilder() { if (timeToLastRxByteBuilder_ != null) { return timeToLastRxByteBuilder_.getMessageOrBuilder(); } else { return timeToLastRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastRxByte_; } } /** *
     * Interval between the first downstream byte received and the last
     * downstream byte received (i.e. time it takes to receive a request).
     * 
* * .google.protobuf.Duration time_to_last_rx_byte = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToLastRxByteFieldBuilder() { if (timeToLastRxByteBuilder_ == null) { timeToLastRxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToLastRxByte(), getParentForChildren(), isClean()); timeToLastRxByte_ = null; } return timeToLastRxByteBuilder_; } private com.google.protobuf.Duration timeToFirstUpstreamTxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToFirstUpstreamTxByteBuilder_; /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; * @return Whether the timeToFirstUpstreamTxByte field is set. */ public boolean hasTimeToFirstUpstreamTxByte() { return timeToFirstUpstreamTxByteBuilder_ != null || timeToFirstUpstreamTxByte_ != null; } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; * @return The timeToFirstUpstreamTxByte. */ public com.google.protobuf.Duration getTimeToFirstUpstreamTxByte() { if (timeToFirstUpstreamTxByteBuilder_ == null) { return timeToFirstUpstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstUpstreamTxByte_; } else { return timeToFirstUpstreamTxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ public Builder setTimeToFirstUpstreamTxByte(com.google.protobuf.Duration value) { if (timeToFirstUpstreamTxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToFirstUpstreamTxByte_ = value; onChanged(); } else { timeToFirstUpstreamTxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ public Builder setTimeToFirstUpstreamTxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToFirstUpstreamTxByteBuilder_ == null) { timeToFirstUpstreamTxByte_ = builderForValue.build(); onChanged(); } else { timeToFirstUpstreamTxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ public Builder mergeTimeToFirstUpstreamTxByte(com.google.protobuf.Duration value) { if (timeToFirstUpstreamTxByteBuilder_ == null) { if (timeToFirstUpstreamTxByte_ != null) { timeToFirstUpstreamTxByte_ = com.google.protobuf.Duration.newBuilder(timeToFirstUpstreamTxByte_).mergeFrom(value).buildPartial(); } else { timeToFirstUpstreamTxByte_ = value; } onChanged(); } else { timeToFirstUpstreamTxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ public Builder clearTimeToFirstUpstreamTxByte() { if (timeToFirstUpstreamTxByteBuilder_ == null) { timeToFirstUpstreamTxByte_ = null; onChanged(); } else { timeToFirstUpstreamTxByte_ = null; timeToFirstUpstreamTxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ public com.google.protobuf.Duration.Builder getTimeToFirstUpstreamTxByteBuilder() { onChanged(); return getTimeToFirstUpstreamTxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ public com.google.protobuf.DurationOrBuilder getTimeToFirstUpstreamTxByteOrBuilder() { if (timeToFirstUpstreamTxByteBuilder_ != null) { return timeToFirstUpstreamTxByteBuilder_.getMessageOrBuilder(); } else { return timeToFirstUpstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstUpstreamTxByte_; } } /** *
     * Interval between the first downstream byte received and the first upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_upstream_tx_byte = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToFirstUpstreamTxByteFieldBuilder() { if (timeToFirstUpstreamTxByteBuilder_ == null) { timeToFirstUpstreamTxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToFirstUpstreamTxByte(), getParentForChildren(), isClean()); timeToFirstUpstreamTxByte_ = null; } return timeToFirstUpstreamTxByteBuilder_; } private com.google.protobuf.Duration timeToLastUpstreamTxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToLastUpstreamTxByteBuilder_; /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; * @return Whether the timeToLastUpstreamTxByte field is set. */ public boolean hasTimeToLastUpstreamTxByte() { return timeToLastUpstreamTxByteBuilder_ != null || timeToLastUpstreamTxByte_ != null; } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; * @return The timeToLastUpstreamTxByte. */ public com.google.protobuf.Duration getTimeToLastUpstreamTxByte() { if (timeToLastUpstreamTxByteBuilder_ == null) { return timeToLastUpstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastUpstreamTxByte_; } else { return timeToLastUpstreamTxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ public Builder setTimeToLastUpstreamTxByte(com.google.protobuf.Duration value) { if (timeToLastUpstreamTxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToLastUpstreamTxByte_ = value; onChanged(); } else { timeToLastUpstreamTxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ public Builder setTimeToLastUpstreamTxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToLastUpstreamTxByteBuilder_ == null) { timeToLastUpstreamTxByte_ = builderForValue.build(); onChanged(); } else { timeToLastUpstreamTxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ public Builder mergeTimeToLastUpstreamTxByte(com.google.protobuf.Duration value) { if (timeToLastUpstreamTxByteBuilder_ == null) { if (timeToLastUpstreamTxByte_ != null) { timeToLastUpstreamTxByte_ = com.google.protobuf.Duration.newBuilder(timeToLastUpstreamTxByte_).mergeFrom(value).buildPartial(); } else { timeToLastUpstreamTxByte_ = value; } onChanged(); } else { timeToLastUpstreamTxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ public Builder clearTimeToLastUpstreamTxByte() { if (timeToLastUpstreamTxByteBuilder_ == null) { timeToLastUpstreamTxByte_ = null; onChanged(); } else { timeToLastUpstreamTxByte_ = null; timeToLastUpstreamTxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ public com.google.protobuf.Duration.Builder getTimeToLastUpstreamTxByteBuilder() { onChanged(); return getTimeToLastUpstreamTxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ public com.google.protobuf.DurationOrBuilder getTimeToLastUpstreamTxByteOrBuilder() { if (timeToLastUpstreamTxByteBuilder_ != null) { return timeToLastUpstreamTxByteBuilder_.getMessageOrBuilder(); } else { return timeToLastUpstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastUpstreamTxByte_; } } /** *
     * Interval between the first downstream byte received and the last upstream byte sent. There may
     * by considerable delta between ``time_to_last_rx_byte`` and this value due to filters.
     * Additionally, the same caveats apply as documented in ``time_to_last_downstream_tx_byte`` about
     * not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_last_upstream_tx_byte = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToLastUpstreamTxByteFieldBuilder() { if (timeToLastUpstreamTxByteBuilder_ == null) { timeToLastUpstreamTxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToLastUpstreamTxByte(), getParentForChildren(), isClean()); timeToLastUpstreamTxByte_ = null; } return timeToLastUpstreamTxByteBuilder_; } private com.google.protobuf.Duration timeToFirstUpstreamRxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToFirstUpstreamRxByteBuilder_; /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; * @return Whether the timeToFirstUpstreamRxByte field is set. */ public boolean hasTimeToFirstUpstreamRxByte() { return timeToFirstUpstreamRxByteBuilder_ != null || timeToFirstUpstreamRxByte_ != null; } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; * @return The timeToFirstUpstreamRxByte. */ public com.google.protobuf.Duration getTimeToFirstUpstreamRxByte() { if (timeToFirstUpstreamRxByteBuilder_ == null) { return timeToFirstUpstreamRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstUpstreamRxByte_; } else { return timeToFirstUpstreamRxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ public Builder setTimeToFirstUpstreamRxByte(com.google.protobuf.Duration value) { if (timeToFirstUpstreamRxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToFirstUpstreamRxByte_ = value; onChanged(); } else { timeToFirstUpstreamRxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ public Builder setTimeToFirstUpstreamRxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToFirstUpstreamRxByteBuilder_ == null) { timeToFirstUpstreamRxByte_ = builderForValue.build(); onChanged(); } else { timeToFirstUpstreamRxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ public Builder mergeTimeToFirstUpstreamRxByte(com.google.protobuf.Duration value) { if (timeToFirstUpstreamRxByteBuilder_ == null) { if (timeToFirstUpstreamRxByte_ != null) { timeToFirstUpstreamRxByte_ = com.google.protobuf.Duration.newBuilder(timeToFirstUpstreamRxByte_).mergeFrom(value).buildPartial(); } else { timeToFirstUpstreamRxByte_ = value; } onChanged(); } else { timeToFirstUpstreamRxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ public Builder clearTimeToFirstUpstreamRxByte() { if (timeToFirstUpstreamRxByteBuilder_ == null) { timeToFirstUpstreamRxByte_ = null; onChanged(); } else { timeToFirstUpstreamRxByte_ = null; timeToFirstUpstreamRxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ public com.google.protobuf.Duration.Builder getTimeToFirstUpstreamRxByteBuilder() { onChanged(); return getTimeToFirstUpstreamRxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ public com.google.protobuf.DurationOrBuilder getTimeToFirstUpstreamRxByteOrBuilder() { if (timeToFirstUpstreamRxByteBuilder_ != null) { return timeToFirstUpstreamRxByteBuilder_.getMessageOrBuilder(); } else { return timeToFirstUpstreamRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstUpstreamRxByte_; } } /** *
     * Interval between the first downstream byte received and the first upstream
     * byte received (i.e. time it takes to start receiving a response).
     * 
* * .google.protobuf.Duration time_to_first_upstream_rx_byte = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToFirstUpstreamRxByteFieldBuilder() { if (timeToFirstUpstreamRxByteBuilder_ == null) { timeToFirstUpstreamRxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToFirstUpstreamRxByte(), getParentForChildren(), isClean()); timeToFirstUpstreamRxByte_ = null; } return timeToFirstUpstreamRxByteBuilder_; } private com.google.protobuf.Duration timeToLastUpstreamRxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToLastUpstreamRxByteBuilder_; /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; * @return Whether the timeToLastUpstreamRxByte field is set. */ public boolean hasTimeToLastUpstreamRxByte() { return timeToLastUpstreamRxByteBuilder_ != null || timeToLastUpstreamRxByte_ != null; } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; * @return The timeToLastUpstreamRxByte. */ public com.google.protobuf.Duration getTimeToLastUpstreamRxByte() { if (timeToLastUpstreamRxByteBuilder_ == null) { return timeToLastUpstreamRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastUpstreamRxByte_; } else { return timeToLastUpstreamRxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ public Builder setTimeToLastUpstreamRxByte(com.google.protobuf.Duration value) { if (timeToLastUpstreamRxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToLastUpstreamRxByte_ = value; onChanged(); } else { timeToLastUpstreamRxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ public Builder setTimeToLastUpstreamRxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToLastUpstreamRxByteBuilder_ == null) { timeToLastUpstreamRxByte_ = builderForValue.build(); onChanged(); } else { timeToLastUpstreamRxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ public Builder mergeTimeToLastUpstreamRxByte(com.google.protobuf.Duration value) { if (timeToLastUpstreamRxByteBuilder_ == null) { if (timeToLastUpstreamRxByte_ != null) { timeToLastUpstreamRxByte_ = com.google.protobuf.Duration.newBuilder(timeToLastUpstreamRxByte_).mergeFrom(value).buildPartial(); } else { timeToLastUpstreamRxByte_ = value; } onChanged(); } else { timeToLastUpstreamRxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ public Builder clearTimeToLastUpstreamRxByte() { if (timeToLastUpstreamRxByteBuilder_ == null) { timeToLastUpstreamRxByte_ = null; onChanged(); } else { timeToLastUpstreamRxByte_ = null; timeToLastUpstreamRxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ public com.google.protobuf.Duration.Builder getTimeToLastUpstreamRxByteBuilder() { onChanged(); return getTimeToLastUpstreamRxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ public com.google.protobuf.DurationOrBuilder getTimeToLastUpstreamRxByteOrBuilder() { if (timeToLastUpstreamRxByteBuilder_ != null) { return timeToLastUpstreamRxByteBuilder_.getMessageOrBuilder(); } else { return timeToLastUpstreamRxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastUpstreamRxByte_; } } /** *
     * Interval between the first downstream byte received and the last upstream
     * byte received (i.e. time it takes to receive a complete response).
     * 
* * .google.protobuf.Duration time_to_last_upstream_rx_byte = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToLastUpstreamRxByteFieldBuilder() { if (timeToLastUpstreamRxByteBuilder_ == null) { timeToLastUpstreamRxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToLastUpstreamRxByte(), getParentForChildren(), isClean()); timeToLastUpstreamRxByte_ = null; } return timeToLastUpstreamRxByteBuilder_; } private com.google.protobuf.Duration timeToFirstDownstreamTxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToFirstDownstreamTxByteBuilder_; /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; * @return Whether the timeToFirstDownstreamTxByte field is set. */ public boolean hasTimeToFirstDownstreamTxByte() { return timeToFirstDownstreamTxByteBuilder_ != null || timeToFirstDownstreamTxByte_ != null; } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; * @return The timeToFirstDownstreamTxByte. */ public com.google.protobuf.Duration getTimeToFirstDownstreamTxByte() { if (timeToFirstDownstreamTxByteBuilder_ == null) { return timeToFirstDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstDownstreamTxByte_; } else { return timeToFirstDownstreamTxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ public Builder setTimeToFirstDownstreamTxByte(com.google.protobuf.Duration value) { if (timeToFirstDownstreamTxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToFirstDownstreamTxByte_ = value; onChanged(); } else { timeToFirstDownstreamTxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ public Builder setTimeToFirstDownstreamTxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToFirstDownstreamTxByteBuilder_ == null) { timeToFirstDownstreamTxByte_ = builderForValue.build(); onChanged(); } else { timeToFirstDownstreamTxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ public Builder mergeTimeToFirstDownstreamTxByte(com.google.protobuf.Duration value) { if (timeToFirstDownstreamTxByteBuilder_ == null) { if (timeToFirstDownstreamTxByte_ != null) { timeToFirstDownstreamTxByte_ = com.google.protobuf.Duration.newBuilder(timeToFirstDownstreamTxByte_).mergeFrom(value).buildPartial(); } else { timeToFirstDownstreamTxByte_ = value; } onChanged(); } else { timeToFirstDownstreamTxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ public Builder clearTimeToFirstDownstreamTxByte() { if (timeToFirstDownstreamTxByteBuilder_ == null) { timeToFirstDownstreamTxByte_ = null; onChanged(); } else { timeToFirstDownstreamTxByte_ = null; timeToFirstDownstreamTxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ public com.google.protobuf.Duration.Builder getTimeToFirstDownstreamTxByteBuilder() { onChanged(); return getTimeToFirstDownstreamTxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ public com.google.protobuf.DurationOrBuilder getTimeToFirstDownstreamTxByteOrBuilder() { if (timeToFirstDownstreamTxByteBuilder_ != null) { return timeToFirstDownstreamTxByteBuilder_.getMessageOrBuilder(); } else { return timeToFirstDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToFirstDownstreamTxByte_; } } /** *
     * Interval between the first downstream byte received and the first downstream byte sent.
     * There may be a considerable delta between the ``time_to_first_upstream_rx_byte`` and this field
     * due to filters. Additionally, the same caveats apply as documented in
     * ``time_to_last_downstream_tx_byte`` about not accounting for kernel socket buffer time, etc.
     * 
* * .google.protobuf.Duration time_to_first_downstream_tx_byte = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToFirstDownstreamTxByteFieldBuilder() { if (timeToFirstDownstreamTxByteBuilder_ == null) { timeToFirstDownstreamTxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToFirstDownstreamTxByte(), getParentForChildren(), isClean()); timeToFirstDownstreamTxByte_ = null; } return timeToFirstDownstreamTxByteBuilder_; } private com.google.protobuf.Duration timeToLastDownstreamTxByte_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeToLastDownstreamTxByteBuilder_; /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; * @return Whether the timeToLastDownstreamTxByte field is set. */ public boolean hasTimeToLastDownstreamTxByte() { return timeToLastDownstreamTxByteBuilder_ != null || timeToLastDownstreamTxByte_ != null; } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; * @return The timeToLastDownstreamTxByte. */ public com.google.protobuf.Duration getTimeToLastDownstreamTxByte() { if (timeToLastDownstreamTxByteBuilder_ == null) { return timeToLastDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastDownstreamTxByte_; } else { return timeToLastDownstreamTxByteBuilder_.getMessage(); } } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ public Builder setTimeToLastDownstreamTxByte(com.google.protobuf.Duration value) { if (timeToLastDownstreamTxByteBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeToLastDownstreamTxByte_ = value; onChanged(); } else { timeToLastDownstreamTxByteBuilder_.setMessage(value); } return this; } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ public Builder setTimeToLastDownstreamTxByte( com.google.protobuf.Duration.Builder builderForValue) { if (timeToLastDownstreamTxByteBuilder_ == null) { timeToLastDownstreamTxByte_ = builderForValue.build(); onChanged(); } else { timeToLastDownstreamTxByteBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ public Builder mergeTimeToLastDownstreamTxByte(com.google.protobuf.Duration value) { if (timeToLastDownstreamTxByteBuilder_ == null) { if (timeToLastDownstreamTxByte_ != null) { timeToLastDownstreamTxByte_ = com.google.protobuf.Duration.newBuilder(timeToLastDownstreamTxByte_).mergeFrom(value).buildPartial(); } else { timeToLastDownstreamTxByte_ = value; } onChanged(); } else { timeToLastDownstreamTxByteBuilder_.mergeFrom(value); } return this; } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ public Builder clearTimeToLastDownstreamTxByte() { if (timeToLastDownstreamTxByteBuilder_ == null) { timeToLastDownstreamTxByte_ = null; onChanged(); } else { timeToLastDownstreamTxByte_ = null; timeToLastDownstreamTxByteBuilder_ = null; } return this; } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ public com.google.protobuf.Duration.Builder getTimeToLastDownstreamTxByteBuilder() { onChanged(); return getTimeToLastDownstreamTxByteFieldBuilder().getBuilder(); } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ public com.google.protobuf.DurationOrBuilder getTimeToLastDownstreamTxByteOrBuilder() { if (timeToLastDownstreamTxByteBuilder_ != null) { return timeToLastDownstreamTxByteBuilder_.getMessageOrBuilder(); } else { return timeToLastDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastDownstreamTxByte_; } } /** *
     * Interval between the first downstream byte received and the last downstream byte sent.
     * Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
     * between ``time_to_last_upstream_rx_byte`` and this field. Note also that this is an approximate
     * time. In the current implementation it does not include kernel socket buffer time. In the
     * current implementation it also does not include send window buffering inside the HTTP/2 codec.
     * In the future it is likely that work will be done to make this duration more accurate.
     * 
* * .google.protobuf.Duration time_to_last_downstream_tx_byte = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeToLastDownstreamTxByteFieldBuilder() { if (timeToLastDownstreamTxByteBuilder_ == null) { timeToLastDownstreamTxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getTimeToLastDownstreamTxByte(), getParentForChildren(), isClean()); timeToLastDownstreamTxByte_ = null; } return timeToLastDownstreamTxByteBuilder_; } private io.envoyproxy.envoy.config.core.v3.Address upstreamRemoteAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> upstreamRemoteAddressBuilder_; /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; * @return Whether the upstreamRemoteAddress field is set. */ public boolean hasUpstreamRemoteAddress() { return upstreamRemoteAddressBuilder_ != null || upstreamRemoteAddress_ != null; } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; * @return The upstreamRemoteAddress. */ public io.envoyproxy.envoy.config.core.v3.Address getUpstreamRemoteAddress() { if (upstreamRemoteAddressBuilder_ == null) { return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : upstreamRemoteAddress_; } else { return upstreamRemoteAddressBuilder_.getMessage(); } } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ public Builder setUpstreamRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (upstreamRemoteAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } upstreamRemoteAddress_ = value; onChanged(); } else { upstreamRemoteAddressBuilder_.setMessage(value); } return this; } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ public Builder setUpstreamRemoteAddress( io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) { if (upstreamRemoteAddressBuilder_ == null) { upstreamRemoteAddress_ = builderForValue.build(); onChanged(); } else { upstreamRemoteAddressBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ public Builder mergeUpstreamRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (upstreamRemoteAddressBuilder_ == null) { if (upstreamRemoteAddress_ != null) { upstreamRemoteAddress_ = io.envoyproxy.envoy.config.core.v3.Address.newBuilder(upstreamRemoteAddress_).mergeFrom(value).buildPartial(); } else { upstreamRemoteAddress_ = value; } onChanged(); } else { upstreamRemoteAddressBuilder_.mergeFrom(value); } return this; } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ public Builder clearUpstreamRemoteAddress() { if (upstreamRemoteAddressBuilder_ == null) { upstreamRemoteAddress_ = null; onChanged(); } else { upstreamRemoteAddress_ = null; upstreamRemoteAddressBuilder_ = null; } return this; } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ public io.envoyproxy.envoy.config.core.v3.Address.Builder getUpstreamRemoteAddressBuilder() { onChanged(); return getUpstreamRemoteAddressFieldBuilder().getBuilder(); } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getUpstreamRemoteAddressOrBuilder() { if (upstreamRemoteAddressBuilder_ != null) { return upstreamRemoteAddressBuilder_.getMessageOrBuilder(); } else { return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : upstreamRemoteAddress_; } } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.config.core.v3.Address upstream_remote_address = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> getUpstreamRemoteAddressFieldBuilder() { if (upstreamRemoteAddressBuilder_ == null) { upstreamRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>( getUpstreamRemoteAddress(), getParentForChildren(), isClean()); upstreamRemoteAddress_ = null; } return upstreamRemoteAddressBuilder_; } private io.envoyproxy.envoy.config.core.v3.Address upstreamLocalAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> upstreamLocalAddressBuilder_; /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; * @return Whether the upstreamLocalAddress field is set. */ public boolean hasUpstreamLocalAddress() { return upstreamLocalAddressBuilder_ != null || upstreamLocalAddress_ != null; } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; * @return The upstreamLocalAddress. */ public io.envoyproxy.envoy.config.core.v3.Address getUpstreamLocalAddress() { if (upstreamLocalAddressBuilder_ == null) { return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : upstreamLocalAddress_; } else { return upstreamLocalAddressBuilder_.getMessage(); } } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ public Builder setUpstreamLocalAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (upstreamLocalAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } upstreamLocalAddress_ = value; onChanged(); } else { upstreamLocalAddressBuilder_.setMessage(value); } return this; } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ public Builder setUpstreamLocalAddress( io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) { if (upstreamLocalAddressBuilder_ == null) { upstreamLocalAddress_ = builderForValue.build(); onChanged(); } else { upstreamLocalAddressBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ public Builder mergeUpstreamLocalAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (upstreamLocalAddressBuilder_ == null) { if (upstreamLocalAddress_ != null) { upstreamLocalAddress_ = io.envoyproxy.envoy.config.core.v3.Address.newBuilder(upstreamLocalAddress_).mergeFrom(value).buildPartial(); } else { upstreamLocalAddress_ = value; } onChanged(); } else { upstreamLocalAddressBuilder_.mergeFrom(value); } return this; } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ public Builder clearUpstreamLocalAddress() { if (upstreamLocalAddressBuilder_ == null) { upstreamLocalAddress_ = null; onChanged(); } else { upstreamLocalAddress_ = null; upstreamLocalAddressBuilder_ = null; } return this; } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ public io.envoyproxy.envoy.config.core.v3.Address.Builder getUpstreamLocalAddressBuilder() { onChanged(); return getUpstreamLocalAddressFieldBuilder().getBuilder(); } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getUpstreamLocalAddressOrBuilder() { if (upstreamLocalAddressBuilder_ != null) { return upstreamLocalAddressBuilder_.getMessageOrBuilder(); } else { return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : upstreamLocalAddress_; } } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.config.core.v3.Address upstream_local_address = 14; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> getUpstreamLocalAddressFieldBuilder() { if (upstreamLocalAddressBuilder_ == null) { upstreamLocalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>( getUpstreamLocalAddress(), getParentForChildren(), isClean()); upstreamLocalAddress_ = null; } return upstreamLocalAddressBuilder_; } private java.lang.Object upstreamCluster_ = ""; /** *
     * The upstream cluster that ``upstream_remote_address`` belongs to.
     * 
* * string upstream_cluster = 15; * @return The upstreamCluster. */ public java.lang.String getUpstreamCluster() { java.lang.Object ref = upstreamCluster_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamCluster_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The upstream cluster that ``upstream_remote_address`` belongs to.
     * 
* * string upstream_cluster = 15; * @return The bytes for upstreamCluster. */ public com.google.protobuf.ByteString getUpstreamClusterBytes() { java.lang.Object ref = upstreamCluster_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upstreamCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The upstream cluster that ``upstream_remote_address`` belongs to.
     * 
* * string upstream_cluster = 15; * @param value The upstreamCluster to set. * @return This builder for chaining. */ public Builder setUpstreamCluster( java.lang.String value) { if (value == null) { throw new NullPointerException(); } upstreamCluster_ = value; onChanged(); return this; } /** *
     * The upstream cluster that ``upstream_remote_address`` belongs to.
     * 
* * string upstream_cluster = 15; * @return This builder for chaining. */ public Builder clearUpstreamCluster() { upstreamCluster_ = getDefaultInstance().getUpstreamCluster(); onChanged(); return this; } /** *
     * The upstream cluster that ``upstream_remote_address`` belongs to.
     * 
* * string upstream_cluster = 15; * @param value The bytes for upstreamCluster to set. * @return This builder for chaining. */ public Builder setUpstreamClusterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); upstreamCluster_ = value; onChanged(); return this; } private io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags responseFlags_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlagsOrBuilder> responseFlagsBuilder_; /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; * @return Whether the responseFlags field is set. */ public boolean hasResponseFlags() { return responseFlagsBuilder_ != null || responseFlags_ != null; } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; * @return The responseFlags. */ public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags getResponseFlags() { if (responseFlagsBuilder_ == null) { return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.getDefaultInstance() : responseFlags_; } else { return responseFlagsBuilder_.getMessage(); } } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ public Builder setResponseFlags(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags value) { if (responseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } responseFlags_ = value; onChanged(); } else { responseFlagsBuilder_.setMessage(value); } return this; } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ public Builder setResponseFlags( io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder builderForValue) { if (responseFlagsBuilder_ == null) { responseFlags_ = builderForValue.build(); onChanged(); } else { responseFlagsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ public Builder mergeResponseFlags(io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags value) { if (responseFlagsBuilder_ == null) { if (responseFlags_ != null) { responseFlags_ = io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.newBuilder(responseFlags_).mergeFrom(value).buildPartial(); } else { responseFlags_ = value; } onChanged(); } else { responseFlagsBuilder_.mergeFrom(value); } return this; } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ public Builder clearResponseFlags() { if (responseFlagsBuilder_ == null) { responseFlags_ = null; onChanged(); } else { responseFlags_ = null; responseFlagsBuilder_ = null; } return this; } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder getResponseFlagsBuilder() { onChanged(); return getResponseFlagsFieldBuilder().getBuilder(); } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ public io.envoyproxy.envoy.data.accesslog.v3.ResponseFlagsOrBuilder getResponseFlagsOrBuilder() { if (responseFlagsBuilder_ != null) { return responseFlagsBuilder_.getMessageOrBuilder(); } else { return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.getDefaultInstance() : responseFlags_; } } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v3.ResponseFlags response_flags = 16; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlagsOrBuilder> getResponseFlagsFieldBuilder() { if (responseFlagsBuilder_ == null) { responseFlagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v3.ResponseFlagsOrBuilder>( getResponseFlags(), getParentForChildren(), isClean()); responseFlags_ = null; } return responseFlagsBuilder_; } private io.envoyproxy.envoy.config.core.v3.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Metadata, io.envoyproxy.envoy.config.core.v3.Metadata.Builder, io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder> metadataBuilder_; /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; * @return The metadata. */ public io.envoyproxy.envoy.config.core.v3.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ public Builder setMetadata(io.envoyproxy.envoy.config.core.v3.Metadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } return this; } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ public Builder setMetadata( io.envoyproxy.envoy.config.core.v3.Metadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ public Builder mergeMetadata(io.envoyproxy.envoy.config.core.v3.Metadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = io.envoyproxy.envoy.config.core.v3.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } return this; } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadata_ = null; metadataBuilder_ = null; } return this; } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ public io.envoyproxy.envoy.config.core.v3.Metadata.Builder getMetadataBuilder() { onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ public io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? io.envoyproxy.envoy.config.core.v3.Metadata.getDefaultInstance() : metadata_; } } /** *
     * All metadata encountered during request processing, including endpoint
     * selection.
     * This can be used to associate IDs attached to the various configurations
     * used to process this request with the access log entry. For example, a
     * route created from a higher level forwarding rule with some ID can place
     * that ID in this field and cross reference later. It can also be used to
     * determine if a canary endpoint was used or not.
     * 
* * .envoy.config.core.v3.Metadata metadata = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Metadata, io.envoyproxy.envoy.config.core.v3.Metadata.Builder, io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Metadata, io.envoyproxy.envoy.config.core.v3.Metadata.Builder, io.envoyproxy.envoy.config.core.v3.MetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private java.lang.Object upstreamTransportFailureReason_ = ""; /** *
     * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured
     * upstream transport socket. Common TLS failures are in
     * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string upstream_transport_failure_reason = 18; * @return The upstreamTransportFailureReason. */ public java.lang.String getUpstreamTransportFailureReason() { java.lang.Object ref = upstreamTransportFailureReason_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upstreamTransportFailureReason_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured
     * upstream transport socket. Common TLS failures are in
     * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string upstream_transport_failure_reason = 18; * @return The bytes for upstreamTransportFailureReason. */ public com.google.protobuf.ByteString getUpstreamTransportFailureReasonBytes() { java.lang.Object ref = upstreamTransportFailureReason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upstreamTransportFailureReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured
     * upstream transport socket. Common TLS failures are in
     * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string upstream_transport_failure_reason = 18; * @param value The upstreamTransportFailureReason to set. * @return This builder for chaining. */ public Builder setUpstreamTransportFailureReason( java.lang.String value) { if (value == null) { throw new NullPointerException(); } upstreamTransportFailureReason_ = value; onChanged(); return this; } /** *
     * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured
     * upstream transport socket. Common TLS failures are in
     * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string upstream_transport_failure_reason = 18; * @return This builder for chaining. */ public Builder clearUpstreamTransportFailureReason() { upstreamTransportFailureReason_ = getDefaultInstance().getUpstreamTransportFailureReason(); onChanged(); return this; } /** *
     * If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured
     * upstream transport socket. Common TLS failures are in
     * :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string upstream_transport_failure_reason = 18; * @param value The bytes for upstreamTransportFailureReason to set. * @return This builder for chaining. */ public Builder setUpstreamTransportFailureReasonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); upstreamTransportFailureReason_ = value; onChanged(); return this; } private java.lang.Object routeName_ = ""; /** *
     * The name of the route
     * 
* * string route_name = 19; * @return The routeName. */ public java.lang.String getRouteName() { java.lang.Object ref = routeName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routeName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The name of the route
     * 
* * string route_name = 19; * @return The bytes for routeName. */ public com.google.protobuf.ByteString getRouteNameBytes() { java.lang.Object ref = routeName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); routeName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The name of the route
     * 
* * string route_name = 19; * @param value The routeName to set. * @return This builder for chaining. */ public Builder setRouteName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } routeName_ = value; onChanged(); return this; } /** *
     * The name of the route
     * 
* * string route_name = 19; * @return This builder for chaining. */ public Builder clearRouteName() { routeName_ = getDefaultInstance().getRouteName(); onChanged(); return this; } /** *
     * The name of the route
     * 
* * string route_name = 19; * @param value The bytes for routeName to set. * @return This builder for chaining. */ public Builder setRouteNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); routeName_ = value; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.Address downstreamDirectRemoteAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> downstreamDirectRemoteAddressBuilder_; /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; * @return Whether the downstreamDirectRemoteAddress field is set. */ public boolean hasDownstreamDirectRemoteAddress() { return downstreamDirectRemoteAddressBuilder_ != null || downstreamDirectRemoteAddress_ != null; } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; * @return The downstreamDirectRemoteAddress. */ public io.envoyproxy.envoy.config.core.v3.Address getDownstreamDirectRemoteAddress() { if (downstreamDirectRemoteAddressBuilder_ == null) { return downstreamDirectRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamDirectRemoteAddress_; } else { return downstreamDirectRemoteAddressBuilder_.getMessage(); } } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ public Builder setDownstreamDirectRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (downstreamDirectRemoteAddressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } downstreamDirectRemoteAddress_ = value; onChanged(); } else { downstreamDirectRemoteAddressBuilder_.setMessage(value); } return this; } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ public Builder setDownstreamDirectRemoteAddress( io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) { if (downstreamDirectRemoteAddressBuilder_ == null) { downstreamDirectRemoteAddress_ = builderForValue.build(); onChanged(); } else { downstreamDirectRemoteAddressBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ public Builder mergeDownstreamDirectRemoteAddress(io.envoyproxy.envoy.config.core.v3.Address value) { if (downstreamDirectRemoteAddressBuilder_ == null) { if (downstreamDirectRemoteAddress_ != null) { downstreamDirectRemoteAddress_ = io.envoyproxy.envoy.config.core.v3.Address.newBuilder(downstreamDirectRemoteAddress_).mergeFrom(value).buildPartial(); } else { downstreamDirectRemoteAddress_ = value; } onChanged(); } else { downstreamDirectRemoteAddressBuilder_.mergeFrom(value); } return this; } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ public Builder clearDownstreamDirectRemoteAddress() { if (downstreamDirectRemoteAddressBuilder_ == null) { downstreamDirectRemoteAddress_ = null; onChanged(); } else { downstreamDirectRemoteAddress_ = null; downstreamDirectRemoteAddressBuilder_ = null; } return this; } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ public io.envoyproxy.envoy.config.core.v3.Address.Builder getDownstreamDirectRemoteAddressBuilder() { onChanged(); return getDownstreamDirectRemoteAddressFieldBuilder().getBuilder(); } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getDownstreamDirectRemoteAddressOrBuilder() { if (downstreamDirectRemoteAddressBuilder_ != null) { return downstreamDirectRemoteAddressBuilder_.getMessageOrBuilder(); } else { return downstreamDirectRemoteAddress_ == null ? io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance() : downstreamDirectRemoteAddress_; } } /** *
     * This field is the downstream direct remote address on which the request from the user was
     * received. Note: This is always the physical peer, even if the remote address is inferred from
     * for example the x-forwarder-for header, proxy protocol, etc.
     * 
* * .envoy.config.core.v3.Address downstream_direct_remote_address = 20; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> getDownstreamDirectRemoteAddressFieldBuilder() { if (downstreamDirectRemoteAddressBuilder_ == null) { downstreamDirectRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Address, io.envoyproxy.envoy.config.core.v3.Address.Builder, io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>( getDownstreamDirectRemoteAddress(), getParentForChildren(), isClean()); downstreamDirectRemoteAddress_ = null; } return downstreamDirectRemoteAddressBuilder_; } private com.google.protobuf.MapField< java.lang.String, com.google.protobuf.Any> filterStateObjects_; private com.google.protobuf.MapField internalGetFilterStateObjects() { if (filterStateObjects_ == null) { return com.google.protobuf.MapField.emptyMapField( FilterStateObjectsDefaultEntryHolder.defaultEntry); } return filterStateObjects_; } private com.google.protobuf.MapField internalGetMutableFilterStateObjects() { onChanged();; if (filterStateObjects_ == null) { filterStateObjects_ = com.google.protobuf.MapField.newMapField( FilterStateObjectsDefaultEntryHolder.defaultEntry); } if (!filterStateObjects_.isMutable()) { filterStateObjects_ = filterStateObjects_.copy(); } return filterStateObjects_; } public int getFilterStateObjectsCount() { return internalGetFilterStateObjects().getMap().size(); } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public boolean containsFilterStateObjects( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetFilterStateObjects().getMap().containsKey(key); } /** * Use {@link #getFilterStateObjectsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFilterStateObjects() { return getFilterStateObjectsMap(); } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public java.util.Map getFilterStateObjectsMap() { return internalGetFilterStateObjects().getMap(); } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public com.google.protobuf.Any getFilterStateObjectsOrDefault( java.lang.String key, com.google.protobuf.Any defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFilterStateObjects().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ @java.lang.Override public com.google.protobuf.Any getFilterStateObjectsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFilterStateObjects().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearFilterStateObjects() { internalGetMutableFilterStateObjects().getMutableMap() .clear(); return this; } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ public Builder removeFilterStateObjects( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableFilterStateObjects().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFilterStateObjects() { return internalGetMutableFilterStateObjects().getMutableMap(); } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ public Builder putFilterStateObjects( java.lang.String key, com.google.protobuf.Any value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableFilterStateObjects().getMutableMap() .put(key, value); return this; } /** *
     * Map of filter state in stream info that have been configured to be logged. If the filter
     * state serialized to any message other than ``google.protobuf.Any`` it will be packed into
     * ``google.protobuf.Any``.
     * 
* * map<string, .google.protobuf.Any> filter_state_objects = 21; */ public Builder putAllFilterStateObjects( java.util.Map values) { internalGetMutableFilterStateObjects().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> customTags_; private com.google.protobuf.MapField internalGetCustomTags() { if (customTags_ == null) { return com.google.protobuf.MapField.emptyMapField( CustomTagsDefaultEntryHolder.defaultEntry); } return customTags_; } private com.google.protobuf.MapField internalGetMutableCustomTags() { onChanged();; if (customTags_ == null) { customTags_ = com.google.protobuf.MapField.newMapField( CustomTagsDefaultEntryHolder.defaultEntry); } if (!customTags_.isMutable()) { customTags_ = customTags_.copy(); } return customTags_; } public int getCustomTagsCount() { return internalGetCustomTags().getMap().size(); } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public boolean containsCustomTags( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomTags().getMap().containsKey(key); } /** * Use {@link #getCustomTagsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCustomTags() { return getCustomTagsMap(); } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public java.util.Map getCustomTagsMap() { return internalGetCustomTags().getMap(); } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public java.lang.String getCustomTagsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomTags().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ @java.lang.Override public java.lang.String getCustomTagsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomTags().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearCustomTags() { internalGetMutableCustomTags().getMutableMap() .clear(); return this; } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ public Builder removeCustomTags( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCustomTags().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCustomTags() { return internalGetMutableCustomTags().getMutableMap(); } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ public Builder putCustomTags( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableCustomTags().getMutableMap() .put(key, value); return this; } /** *
     * A list of custom tags, which annotate logs with additional information.
     * To configure this value, users should configure
     * :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
     * 
* * map<string, string> custom_tags = 22; */ public Builder putAllCustomTags( java.util.Map values) { internalGetMutableCustomTags().getMutableMap() .putAll(values); return this; } private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } else { return durationBuilder_.getMessage(); } } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } duration_ = value; onChanged(); } else { durationBuilder_.setMessage(value); } return this; } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ public Builder setDuration( com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); } else { durationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } onChanged(); } else { durationBuilder_.mergeFrom(value); } return this; } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ public Builder clearDuration() { if (durationBuilder_ == null) { duration_ = null; onChanged(); } else { duration_ = null; durationBuilder_ = null; } return this; } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { onChanged(); return getDurationFieldBuilder().getBuilder(); } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** *
     * For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
     * For TCP: Total duration in milliseconds of the downstream connection.
     * This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
     * and may be longer than ``time_to_last_downstream_tx_byte``.
     * 
* * .google.protobuf.Duration duration = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } private int upstreamRequestAttemptCount_ ; /** *
     * For HTTP: Number of times the request is attempted upstream. Note that the field is omitted when the request was never attempted upstream.
     * For TCP: Number of times the connection request is attempted upstream. Note that the field is omitted when the connect request was never attempted upstream.
     * 
* * uint32 upstream_request_attempt_count = 24; * @return The upstreamRequestAttemptCount. */ @java.lang.Override public int getUpstreamRequestAttemptCount() { return upstreamRequestAttemptCount_; } /** *
     * For HTTP: Number of times the request is attempted upstream. Note that the field is omitted when the request was never attempted upstream.
     * For TCP: Number of times the connection request is attempted upstream. Note that the field is omitted when the connect request was never attempted upstream.
     * 
* * uint32 upstream_request_attempt_count = 24; * @param value The upstreamRequestAttemptCount to set. * @return This builder for chaining. */ public Builder setUpstreamRequestAttemptCount(int value) { upstreamRequestAttemptCount_ = value; onChanged(); return this; } /** *
     * For HTTP: Number of times the request is attempted upstream. Note that the field is omitted when the request was never attempted upstream.
     * For TCP: Number of times the connection request is attempted upstream. Note that the field is omitted when the connect request was never attempted upstream.
     * 
* * uint32 upstream_request_attempt_count = 24; * @return This builder for chaining. */ public Builder clearUpstreamRequestAttemptCount() { upstreamRequestAttemptCount_ = 0; onChanged(); return this; } private java.lang.Object connectionTerminationDetails_ = ""; /** *
     * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
     * 
* * string connection_termination_details = 25; * @return The connectionTerminationDetails. */ public java.lang.String getConnectionTerminationDetails() { java.lang.Object ref = connectionTerminationDetails_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); connectionTerminationDetails_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
     * 
* * string connection_termination_details = 25; * @return The bytes for connectionTerminationDetails. */ public com.google.protobuf.ByteString getConnectionTerminationDetailsBytes() { java.lang.Object ref = connectionTerminationDetails_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); connectionTerminationDetails_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
     * 
* * string connection_termination_details = 25; * @param value The connectionTerminationDetails to set. * @return This builder for chaining. */ public Builder setConnectionTerminationDetails( java.lang.String value) { if (value == null) { throw new NullPointerException(); } connectionTerminationDetails_ = value; onChanged(); return this; } /** *
     * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
     * 
* * string connection_termination_details = 25; * @return This builder for chaining. */ public Builder clearConnectionTerminationDetails() { connectionTerminationDetails_ = getDefaultInstance().getConnectionTerminationDetails(); onChanged(); return this; } /** *
     * Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
     * 
* * string connection_termination_details = 25; * @param value The bytes for connectionTerminationDetails to set. * @return This builder for chaining. */ public Builder setConnectionTerminationDetailsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); connectionTerminationDetails_ = value; onChanged(); return this; } private java.lang.Object streamId_ = ""; /** *
     * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
     * This could be any format string that could be used to identify one stream.
     * 
* * string stream_id = 26; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
     * This could be any format string that could be used to identify one stream.
     * 
* * string stream_id = 26; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
     * This could be any format string that could be used to identify one stream.
     * 
* * string stream_id = 26; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** *
     * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
     * This could be any format string that could be used to identify one stream.
     * 
* * string stream_id = 26; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** *
     * Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
     * This could be any format string that could be used to identify one stream.
     * 
* * string stream_id = 26; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } private boolean intermediateLogEntry_ ; /** *
     * If this log entry is final log entry that flushed after the stream completed or
     * intermediate log entry that flushed periodically during the stream.
     * There may be multiple intermediate log entries and only one final log entry for each
     * long-live stream (TCP connection, long-live HTTP2 stream).
     * And if it is necessary, unique ID or identifier can be added to the log entry
     * :ref:`stream_id <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.stream_id>` to
     * correlate all these intermediate log entries and final log entry.
     * .. attention::
     *   This field is deprecated in favor of ``access_log_type`` for better indication of the
     *   type of the access log record.
     * 
* * bool intermediate_log_entry = 27 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.data.accesslog.v3.AccessLogCommon.intermediate_log_entry is deprecated. * See envoy/data/accesslog/v3/accesslog.proto;l=236 * @return The intermediateLogEntry. */ @java.lang.Override @java.lang.Deprecated public boolean getIntermediateLogEntry() { return intermediateLogEntry_; } /** *
     * If this log entry is final log entry that flushed after the stream completed or
     * intermediate log entry that flushed periodically during the stream.
     * There may be multiple intermediate log entries and only one final log entry for each
     * long-live stream (TCP connection, long-live HTTP2 stream).
     * And if it is necessary, unique ID or identifier can be added to the log entry
     * :ref:`stream_id <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.stream_id>` to
     * correlate all these intermediate log entries and final log entry.
     * .. attention::
     *   This field is deprecated in favor of ``access_log_type`` for better indication of the
     *   type of the access log record.
     * 
* * bool intermediate_log_entry = 27 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.data.accesslog.v3.AccessLogCommon.intermediate_log_entry is deprecated. * See envoy/data/accesslog/v3/accesslog.proto;l=236 * @param value The intermediateLogEntry to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setIntermediateLogEntry(boolean value) { intermediateLogEntry_ = value; onChanged(); return this; } /** *
     * If this log entry is final log entry that flushed after the stream completed or
     * intermediate log entry that flushed periodically during the stream.
     * There may be multiple intermediate log entries and only one final log entry for each
     * long-live stream (TCP connection, long-live HTTP2 stream).
     * And if it is necessary, unique ID or identifier can be added to the log entry
     * :ref:`stream_id <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.stream_id>` to
     * correlate all these intermediate log entries and final log entry.
     * .. attention::
     *   This field is deprecated in favor of ``access_log_type`` for better indication of the
     *   type of the access log record.
     * 
* * bool intermediate_log_entry = 27 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.data.accesslog.v3.AccessLogCommon.intermediate_log_entry is deprecated. * See envoy/data/accesslog/v3/accesslog.proto;l=236 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearIntermediateLogEntry() { intermediateLogEntry_ = false; onChanged(); return this; } private java.lang.Object downstreamTransportFailureReason_ = ""; /** *
     * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured downstream
     * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string downstream_transport_failure_reason = 28; * @return The downstreamTransportFailureReason. */ public java.lang.String getDownstreamTransportFailureReason() { java.lang.Object ref = downstreamTransportFailureReason_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); downstreamTransportFailureReason_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured downstream
     * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string downstream_transport_failure_reason = 28; * @return The bytes for downstreamTransportFailureReason. */ public com.google.protobuf.ByteString getDownstreamTransportFailureReasonBytes() { java.lang.Object ref = downstreamTransportFailureReason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); downstreamTransportFailureReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured downstream
     * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string downstream_transport_failure_reason = 28; * @param value The downstreamTransportFailureReason to set. * @return This builder for chaining. */ public Builder setDownstreamTransportFailureReason( java.lang.String value) { if (value == null) { throw new NullPointerException(); } downstreamTransportFailureReason_ = value; onChanged(); return this; } /** *
     * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured downstream
     * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string downstream_transport_failure_reason = 28; * @return This builder for chaining. */ public Builder clearDownstreamTransportFailureReason() { downstreamTransportFailureReason_ = getDefaultInstance().getDownstreamTransportFailureReason(); onChanged(); return this; } /** *
     * If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
     * failure reason from the transport socket. The format of this field depends on the configured downstream
     * transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
     * 
* * string downstream_transport_failure_reason = 28; * @param value The bytes for downstreamTransportFailureReason to set. * @return This builder for chaining. */ public Builder setDownstreamTransportFailureReasonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); downstreamTransportFailureReason_ = value; onChanged(); return this; } private long downstreamWireBytesSent_ ; /** *
     * For HTTP: Total number of bytes sent to the downstream by the http stream.
     * For TCP: Total number of bytes sent to the downstream by the tcp proxy.
     * 
* * uint64 downstream_wire_bytes_sent = 29; * @return The downstreamWireBytesSent. */ @java.lang.Override public long getDownstreamWireBytesSent() { return downstreamWireBytesSent_; } /** *
     * For HTTP: Total number of bytes sent to the downstream by the http stream.
     * For TCP: Total number of bytes sent to the downstream by the tcp proxy.
     * 
* * uint64 downstream_wire_bytes_sent = 29; * @param value The downstreamWireBytesSent to set. * @return This builder for chaining. */ public Builder setDownstreamWireBytesSent(long value) { downstreamWireBytesSent_ = value; onChanged(); return this; } /** *
     * For HTTP: Total number of bytes sent to the downstream by the http stream.
     * For TCP: Total number of bytes sent to the downstream by the tcp proxy.
     * 
* * uint64 downstream_wire_bytes_sent = 29; * @return This builder for chaining. */ public Builder clearDownstreamWireBytesSent() { downstreamWireBytesSent_ = 0L; onChanged(); return this; } private long downstreamWireBytesReceived_ ; /** *
     * For HTTP: Total number of bytes received from the downstream by the http stream. Envoy over counts sizes of received HTTP/1.1 pipelined requests by adding up bytes of requests in the pipeline to the one currently being processed.
     * For TCP: Total number of bytes received from the downstream by the tcp proxy.
     * 
* * uint64 downstream_wire_bytes_received = 30; * @return The downstreamWireBytesReceived. */ @java.lang.Override public long getDownstreamWireBytesReceived() { return downstreamWireBytesReceived_; } /** *
     * For HTTP: Total number of bytes received from the downstream by the http stream. Envoy over counts sizes of received HTTP/1.1 pipelined requests by adding up bytes of requests in the pipeline to the one currently being processed.
     * For TCP: Total number of bytes received from the downstream by the tcp proxy.
     * 
* * uint64 downstream_wire_bytes_received = 30; * @param value The downstreamWireBytesReceived to set. * @return This builder for chaining. */ public Builder setDownstreamWireBytesReceived(long value) { downstreamWireBytesReceived_ = value; onChanged(); return this; } /** *
     * For HTTP: Total number of bytes received from the downstream by the http stream. Envoy over counts sizes of received HTTP/1.1 pipelined requests by adding up bytes of requests in the pipeline to the one currently being processed.
     * For TCP: Total number of bytes received from the downstream by the tcp proxy.
     * 
* * uint64 downstream_wire_bytes_received = 30; * @return This builder for chaining. */ public Builder clearDownstreamWireBytesReceived() { downstreamWireBytesReceived_ = 0L; onChanged(); return this; } private long upstreamWireBytesSent_ ; /** *
     * For HTTP: Total number of bytes sent to the upstream by the http stream. This value accumulates during upstream retries.
     * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
     * 
* * uint64 upstream_wire_bytes_sent = 31; * @return The upstreamWireBytesSent. */ @java.lang.Override public long getUpstreamWireBytesSent() { return upstreamWireBytesSent_; } /** *
     * For HTTP: Total number of bytes sent to the upstream by the http stream. This value accumulates during upstream retries.
     * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
     * 
* * uint64 upstream_wire_bytes_sent = 31; * @param value The upstreamWireBytesSent to set. * @return This builder for chaining. */ public Builder setUpstreamWireBytesSent(long value) { upstreamWireBytesSent_ = value; onChanged(); return this; } /** *
     * For HTTP: Total number of bytes sent to the upstream by the http stream. This value accumulates during upstream retries.
     * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
     * 
* * uint64 upstream_wire_bytes_sent = 31; * @return This builder for chaining. */ public Builder clearUpstreamWireBytesSent() { upstreamWireBytesSent_ = 0L; onChanged(); return this; } private long upstreamWireBytesReceived_ ; /** *
     * For HTTP: Total number of bytes received from the upstream by the http stream.
     * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
     * 
* * uint64 upstream_wire_bytes_received = 32; * @return The upstreamWireBytesReceived. */ @java.lang.Override public long getUpstreamWireBytesReceived() { return upstreamWireBytesReceived_; } /** *
     * For HTTP: Total number of bytes received from the upstream by the http stream.
     * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
     * 
* * uint64 upstream_wire_bytes_received = 32; * @param value The upstreamWireBytesReceived to set. * @return This builder for chaining. */ public Builder setUpstreamWireBytesReceived(long value) { upstreamWireBytesReceived_ = value; onChanged(); return this; } /** *
     * For HTTP: Total number of bytes received from the upstream by the http stream.
     * For TCP: Total number of bytes sent to the upstream by the tcp proxy.
     * 
* * uint64 upstream_wire_bytes_received = 32; * @return This builder for chaining. */ public Builder clearUpstreamWireBytesReceived() { upstreamWireBytesReceived_ = 0L; onChanged(); return this; } private int accessLogType_ = 0; /** *
     * The type of the access log, which indicates when the log was recorded.
     * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
     * In case the access log was recorded by a flow which does not correspond to one of the supported
     * values, then the default value will be ``NotSet``.
     * For more information about how access log behaves and when it is being recorded,
     * please refer to :ref:`access logging <arch_overview_access_logs>`.
     * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @return The enum numeric value on the wire for accessLogType. */ @java.lang.Override public int getAccessLogTypeValue() { return accessLogType_; } /** *
     * The type of the access log, which indicates when the log was recorded.
     * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
     * In case the access log was recorded by a flow which does not correspond to one of the supported
     * values, then the default value will be ``NotSet``.
     * For more information about how access log behaves and when it is being recorded,
     * please refer to :ref:`access logging <arch_overview_access_logs>`.
     * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @param value The enum numeric value on the wire for accessLogType to set. * @return This builder for chaining. */ public Builder setAccessLogTypeValue(int value) { accessLogType_ = value; onChanged(); return this; } /** *
     * The type of the access log, which indicates when the log was recorded.
     * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
     * In case the access log was recorded by a flow which does not correspond to one of the supported
     * values, then the default value will be ``NotSet``.
     * For more information about how access log behaves and when it is being recorded,
     * please refer to :ref:`access logging <arch_overview_access_logs>`.
     * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @return The accessLogType. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogType getAccessLogType() { @SuppressWarnings("deprecation") io.envoyproxy.envoy.data.accesslog.v3.AccessLogType result = io.envoyproxy.envoy.data.accesslog.v3.AccessLogType.valueOf(accessLogType_); return result == null ? io.envoyproxy.envoy.data.accesslog.v3.AccessLogType.UNRECOGNIZED : result; } /** *
     * The type of the access log, which indicates when the log was recorded.
     * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
     * In case the access log was recorded by a flow which does not correspond to one of the supported
     * values, then the default value will be ``NotSet``.
     * For more information about how access log behaves and when it is being recorded,
     * please refer to :ref:`access logging <arch_overview_access_logs>`.
     * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @param value The accessLogType to set. * @return This builder for chaining. */ public Builder setAccessLogType(io.envoyproxy.envoy.data.accesslog.v3.AccessLogType value) { if (value == null) { throw new NullPointerException(); } accessLogType_ = value.getNumber(); onChanged(); return this; } /** *
     * The type of the access log, which indicates when the log was recorded.
     * See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
     * In case the access log was recorded by a flow which does not correspond to one of the supported
     * values, then the default value will be ``NotSet``.
     * For more information about how access log behaves and when it is being recorded,
     * please refer to :ref:`access logging <arch_overview_access_logs>`.
     * 
* * .envoy.data.accesslog.v3.AccessLogType access_log_type = 33; * @return This builder for chaining. */ public Builder clearAccessLogType() { accessLogType_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.data.accesslog.v3.AccessLogCommon) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.AccessLogCommon) private static final io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon(); } public static io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AccessLogCommon parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AccessLogCommon(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy