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