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