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

io.envoyproxy.envoy.data.accesslog.v2.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/v2/accesslog.proto

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

/**
 * 
 * Defines fields that are shared by all Envoy access logs.
 * [#next-free-field: 22]
 * 
* * Protobuf type {@code envoy.data.accesslog.v2.AccessLogCommon} */ public final class AccessLogCommon extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.data.accesslog.v2.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_ = ""; } @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.api.v2.core.Address.Builder subBuilder = null; if (downstreamRemoteAddress_ != null) { subBuilder = downstreamRemoteAddress_.toBuilder(); } downstreamRemoteAddress_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(downstreamRemoteAddress_); downstreamRemoteAddress_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.api.v2.core.Address.Builder subBuilder = null; if (downstreamLocalAddress_ != null) { subBuilder = downstreamLocalAddress_.toBuilder(); } downstreamLocalAddress_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(downstreamLocalAddress_); downstreamLocalAddress_ = subBuilder.buildPartial(); } break; } case 34: { io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder subBuilder = null; if (tlsProperties_ != null) { subBuilder = tlsProperties_.toBuilder(); } tlsProperties_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v2.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.api.v2.core.Address.Builder subBuilder = null; if (upstreamRemoteAddress_ != null) { subBuilder = upstreamRemoteAddress_.toBuilder(); } upstreamRemoteAddress_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.Address.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(upstreamRemoteAddress_); upstreamRemoteAddress_ = subBuilder.buildPartial(); } break; } case 114: { io.envoyproxy.envoy.api.v2.core.Address.Builder subBuilder = null; if (upstreamLocalAddress_ != null) { subBuilder = upstreamLocalAddress_.toBuilder(); } upstreamLocalAddress_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.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.v2.ResponseFlags.Builder subBuilder = null; if (responseFlags_ != null) { subBuilder = responseFlags_.toBuilder(); } responseFlags_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(responseFlags_); responseFlags_ = subBuilder.buildPartial(); } break; } case 138: { io.envoyproxy.envoy.api.v2.core.Metadata.Builder subBuilder = null; if (metadata_ != null) { subBuilder = metadata_.toBuilder(); } metadata_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address.Builder subBuilder = null; if (downstreamDirectRemoteAddress_ != null) { subBuilder = downstreamDirectRemoteAddress_.toBuilder(); } downstreamDirectRemoteAddress_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.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; } 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.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 21: return internalGetFilterStateObjects(); 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.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.class, io.envoyproxy.envoy.data.accesslog.v2.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.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; * @return The downstreamRemoteAddress. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Address getDownstreamRemoteAddress() { return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamRemoteAddressOrBuilder() { return getDownstreamRemoteAddress(); } public static final int DOWNSTREAM_LOCAL_ADDRESS_FIELD_NUMBER = 3; private io.envoyproxy.envoy.api.v2.core.Address downstreamLocalAddress_; /** *
   * This field is the local/destination address on which the request from the user was received.
   * 
* * .envoy.api.v2.core.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.api.v2.core.Address downstream_local_address = 3; * @return The downstreamLocalAddress. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Address getDownstreamLocalAddress() { return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamLocalAddress_; } /** *
   * This field is the local/destination address on which the request from the user was received.
   * 
* * .envoy.api.v2.core.Address downstream_local_address = 3; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamLocalAddressOrBuilder() { return getDownstreamLocalAddress(); } public static final int TLS_PROPERTIES_FIELD_NUMBER = 4; private io.envoyproxy.envoy.data.accesslog.v2.TLSProperties tlsProperties_; /** *
   * If the connection is secure,S this field will contain TLS properties.
   * 
* * .envoy.data.accesslog.v2.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.v2.TLSProperties tls_properties = 4; * @return The tlsProperties. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.TLSProperties getTlsProperties() { return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.getDefaultInstance() : tlsProperties_; } /** *
   * If the connection is secure,S this field will contain TLS properties.
   * 
* * .envoy.data.accesslog.v2.TLSProperties tls_properties = 4; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.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.api.v2.core.Address upstreamRemoteAddress_; /** *
   * The upstream remote/destination address that handles this exchange. This does not include
   * retries.
   * 
* * .envoy.api.v2.core.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.api.v2.core.Address upstream_remote_address = 13; * @return The upstreamRemoteAddress. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Address getUpstreamRemoteAddress() { return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamRemoteAddress_; } /** *
   * The upstream remote/destination address that handles this exchange. This does not include
   * retries.
   * 
* * .envoy.api.v2.core.Address upstream_remote_address = 13; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getUpstreamRemoteAddressOrBuilder() { return getUpstreamRemoteAddress(); } public static final int UPSTREAM_LOCAL_ADDRESS_FIELD_NUMBER = 14; private io.envoyproxy.envoy.api.v2.core.Address upstreamLocalAddress_; /** *
   * The upstream local/origin address that handles this exchange. This does not include retries.
   * 
* * .envoy.api.v2.core.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.api.v2.core.Address upstream_local_address = 14; * @return The upstreamLocalAddress. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Address getUpstreamLocalAddress() { return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamLocalAddress_; } /** *
   * The upstream local/origin address that handles this exchange. This does not include retries.
   * 
* * .envoy.api.v2.core.Address upstream_local_address = 14; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.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.v2.ResponseFlags responseFlags_; /** *
   * Flags indicating occurrences during request/response processing.
   * 
* * .envoy.data.accesslog.v2.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.v2.ResponseFlags response_flags = 16; * @return The responseFlags. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags getResponseFlags() { return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.getDefaultInstance() : responseFlags_; } /** *
   * Flags indicating occurrences during request/response processing.
   * 
* * .envoy.data.accesslog.v2.ResponseFlags response_flags = 16; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder getResponseFlagsOrBuilder() { return getResponseFlags(); } public static final int METADATA_FIELD_NUMBER = 17; private io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Metadata metadata = 17; * @return The metadata. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Metadata getMetadata() { return metadata_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; * @return The downstreamDirectRemoteAddress. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Address getDownstreamDirectRemoteAddress() { return downstreamDirectRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.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.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_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); } 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); 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__); } 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.v2.AccessLogCommon)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon other = (io.envoyproxy.envoy.data.accesslog.v2.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 (!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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v2.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.v2.AccessLogCommon parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v2.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.v2.AccessLogCommon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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: 22]
   * 
* * Protobuf type {@code envoy.data.accesslog.v2.AccessLogCommon} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v2.AccessLogCommon) io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 21: return internalGetFilterStateObjects(); 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(); 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.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.class, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder.class); } // Construct using io.envoyproxy.envoy.data.accesslog.v2.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon build() { io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon buildPartial() { io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon result = new io.envoyproxy.envoy.data.accesslog.v2.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(); 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.v2.AccessLogCommon) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon other) { if (other == io.envoyproxy.envoy.data.accesslog.v2.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()); 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.v2.AccessLogCommon parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v2.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.api.v2.core.Address downstreamRemoteAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; * @return The downstreamRemoteAddress. */ public io.envoyproxy.envoy.api.v2.core.Address getDownstreamRemoteAddress() { if (downstreamRemoteAddressBuilder_ == null) { return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ public Builder setDownstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ public Builder setDownstreamRemoteAddress( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ public Builder mergeDownstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (downstreamRemoteAddressBuilder_ == null) { if (downstreamRemoteAddress_ != null) { downstreamRemoteAddress_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ public io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamRemoteAddressOrBuilder() { if (downstreamRemoteAddressBuilder_ != null) { return downstreamRemoteAddressBuilder_.getMessageOrBuilder(); } else { return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_remote_address = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> getDownstreamRemoteAddressFieldBuilder() { if (downstreamRemoteAddressBuilder_ == null) { downstreamRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>( getDownstreamRemoteAddress(), getParentForChildren(), isClean()); downstreamRemoteAddress_ = null; } return downstreamRemoteAddressBuilder_; } private io.envoyproxy.envoy.api.v2.core.Address downstreamLocalAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> downstreamLocalAddressBuilder_; /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.api.v2.core.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.api.v2.core.Address downstream_local_address = 3; * @return The downstreamLocalAddress. */ public io.envoyproxy.envoy.api.v2.core.Address getDownstreamLocalAddress() { if (downstreamLocalAddressBuilder_ == null) { return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamLocalAddress_; } else { return downstreamLocalAddressBuilder_.getMessage(); } } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.api.v2.core.Address downstream_local_address = 3; */ public Builder setDownstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_local_address = 3; */ public Builder setDownstreamLocalAddress( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_local_address = 3; */ public Builder mergeDownstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (downstreamLocalAddressBuilder_ == null) { if (downstreamLocalAddress_ != null) { downstreamLocalAddress_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_local_address = 3; */ public io.envoyproxy.envoy.api.v2.core.Address.Builder getDownstreamLocalAddressBuilder() { onChanged(); return getDownstreamLocalAddressFieldBuilder().getBuilder(); } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.api.v2.core.Address downstream_local_address = 3; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamLocalAddressOrBuilder() { if (downstreamLocalAddressBuilder_ != null) { return downstreamLocalAddressBuilder_.getMessageOrBuilder(); } else { return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamLocalAddress_; } } /** *
     * This field is the local/destination address on which the request from the user was received.
     * 
* * .envoy.api.v2.core.Address downstream_local_address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> getDownstreamLocalAddressFieldBuilder() { if (downstreamLocalAddressBuilder_ == null) { downstreamLocalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>( getDownstreamLocalAddress(), getParentForChildren(), isClean()); downstreamLocalAddress_ = null; } return downstreamLocalAddressBuilder_; } private io.envoyproxy.envoy.data.accesslog.v2.TLSProperties tlsProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.TLSProperties, io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder> tlsPropertiesBuilder_; /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v2.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.v2.TLSProperties tls_properties = 4; * @return The tlsProperties. */ public io.envoyproxy.envoy.data.accesslog.v2.TLSProperties getTlsProperties() { if (tlsPropertiesBuilder_ == null) { return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.getDefaultInstance() : tlsProperties_; } else { return tlsPropertiesBuilder_.getMessage(); } } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v2.TLSProperties tls_properties = 4; */ public Builder setTlsProperties(io.envoyproxy.envoy.data.accesslog.v2.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.v2.TLSProperties tls_properties = 4; */ public Builder setTlsProperties( io.envoyproxy.envoy.data.accesslog.v2.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.v2.TLSProperties tls_properties = 4; */ public Builder mergeTlsProperties(io.envoyproxy.envoy.data.accesslog.v2.TLSProperties value) { if (tlsPropertiesBuilder_ == null) { if (tlsProperties_ != null) { tlsProperties_ = io.envoyproxy.envoy.data.accesslog.v2.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.v2.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.v2.TLSProperties tls_properties = 4; */ public io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder getTlsPropertiesBuilder() { onChanged(); return getTlsPropertiesFieldBuilder().getBuilder(); } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v2.TLSProperties tls_properties = 4; */ public io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder getTlsPropertiesOrBuilder() { if (tlsPropertiesBuilder_ != null) { return tlsPropertiesBuilder_.getMessageOrBuilder(); } else { return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.getDefaultInstance() : tlsProperties_; } } /** *
     * If the connection is secure,S this field will contain TLS properties.
     * 
* * .envoy.data.accesslog.v2.TLSProperties tls_properties = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.TLSProperties, io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder> getTlsPropertiesFieldBuilder() { if (tlsPropertiesBuilder_ == null) { tlsPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.TLSProperties, io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v2.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.api.v2.core.Address upstreamRemoteAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> upstreamRemoteAddressBuilder_; /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.api.v2.core.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.api.v2.core.Address upstream_remote_address = 13; * @return The upstreamRemoteAddress. */ public io.envoyproxy.envoy.api.v2.core.Address getUpstreamRemoteAddress() { if (upstreamRemoteAddressBuilder_ == null) { return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamRemoteAddress_; } else { return upstreamRemoteAddressBuilder_.getMessage(); } } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.api.v2.core.Address upstream_remote_address = 13; */ public Builder setUpstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address upstream_remote_address = 13; */ public Builder setUpstreamRemoteAddress( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address upstream_remote_address = 13; */ public Builder mergeUpstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (upstreamRemoteAddressBuilder_ == null) { if (upstreamRemoteAddress_ != null) { upstreamRemoteAddress_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address upstream_remote_address = 13; */ public io.envoyproxy.envoy.api.v2.core.Address.Builder getUpstreamRemoteAddressBuilder() { onChanged(); return getUpstreamRemoteAddressFieldBuilder().getBuilder(); } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.api.v2.core.Address upstream_remote_address = 13; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getUpstreamRemoteAddressOrBuilder() { if (upstreamRemoteAddressBuilder_ != null) { return upstreamRemoteAddressBuilder_.getMessageOrBuilder(); } else { return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamRemoteAddress_; } } /** *
     * The upstream remote/destination address that handles this exchange. This does not include
     * retries.
     * 
* * .envoy.api.v2.core.Address upstream_remote_address = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> getUpstreamRemoteAddressFieldBuilder() { if (upstreamRemoteAddressBuilder_ == null) { upstreamRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>( getUpstreamRemoteAddress(), getParentForChildren(), isClean()); upstreamRemoteAddress_ = null; } return upstreamRemoteAddressBuilder_; } private io.envoyproxy.envoy.api.v2.core.Address upstreamLocalAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> upstreamLocalAddressBuilder_; /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.api.v2.core.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.api.v2.core.Address upstream_local_address = 14; * @return The upstreamLocalAddress. */ public io.envoyproxy.envoy.api.v2.core.Address getUpstreamLocalAddress() { if (upstreamLocalAddressBuilder_ == null) { return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamLocalAddress_; } else { return upstreamLocalAddressBuilder_.getMessage(); } } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.api.v2.core.Address upstream_local_address = 14; */ public Builder setUpstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address upstream_local_address = 14; */ public Builder setUpstreamLocalAddress( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address upstream_local_address = 14; */ public Builder mergeUpstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (upstreamLocalAddressBuilder_ == null) { if (upstreamLocalAddress_ != null) { upstreamLocalAddress_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address upstream_local_address = 14; */ public io.envoyproxy.envoy.api.v2.core.Address.Builder getUpstreamLocalAddressBuilder() { onChanged(); return getUpstreamLocalAddressFieldBuilder().getBuilder(); } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.api.v2.core.Address upstream_local_address = 14; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getUpstreamLocalAddressOrBuilder() { if (upstreamLocalAddressBuilder_ != null) { return upstreamLocalAddressBuilder_.getMessageOrBuilder(); } else { return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamLocalAddress_; } } /** *
     * The upstream local/origin address that handles this exchange. This does not include retries.
     * 
* * .envoy.api.v2.core.Address upstream_local_address = 14; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> getUpstreamLocalAddressFieldBuilder() { if (upstreamLocalAddressBuilder_ == null) { upstreamLocalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.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.v2.ResponseFlags responseFlags_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder> responseFlagsBuilder_; /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v2.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.v2.ResponseFlags response_flags = 16; * @return The responseFlags. */ public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags getResponseFlags() { if (responseFlagsBuilder_ == null) { return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.getDefaultInstance() : responseFlags_; } else { return responseFlagsBuilder_.getMessage(); } } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v2.ResponseFlags response_flags = 16; */ public Builder setResponseFlags(io.envoyproxy.envoy.data.accesslog.v2.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.v2.ResponseFlags response_flags = 16; */ public Builder setResponseFlags( io.envoyproxy.envoy.data.accesslog.v2.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.v2.ResponseFlags response_flags = 16; */ public Builder mergeResponseFlags(io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags value) { if (responseFlagsBuilder_ == null) { if (responseFlags_ != null) { responseFlags_ = io.envoyproxy.envoy.data.accesslog.v2.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.v2.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.v2.ResponseFlags response_flags = 16; */ public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder getResponseFlagsBuilder() { onChanged(); return getResponseFlagsFieldBuilder().getBuilder(); } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v2.ResponseFlags response_flags = 16; */ public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder getResponseFlagsOrBuilder() { if (responseFlagsBuilder_ != null) { return responseFlagsBuilder_.getMessageOrBuilder(); } else { return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.getDefaultInstance() : responseFlags_; } } /** *
     * Flags indicating occurrences during request/response processing.
     * 
* * .envoy.data.accesslog.v2.ResponseFlags response_flags = 16; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder> getResponseFlagsFieldBuilder() { if (responseFlagsBuilder_ == null) { responseFlagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder>( getResponseFlags(), getParentForChildren(), isClean()); responseFlags_ = null; } return responseFlagsBuilder_; } private io.envoyproxy.envoy.api.v2.core.Metadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Metadata, io.envoyproxy.envoy.api.v2.core.Metadata.Builder, io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Metadata metadata = 17; * @return The metadata. */ public io.envoyproxy.envoy.api.v2.core.Metadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ public Builder setMetadata(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ public Builder setMetadata( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ public Builder mergeMetadata(io.envoyproxy.envoy.api.v2.core.Metadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ public io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ public io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Metadata metadata = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Metadata, io.envoyproxy.envoy.api.v2.core.Metadata.Builder, io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Metadata, io.envoyproxy.envoy.api.v2.core.Metadata.Builder, io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstreamDirectRemoteAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; * @return The downstreamDirectRemoteAddress. */ public io.envoyproxy.envoy.api.v2.core.Address getDownstreamDirectRemoteAddress() { if (downstreamDirectRemoteAddressBuilder_ == null) { return downstreamDirectRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ public Builder setDownstreamDirectRemoteAddress(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ public Builder setDownstreamDirectRemoteAddress( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ public Builder mergeDownstreamDirectRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) { if (downstreamDirectRemoteAddressBuilder_ == null) { if (downstreamDirectRemoteAddress_ != null) { downstreamDirectRemoteAddress_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ public io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamDirectRemoteAddressOrBuilder() { if (downstreamDirectRemoteAddressBuilder_ != null) { return downstreamDirectRemoteAddressBuilder_.getMessageOrBuilder(); } else { return downstreamDirectRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Address downstream_direct_remote_address = 20; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> getDownstreamDirectRemoteAddressFieldBuilder() { if (downstreamDirectRemoteAddressBuilder_ == null) { downstreamDirectRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.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; } @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.v2.AccessLogCommon) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v2.AccessLogCommon) private static final io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon(); } public static io.envoyproxy.envoy.data.accesslog.v2.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.v2.AccessLogCommon getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy