Class AccessLogCommon
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.data.accesslog.v3.AccessLogCommon
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AccessLogCommonOrBuilder
,java.io.Serializable
public final class AccessLogCommon extends com.google.protobuf.GeneratedMessage implements AccessLogCommonOrBuilder
Defines fields that are shared by all Envoy access logs. [#next-free-field: 34]
Protobuf typeenvoy.data.accesslog.v3.AccessLogCommon
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessLogCommon.Builder
Defines fields that are shared by all Envoy access logs.private static class
AccessLogCommon.CustomTagsDefaultEntryHolder
private static class
AccessLogCommon.FilterStateObjectsDefaultEntryHolder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
AccessLogCommon()
private
AccessLogCommon(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsCustomTags(java.lang.String key)
A list of custom tags, which annotate logs with additional information.boolean
containsFilterStateObjects(java.lang.String key)
Map of filter state in stream info that have been configured to be logged.boolean
equals(java.lang.Object obj)
AccessLogType
getAccessLogType()
The type of the access log, which indicates when the log was recorded.int
getAccessLogTypeValue()
The type of the access log, which indicates when the log was recorded.java.lang.String
getConnectionTerminationDetails()
Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.com.google.protobuf.ByteString
getConnectionTerminationDetailsBytes()
Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.java.util.Map<java.lang.String,java.lang.String>
getCustomTags()
Deprecated.int
getCustomTagsCount()
A list of custom tags, which annotate logs with additional information.java.util.Map<java.lang.String,java.lang.String>
getCustomTagsMap()
A list of custom tags, which annotate logs with additional information.java.lang.String
getCustomTagsOrDefault(java.lang.String key, java.lang.String defaultValue)
A list of custom tags, which annotate logs with additional information.java.lang.String
getCustomTagsOrThrow(java.lang.String key)
A list of custom tags, which annotate logs with additional information.static AccessLogCommon
getDefaultInstance()
AccessLogCommon
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Address
getDownstreamDirectRemoteAddress()
This field is the downstream direct remote address on which the request from the user was received.AddressOrBuilder
getDownstreamDirectRemoteAddressOrBuilder()
This field is the downstream direct remote address on which the request from the user was received.Address
getDownstreamLocalAddress()
This field is the local/destination address on which the request from the user was received.AddressOrBuilder
getDownstreamLocalAddressOrBuilder()
This field is the local/destination address on which the request from the user was received.Address
getDownstreamRemoteAddress()
This field is the remote/origin address on which the request from the user was received.AddressOrBuilder
getDownstreamRemoteAddressOrBuilder()
This field is the remote/origin address on which the request from the user was received.java.lang.String
getDownstreamTransportFailureReason()
If downstream connection in listener failed due to transport socket (e.g.com.google.protobuf.ByteString
getDownstreamTransportFailureReasonBytes()
If downstream connection in listener failed due to transport socket (e.g.long
getDownstreamWireBytesReceived()
For HTTP: Total number of bytes received from the downstream by the http stream.long
getDownstreamWireBytesSent()
For HTTP: Total number of bytes sent to the downstream by the http stream.com.google.protobuf.Duration
getDuration()
For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.java.util.Map<java.lang.String,com.google.protobuf.Any>
getFilterStateObjects()
Deprecated.int
getFilterStateObjectsCount()
Map of filter state in stream info that have been configured to be logged.java.util.Map<java.lang.String,com.google.protobuf.Any>
getFilterStateObjectsMap()
Map of filter state in stream info that have been configured to be logged.com.google.protobuf.Any
getFilterStateObjectsOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
Map of filter state in stream info that have been configured to be logged.com.google.protobuf.Any
getFilterStateObjectsOrThrow(java.lang.String key)
Map of filter state in stream info that have been configured to be logged.boolean
getIntermediateLogEntry()
Deprecated.envoy.data.accesslog.v3.AccessLogCommon.intermediate_log_entry is deprecated.Metadata
getMetadata()
All metadata encountered during request processing, including endpoint selection.MetadataOrBuilder
getMetadataOrBuilder()
All metadata encountered during request processing, including endpoint selection.com.google.protobuf.Parser<AccessLogCommon>
getParserForType()
ResponseFlags
getResponseFlags()
Flags indicating occurrences during request/response processing.ResponseFlagsOrBuilder
getResponseFlagsOrBuilder()
Flags indicating occurrences during request/response processing.java.lang.String
getRouteName()
The name of the routecom.google.protobuf.ByteString
getRouteNameBytes()
The name of the routedouble
getSampleRate()
[#not-implemented-hide:] This field indicates the rate at which this log entry was sampled.int
getSerializedSize()
com.google.protobuf.Timestamp
getStartTime()
The time that Envoy started servicing this request.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The time that Envoy started servicing this request.java.lang.String
getStreamId()
Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.com.google.protobuf.ByteString
getStreamIdBytes()
Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.com.google.protobuf.Duration
getTimeToFirstDownstreamTxByte()
Interval between the first downstream byte received and the first downstream byte sent.com.google.protobuf.DurationOrBuilder
getTimeToFirstDownstreamTxByteOrBuilder()
Interval between the first downstream byte received and the first downstream byte sent.com.google.protobuf.Duration
getTimeToFirstUpstreamRxByte()
Interval between the first downstream byte received and the first upstream byte received (i.e.com.google.protobuf.DurationOrBuilder
getTimeToFirstUpstreamRxByteOrBuilder()
Interval between the first downstream byte received and the first upstream byte received (i.e.com.google.protobuf.Duration
getTimeToFirstUpstreamTxByte()
Interval between the first downstream byte received and the first upstream byte sent.com.google.protobuf.DurationOrBuilder
getTimeToFirstUpstreamTxByteOrBuilder()
Interval between the first downstream byte received and the first upstream byte sent.com.google.protobuf.Duration
getTimeToLastDownstreamTxByte()
Interval between the first downstream byte received and the last downstream byte sent.com.google.protobuf.DurationOrBuilder
getTimeToLastDownstreamTxByteOrBuilder()
Interval between the first downstream byte received and the last downstream byte sent.com.google.protobuf.Duration
getTimeToLastRxByte()
Interval between the first downstream byte received and the last downstream byte received (i.e.com.google.protobuf.DurationOrBuilder
getTimeToLastRxByteOrBuilder()
Interval between the first downstream byte received and the last downstream byte received (i.e.com.google.protobuf.Duration
getTimeToLastUpstreamRxByte()
Interval between the first downstream byte received and the last upstream byte received (i.e.com.google.protobuf.DurationOrBuilder
getTimeToLastUpstreamRxByteOrBuilder()
Interval between the first downstream byte received and the last upstream byte received (i.e.com.google.protobuf.Duration
getTimeToLastUpstreamTxByte()
Interval between the first downstream byte received and the last upstream byte sent.com.google.protobuf.DurationOrBuilder
getTimeToLastUpstreamTxByteOrBuilder()
Interval between the first downstream byte received and the last upstream byte sent.TLSProperties
getTlsProperties()
If the connection is secure,S this field will contain TLS properties.TLSPropertiesOrBuilder
getTlsPropertiesOrBuilder()
If the connection is secure,S this field will contain TLS properties.java.lang.String
getUpstreamCluster()
The upstream cluster that ``upstream_remote_address`` belongs to.com.google.protobuf.ByteString
getUpstreamClusterBytes()
The upstream cluster that ``upstream_remote_address`` belongs to.Address
getUpstreamLocalAddress()
The upstream local/origin address that handles this exchange.AddressOrBuilder
getUpstreamLocalAddressOrBuilder()
The upstream local/origin address that handles this exchange.Address
getUpstreamRemoteAddress()
The upstream remote/destination address that handles this exchange.AddressOrBuilder
getUpstreamRemoteAddressOrBuilder()
The upstream remote/destination address that handles this exchange.int
getUpstreamRequestAttemptCount()
For HTTP: Number of times the request is attempted upstream.java.lang.String
getUpstreamTransportFailureReason()
If upstream connection failed due to transport socket (e.g.com.google.protobuf.ByteString
getUpstreamTransportFailureReasonBytes()
If upstream connection failed due to transport socket (e.g.long
getUpstreamWireBytesReceived()
For HTTP: Total number of bytes received from the upstream by the http stream.long
getUpstreamWireBytesSent()
For HTTP: Total number of bytes sent to the upstream by the http stream.boolean
hasDownstreamDirectRemoteAddress()
This field is the downstream direct remote address on which the request from the user was received.boolean
hasDownstreamLocalAddress()
This field is the local/destination address on which the request from the user was received.boolean
hasDownstreamRemoteAddress()
This field is the remote/origin address on which the request from the user was received.boolean
hasDuration()
For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.int
hashCode()
boolean
hasMetadata()
All metadata encountered during request processing, including endpoint selection.boolean
hasResponseFlags()
Flags indicating occurrences during request/response processing.boolean
hasStartTime()
The time that Envoy started servicing this request.boolean
hasTimeToFirstDownstreamTxByte()
Interval between the first downstream byte received and the first downstream byte sent.boolean
hasTimeToFirstUpstreamRxByte()
Interval between the first downstream byte received and the first upstream byte received (i.e.boolean
hasTimeToFirstUpstreamTxByte()
Interval between the first downstream byte received and the first upstream byte sent.boolean
hasTimeToLastDownstreamTxByte()
Interval between the first downstream byte received and the last downstream byte sent.boolean
hasTimeToLastRxByte()
Interval between the first downstream byte received and the last downstream byte received (i.e.boolean
hasTimeToLastUpstreamRxByte()
Interval between the first downstream byte received and the last upstream byte received (i.e.boolean
hasTimeToLastUpstreamTxByte()
Interval between the first downstream byte received and the last upstream byte sent.boolean
hasTlsProperties()
If the connection is secure,S this field will contain TLS properties.boolean
hasUpstreamLocalAddress()
The upstream local/origin address that handles this exchange.boolean
hasUpstreamRemoteAddress()
The upstream remote/destination address that handles this exchange.private com.google.protobuf.MapField<java.lang.String,java.lang.String>
internalGetCustomTags()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
private com.google.protobuf.MapField<java.lang.String,com.google.protobuf.Any>
internalGetFilterStateObjects()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
boolean
isInitialized()
static AccessLogCommon.Builder
newBuilder()
static AccessLogCommon.Builder
newBuilder(AccessLogCommon prototype)
AccessLogCommon.Builder
newBuilderForType()
protected AccessLogCommon.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static AccessLogCommon
parseDelimitedFrom(java.io.InputStream input)
static AccessLogCommon
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessLogCommon
parseFrom(byte[] data)
static AccessLogCommon
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessLogCommon
parseFrom(com.google.protobuf.ByteString data)
static AccessLogCommon
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessLogCommon
parseFrom(com.google.protobuf.CodedInputStream input)
static AccessLogCommon
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessLogCommon
parseFrom(java.io.InputStream input)
static AccessLogCommon
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessLogCommon
parseFrom(java.nio.ByteBuffer data)
static AccessLogCommon
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AccessLogCommon>
parser()
AccessLogCommon.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
SAMPLE_RATE_FIELD_NUMBER
public static final int SAMPLE_RATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
sampleRate_
private double sampleRate_
-
DOWNSTREAM_REMOTE_ADDRESS_FIELD_NUMBER
public static final int DOWNSTREAM_REMOTE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamRemoteAddress_
private Address downstreamRemoteAddress_
-
DOWNSTREAM_LOCAL_ADDRESS_FIELD_NUMBER
public static final int DOWNSTREAM_LOCAL_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamLocalAddress_
private Address downstreamLocalAddress_
-
TLS_PROPERTIES_FIELD_NUMBER
public static final int TLS_PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
tlsProperties_
private TLSProperties tlsProperties_
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
startTime_
private com.google.protobuf.Timestamp startTime_
-
TIME_TO_LAST_RX_BYTE_FIELD_NUMBER
public static final int TIME_TO_LAST_RX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToLastRxByte_
private com.google.protobuf.Duration timeToLastRxByte_
-
TIME_TO_FIRST_UPSTREAM_TX_BYTE_FIELD_NUMBER
public static final int TIME_TO_FIRST_UPSTREAM_TX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToFirstUpstreamTxByte_
private com.google.protobuf.Duration timeToFirstUpstreamTxByte_
-
TIME_TO_LAST_UPSTREAM_TX_BYTE_FIELD_NUMBER
public static final int TIME_TO_LAST_UPSTREAM_TX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToLastUpstreamTxByte_
private com.google.protobuf.Duration timeToLastUpstreamTxByte_
-
TIME_TO_FIRST_UPSTREAM_RX_BYTE_FIELD_NUMBER
public static final int TIME_TO_FIRST_UPSTREAM_RX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToFirstUpstreamRxByte_
private com.google.protobuf.Duration timeToFirstUpstreamRxByte_
-
TIME_TO_LAST_UPSTREAM_RX_BYTE_FIELD_NUMBER
public static final int TIME_TO_LAST_UPSTREAM_RX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToLastUpstreamRxByte_
private com.google.protobuf.Duration timeToLastUpstreamRxByte_
-
TIME_TO_FIRST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER
public static final int TIME_TO_FIRST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToFirstDownstreamTxByte_
private com.google.protobuf.Duration timeToFirstDownstreamTxByte_
-
TIME_TO_LAST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER
public static final int TIME_TO_LAST_DOWNSTREAM_TX_BYTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeToLastDownstreamTxByte_
private com.google.protobuf.Duration timeToLastDownstreamTxByte_
-
UPSTREAM_REMOTE_ADDRESS_FIELD_NUMBER
public static final int UPSTREAM_REMOTE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamRemoteAddress_
private Address upstreamRemoteAddress_
-
UPSTREAM_LOCAL_ADDRESS_FIELD_NUMBER
public static final int UPSTREAM_LOCAL_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamLocalAddress_
private Address upstreamLocalAddress_
-
UPSTREAM_CLUSTER_FIELD_NUMBER
public static final int UPSTREAM_CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamCluster_
private volatile java.lang.Object upstreamCluster_
-
RESPONSE_FLAGS_FIELD_NUMBER
public static final int RESPONSE_FLAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
responseFlags_
private ResponseFlags responseFlags_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
metadata_
private Metadata metadata_
-
UPSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER
public static final int UPSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamTransportFailureReason_
private volatile java.lang.Object upstreamTransportFailureReason_
-
ROUTE_NAME_FIELD_NUMBER
public static final int ROUTE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
routeName_
private volatile java.lang.Object routeName_
-
DOWNSTREAM_DIRECT_REMOTE_ADDRESS_FIELD_NUMBER
public static final int DOWNSTREAM_DIRECT_REMOTE_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamDirectRemoteAddress_
private Address downstreamDirectRemoteAddress_
-
FILTER_STATE_OBJECTS_FIELD_NUMBER
public static final int FILTER_STATE_OBJECTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
filterStateObjects_
private com.google.protobuf.MapField<java.lang.String,com.google.protobuf.Any> filterStateObjects_
-
CUSTOM_TAGS_FIELD_NUMBER
public static final int CUSTOM_TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
customTags_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> customTags_
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
duration_
private com.google.protobuf.Duration duration_
-
UPSTREAM_REQUEST_ATTEMPT_COUNT_FIELD_NUMBER
public static final int UPSTREAM_REQUEST_ATTEMPT_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamRequestAttemptCount_
private int upstreamRequestAttemptCount_
-
CONNECTION_TERMINATION_DETAILS_FIELD_NUMBER
public static final int CONNECTION_TERMINATION_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
connectionTerminationDetails_
private volatile java.lang.Object connectionTerminationDetails_
-
STREAM_ID_FIELD_NUMBER
public static final int STREAM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
streamId_
private volatile java.lang.Object streamId_
-
INTERMEDIATE_LOG_ENTRY_FIELD_NUMBER
public static final int INTERMEDIATE_LOG_ENTRY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
intermediateLogEntry_
private boolean intermediateLogEntry_
-
DOWNSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER
public static final int DOWNSTREAM_TRANSPORT_FAILURE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamTransportFailureReason_
private volatile java.lang.Object downstreamTransportFailureReason_
-
DOWNSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER
public static final int DOWNSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamWireBytesSent_
private long downstreamWireBytesSent_
-
DOWNSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER
public static final int DOWNSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamWireBytesReceived_
private long downstreamWireBytesReceived_
-
UPSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER
public static final int UPSTREAM_WIRE_BYTES_SENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamWireBytesSent_
private long upstreamWireBytesSent_
-
UPSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER
public static final int UPSTREAM_WIRE_BYTES_RECEIVED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamWireBytesReceived_
private long upstreamWireBytesReceived_
-
ACCESS_LOG_TYPE_FIELD_NUMBER
public static final int ACCESS_LOG_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
accessLogType_
private int accessLogType_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final AccessLogCommon DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<AccessLogCommon> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getSampleRate
public double getSampleRate()
[#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) = { ... }
- Specified by:
getSampleRate
in interfaceAccessLogCommonOrBuilder
- Returns:
- The sampleRate.
-
hasDownstreamRemoteAddress
public boolean hasDownstreamRemoteAddress()
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;
- Specified by:
hasDownstreamRemoteAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the downstreamRemoteAddress field is set.
-
getDownstreamRemoteAddress
public Address getDownstreamRemoteAddress()
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;
- Specified by:
getDownstreamRemoteAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- The downstreamRemoteAddress.
-
getDownstreamRemoteAddressOrBuilder
public AddressOrBuilder getDownstreamRemoteAddressOrBuilder()
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;
- Specified by:
getDownstreamRemoteAddressOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasDownstreamLocalAddress
public boolean hasDownstreamLocalAddress()
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;
- Specified by:
hasDownstreamLocalAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the downstreamLocalAddress field is set.
-
getDownstreamLocalAddress
public Address getDownstreamLocalAddress()
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;
- Specified by:
getDownstreamLocalAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- The downstreamLocalAddress.
-
getDownstreamLocalAddressOrBuilder
public AddressOrBuilder getDownstreamLocalAddressOrBuilder()
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;
- Specified by:
getDownstreamLocalAddressOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTlsProperties
public boolean hasTlsProperties()
If the connection is secure,S this field will contain TLS properties.
.envoy.data.accesslog.v3.TLSProperties tls_properties = 4;
- Specified by:
hasTlsProperties
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the tlsProperties field is set.
-
getTlsProperties
public TLSProperties getTlsProperties()
If the connection is secure,S this field will contain TLS properties.
.envoy.data.accesslog.v3.TLSProperties tls_properties = 4;
- Specified by:
getTlsProperties
in interfaceAccessLogCommonOrBuilder
- Returns:
- The tlsProperties.
-
getTlsPropertiesOrBuilder
public TLSPropertiesOrBuilder getTlsPropertiesOrBuilder()
If the connection is secure,S this field will contain TLS properties.
.envoy.data.accesslog.v3.TLSProperties tls_properties = 4;
- Specified by:
getTlsPropertiesOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasStartTime
public boolean hasStartTime()
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;
- Specified by:
hasStartTime
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
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;
- Specified by:
getStartTime
in interfaceAccessLogCommonOrBuilder
- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
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;
- Specified by:
getStartTimeOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToLastRxByte
public boolean hasTimeToLastRxByte()
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;
- Specified by:
hasTimeToLastRxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToLastRxByte field is set.
-
getTimeToLastRxByte
public com.google.protobuf.Duration getTimeToLastRxByte()
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;
- Specified by:
getTimeToLastRxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToLastRxByte.
-
getTimeToLastRxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToLastRxByteOrBuilder()
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;
- Specified by:
getTimeToLastRxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToFirstUpstreamTxByte
public boolean hasTimeToFirstUpstreamTxByte()
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;
- Specified by:
hasTimeToFirstUpstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToFirstUpstreamTxByte field is set.
-
getTimeToFirstUpstreamTxByte
public com.google.protobuf.Duration getTimeToFirstUpstreamTxByte()
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;
- Specified by:
getTimeToFirstUpstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToFirstUpstreamTxByte.
-
getTimeToFirstUpstreamTxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToFirstUpstreamTxByteOrBuilder()
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;
- Specified by:
getTimeToFirstUpstreamTxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToLastUpstreamTxByte
public boolean hasTimeToLastUpstreamTxByte()
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;
- Specified by:
hasTimeToLastUpstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToLastUpstreamTxByte field is set.
-
getTimeToLastUpstreamTxByte
public com.google.protobuf.Duration getTimeToLastUpstreamTxByte()
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;
- Specified by:
getTimeToLastUpstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToLastUpstreamTxByte.
-
getTimeToLastUpstreamTxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToLastUpstreamTxByteOrBuilder()
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;
- Specified by:
getTimeToLastUpstreamTxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToFirstUpstreamRxByte
public boolean hasTimeToFirstUpstreamRxByte()
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;
- Specified by:
hasTimeToFirstUpstreamRxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToFirstUpstreamRxByte field is set.
-
getTimeToFirstUpstreamRxByte
public com.google.protobuf.Duration getTimeToFirstUpstreamRxByte()
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;
- Specified by:
getTimeToFirstUpstreamRxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToFirstUpstreamRxByte.
-
getTimeToFirstUpstreamRxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToFirstUpstreamRxByteOrBuilder()
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;
- Specified by:
getTimeToFirstUpstreamRxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToLastUpstreamRxByte
public boolean hasTimeToLastUpstreamRxByte()
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;
- Specified by:
hasTimeToLastUpstreamRxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToLastUpstreamRxByte field is set.
-
getTimeToLastUpstreamRxByte
public com.google.protobuf.Duration getTimeToLastUpstreamRxByte()
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;
- Specified by:
getTimeToLastUpstreamRxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToLastUpstreamRxByte.
-
getTimeToLastUpstreamRxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToLastUpstreamRxByteOrBuilder()
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;
- Specified by:
getTimeToLastUpstreamRxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToFirstDownstreamTxByte
public boolean hasTimeToFirstDownstreamTxByte()
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;
- Specified by:
hasTimeToFirstDownstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToFirstDownstreamTxByte field is set.
-
getTimeToFirstDownstreamTxByte
public com.google.protobuf.Duration getTimeToFirstDownstreamTxByte()
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;
- Specified by:
getTimeToFirstDownstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToFirstDownstreamTxByte.
-
getTimeToFirstDownstreamTxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToFirstDownstreamTxByteOrBuilder()
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;
- Specified by:
getTimeToFirstDownstreamTxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasTimeToLastDownstreamTxByte
public boolean hasTimeToLastDownstreamTxByte()
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;
- Specified by:
hasTimeToLastDownstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the timeToLastDownstreamTxByte field is set.
-
getTimeToLastDownstreamTxByte
public com.google.protobuf.Duration getTimeToLastDownstreamTxByte()
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;
- Specified by:
getTimeToLastDownstreamTxByte
in interfaceAccessLogCommonOrBuilder
- Returns:
- The timeToLastDownstreamTxByte.
-
getTimeToLastDownstreamTxByteOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeToLastDownstreamTxByteOrBuilder()
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;
- Specified by:
getTimeToLastDownstreamTxByteOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasUpstreamRemoteAddress
public boolean hasUpstreamRemoteAddress()
The upstream remote/destination address that handles this exchange. This does not include retries.
.envoy.config.core.v3.Address upstream_remote_address = 13;
- Specified by:
hasUpstreamRemoteAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the upstreamRemoteAddress field is set.
-
getUpstreamRemoteAddress
public Address getUpstreamRemoteAddress()
The upstream remote/destination address that handles this exchange. This does not include retries.
.envoy.config.core.v3.Address upstream_remote_address = 13;
- Specified by:
getUpstreamRemoteAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamRemoteAddress.
-
getUpstreamRemoteAddressOrBuilder
public AddressOrBuilder getUpstreamRemoteAddressOrBuilder()
The upstream remote/destination address that handles this exchange. This does not include retries.
.envoy.config.core.v3.Address upstream_remote_address = 13;
- Specified by:
getUpstreamRemoteAddressOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasUpstreamLocalAddress
public boolean hasUpstreamLocalAddress()
The upstream local/origin address that handles this exchange. This does not include retries.
.envoy.config.core.v3.Address upstream_local_address = 14;
- Specified by:
hasUpstreamLocalAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the upstreamLocalAddress field is set.
-
getUpstreamLocalAddress
public Address getUpstreamLocalAddress()
The upstream local/origin address that handles this exchange. This does not include retries.
.envoy.config.core.v3.Address upstream_local_address = 14;
- Specified by:
getUpstreamLocalAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamLocalAddress.
-
getUpstreamLocalAddressOrBuilder
public AddressOrBuilder getUpstreamLocalAddressOrBuilder()
The upstream local/origin address that handles this exchange. This does not include retries.
.envoy.config.core.v3.Address upstream_local_address = 14;
- Specified by:
getUpstreamLocalAddressOrBuilder
in interfaceAccessLogCommonOrBuilder
-
getUpstreamCluster
public java.lang.String getUpstreamCluster()
The upstream cluster that ``upstream_remote_address`` belongs to.
string upstream_cluster = 15;
- Specified by:
getUpstreamCluster
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamCluster.
-
getUpstreamClusterBytes
public com.google.protobuf.ByteString getUpstreamClusterBytes()
The upstream cluster that ``upstream_remote_address`` belongs to.
string upstream_cluster = 15;
- Specified by:
getUpstreamClusterBytes
in interfaceAccessLogCommonOrBuilder
- Returns:
- The bytes for upstreamCluster.
-
hasResponseFlags
public boolean hasResponseFlags()
Flags indicating occurrences during request/response processing.
.envoy.data.accesslog.v3.ResponseFlags response_flags = 16;
- Specified by:
hasResponseFlags
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the responseFlags field is set.
-
getResponseFlags
public ResponseFlags getResponseFlags()
Flags indicating occurrences during request/response processing.
.envoy.data.accesslog.v3.ResponseFlags response_flags = 16;
- Specified by:
getResponseFlags
in interfaceAccessLogCommonOrBuilder
- Returns:
- The responseFlags.
-
getResponseFlagsOrBuilder
public ResponseFlagsOrBuilder getResponseFlagsOrBuilder()
Flags indicating occurrences during request/response processing.
.envoy.data.accesslog.v3.ResponseFlags response_flags = 16;
- Specified by:
getResponseFlagsOrBuilder
in interfaceAccessLogCommonOrBuilder
-
hasMetadata
public boolean hasMetadata()
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;
- Specified by:
hasMetadata
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
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;
- Specified by:
getMetadata
in interfaceAccessLogCommonOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
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;
- Specified by:
getMetadataOrBuilder
in interfaceAccessLogCommonOrBuilder
-
getUpstreamTransportFailureReason
public java.lang.String getUpstreamTransportFailureReason()
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;
- Specified by:
getUpstreamTransportFailureReason
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamTransportFailureReason.
-
getUpstreamTransportFailureReasonBytes
public com.google.protobuf.ByteString getUpstreamTransportFailureReasonBytes()
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;
- Specified by:
getUpstreamTransportFailureReasonBytes
in interfaceAccessLogCommonOrBuilder
- Returns:
- The bytes for upstreamTransportFailureReason.
-
getRouteName
public java.lang.String getRouteName()
The name of the route
string route_name = 19;
- Specified by:
getRouteName
in interfaceAccessLogCommonOrBuilder
- Returns:
- The routeName.
-
getRouteNameBytes
public com.google.protobuf.ByteString getRouteNameBytes()
The name of the route
string route_name = 19;
- Specified by:
getRouteNameBytes
in interfaceAccessLogCommonOrBuilder
- Returns:
- The bytes for routeName.
-
hasDownstreamDirectRemoteAddress
public boolean hasDownstreamDirectRemoteAddress()
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;
- Specified by:
hasDownstreamDirectRemoteAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the downstreamDirectRemoteAddress field is set.
-
getDownstreamDirectRemoteAddress
public Address getDownstreamDirectRemoteAddress()
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;
- Specified by:
getDownstreamDirectRemoteAddress
in interfaceAccessLogCommonOrBuilder
- Returns:
- The downstreamDirectRemoteAddress.
-
getDownstreamDirectRemoteAddressOrBuilder
public AddressOrBuilder getDownstreamDirectRemoteAddressOrBuilder()
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;
- Specified by:
getDownstreamDirectRemoteAddressOrBuilder
in interfaceAccessLogCommonOrBuilder
-
internalGetFilterStateObjects
private com.google.protobuf.MapField<java.lang.String,com.google.protobuf.Any> internalGetFilterStateObjects()
-
getFilterStateObjectsCount
public int getFilterStateObjectsCount()
Description copied from interface:AccessLogCommonOrBuilder
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;
- Specified by:
getFilterStateObjectsCount
in interfaceAccessLogCommonOrBuilder
-
containsFilterStateObjects
public boolean containsFilterStateObjects(java.lang.String key)
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;
- Specified by:
containsFilterStateObjects
in interfaceAccessLogCommonOrBuilder
-
getFilterStateObjects
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getFilterStateObjects()
Deprecated.UsegetFilterStateObjectsMap()
instead.- Specified by:
getFilterStateObjects
in interfaceAccessLogCommonOrBuilder
-
getFilterStateObjectsMap
public java.util.Map<java.lang.String,com.google.protobuf.Any> 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;
- Specified by:
getFilterStateObjectsMap
in interfaceAccessLogCommonOrBuilder
-
getFilterStateObjectsOrDefault
public com.google.protobuf.Any getFilterStateObjectsOrDefault(java.lang.String key, com.google.protobuf.Any 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;
- Specified by:
getFilterStateObjectsOrDefault
in interfaceAccessLogCommonOrBuilder
-
getFilterStateObjectsOrThrow
public com.google.protobuf.Any getFilterStateObjectsOrThrow(java.lang.String key)
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;
- Specified by:
getFilterStateObjectsOrThrow
in interfaceAccessLogCommonOrBuilder
-
internalGetCustomTags
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetCustomTags()
-
getCustomTagsCount
public int getCustomTagsCount()
Description copied from interface:AccessLogCommonOrBuilder
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;
- Specified by:
getCustomTagsCount
in interfaceAccessLogCommonOrBuilder
-
containsCustomTags
public boolean containsCustomTags(java.lang.String key)
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;
- Specified by:
containsCustomTags
in interfaceAccessLogCommonOrBuilder
-
getCustomTags
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCustomTags()
Deprecated.UsegetCustomTagsMap()
instead.- Specified by:
getCustomTags
in interfaceAccessLogCommonOrBuilder
-
getCustomTagsMap
public java.util.Map<java.lang.String,java.lang.String> 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;
- Specified by:
getCustomTagsMap
in interfaceAccessLogCommonOrBuilder
-
getCustomTagsOrDefault
public java.lang.String getCustomTagsOrDefault(java.lang.String key, java.lang.String 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;
- Specified by:
getCustomTagsOrDefault
in interfaceAccessLogCommonOrBuilder
-
getCustomTagsOrThrow
public java.lang.String getCustomTagsOrThrow(java.lang.String key)
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;
- Specified by:
getCustomTagsOrThrow
in interfaceAccessLogCommonOrBuilder
-
hasDuration
public boolean hasDuration()
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;
- Specified by:
hasDuration
in interfaceAccessLogCommonOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()
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;
- Specified by:
getDuration
in interfaceAccessLogCommonOrBuilder
- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
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;
- Specified by:
getDurationOrBuilder
in interfaceAccessLogCommonOrBuilder
-
getUpstreamRequestAttemptCount
public int getUpstreamRequestAttemptCount()
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;
- Specified by:
getUpstreamRequestAttemptCount
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamRequestAttemptCount.
-
getConnectionTerminationDetails
public java.lang.String getConnectionTerminationDetails()
Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
string connection_termination_details = 25;
- Specified by:
getConnectionTerminationDetails
in interfaceAccessLogCommonOrBuilder
- Returns:
- The connectionTerminationDetails.
-
getConnectionTerminationDetailsBytes
public com.google.protobuf.ByteString getConnectionTerminationDetailsBytes()
Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
string connection_termination_details = 25;
- Specified by:
getConnectionTerminationDetailsBytes
in interfaceAccessLogCommonOrBuilder
- Returns:
- The bytes for connectionTerminationDetails.
-
getStreamId
public java.lang.String getStreamId()
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;
- Specified by:
getStreamId
in interfaceAccessLogCommonOrBuilder
- Returns:
- The streamId.
-
getStreamIdBytes
public com.google.protobuf.ByteString getStreamIdBytes()
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;
- Specified by:
getStreamIdBytes
in interfaceAccessLogCommonOrBuilder
- Returns:
- The bytes for streamId.
-
getIntermediateLogEntry
@Deprecated public boolean getIntermediateLogEntry()
Deprecated.envoy.data.accesslog.v3.AccessLogCommon.intermediate_log_entry is deprecated. See envoy/data/accesslog/v3/accesslog.proto;l=239If 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"];
- Specified by:
getIntermediateLogEntry
in interfaceAccessLogCommonOrBuilder
- Returns:
- The intermediateLogEntry.
-
getDownstreamTransportFailureReason
public java.lang.String getDownstreamTransportFailureReason()
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;
- Specified by:
getDownstreamTransportFailureReason
in interfaceAccessLogCommonOrBuilder
- Returns:
- The downstreamTransportFailureReason.
-
getDownstreamTransportFailureReasonBytes
public com.google.protobuf.ByteString getDownstreamTransportFailureReasonBytes()
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;
- Specified by:
getDownstreamTransportFailureReasonBytes
in interfaceAccessLogCommonOrBuilder
- Returns:
- The bytes for downstreamTransportFailureReason.
-
getDownstreamWireBytesSent
public long getDownstreamWireBytesSent()
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;
- Specified by:
getDownstreamWireBytesSent
in interfaceAccessLogCommonOrBuilder
- Returns:
- The downstreamWireBytesSent.
-
getDownstreamWireBytesReceived
public long getDownstreamWireBytesReceived()
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;
- Specified by:
getDownstreamWireBytesReceived
in interfaceAccessLogCommonOrBuilder
- Returns:
- The downstreamWireBytesReceived.
-
getUpstreamWireBytesSent
public long getUpstreamWireBytesSent()
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;
- Specified by:
getUpstreamWireBytesSent
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamWireBytesSent.
-
getUpstreamWireBytesReceived
public long getUpstreamWireBytesReceived()
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;
- Specified by:
getUpstreamWireBytesReceived
in interfaceAccessLogCommonOrBuilder
- Returns:
- The upstreamWireBytesReceived.
-
getAccessLogTypeValue
public int getAccessLogTypeValue()
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;
- Specified by:
getAccessLogTypeValue
in interfaceAccessLogCommonOrBuilder
- Returns:
- The enum numeric value on the wire for accessLogType.
-
getAccessLogType
public AccessLogType getAccessLogType()
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;
- Specified by:
getAccessLogType
in interfaceAccessLogCommonOrBuilder
- Returns:
- The accessLogType.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AccessLogCommon parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessLogCommon parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessLogCommon parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessLogCommon parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessLogCommon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessLogCommon parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessLogCommon parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccessLogCommon parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AccessLogCommon parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AccessLogCommon parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccessLogCommon parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccessLogCommon parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AccessLogCommon.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AccessLogCommon.Builder newBuilder()
-
newBuilder
public static AccessLogCommon.Builder newBuilder(AccessLogCommon prototype)
-
toBuilder
public AccessLogCommon.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AccessLogCommon.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static AccessLogCommon getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AccessLogCommon> parser()
-
getParserForType
public com.google.protobuf.Parser<AccessLogCommon> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public AccessLogCommon getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-