implements
// @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v2.AccessLogCommon)
io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommonOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.class, io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.Builder.class);
}
// Construct using io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sampleRate_ = 0D;
if (downstreamRemoteAddressBuilder_ == null) {
downstreamRemoteAddress_ = null;
} else {
downstreamRemoteAddress_ = null;
downstreamRemoteAddressBuilder_ = null;
}
if (downstreamLocalAddressBuilder_ == null) {
downstreamLocalAddress_ = null;
} else {
downstreamLocalAddress_ = null;
downstreamLocalAddressBuilder_ = null;
}
if (tlsPropertiesBuilder_ == null) {
tlsProperties_ = null;
} else {
tlsProperties_ = null;
tlsPropertiesBuilder_ = null;
}
if (startTimeBuilder_ == null) {
startTime_ = null;
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
if (timeToLastRxByteBuilder_ == null) {
timeToLastRxByte_ = null;
} else {
timeToLastRxByte_ = null;
timeToLastRxByteBuilder_ = null;
}
if (timeToFirstUpstreamTxByteBuilder_ == null) {
timeToFirstUpstreamTxByte_ = null;
} else {
timeToFirstUpstreamTxByte_ = null;
timeToFirstUpstreamTxByteBuilder_ = null;
}
if (timeToLastUpstreamTxByteBuilder_ == null) {
timeToLastUpstreamTxByte_ = null;
} else {
timeToLastUpstreamTxByte_ = null;
timeToLastUpstreamTxByteBuilder_ = null;
}
if (timeToFirstUpstreamRxByteBuilder_ == null) {
timeToFirstUpstreamRxByte_ = null;
} else {
timeToFirstUpstreamRxByte_ = null;
timeToFirstUpstreamRxByteBuilder_ = null;
}
if (timeToLastUpstreamRxByteBuilder_ == null) {
timeToLastUpstreamRxByte_ = null;
} else {
timeToLastUpstreamRxByte_ = null;
timeToLastUpstreamRxByteBuilder_ = null;
}
if (timeToFirstDownstreamTxByteBuilder_ == null) {
timeToFirstDownstreamTxByte_ = null;
} else {
timeToFirstDownstreamTxByte_ = null;
timeToFirstDownstreamTxByteBuilder_ = null;
}
if (timeToLastDownstreamTxByteBuilder_ == null) {
timeToLastDownstreamTxByte_ = null;
} else {
timeToLastDownstreamTxByte_ = null;
timeToLastDownstreamTxByteBuilder_ = null;
}
if (upstreamRemoteAddressBuilder_ == null) {
upstreamRemoteAddress_ = null;
} else {
upstreamRemoteAddress_ = null;
upstreamRemoteAddressBuilder_ = null;
}
if (upstreamLocalAddressBuilder_ == null) {
upstreamLocalAddress_ = null;
} else {
upstreamLocalAddress_ = null;
upstreamLocalAddressBuilder_ = null;
}
upstreamCluster_ = "";
if (responseFlagsBuilder_ == null) {
responseFlags_ = null;
} else {
responseFlags_ = null;
responseFlagsBuilder_ = null;
}
if (metadataBuilder_ == null) {
metadata_ = null;
} else {
metadata_ = null;
metadataBuilder_ = null;
}
upstreamTransportFailureReason_ = "";
routeName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.data.accesslog.v2.AccesslogProto.internal_static_envoy_data_accesslog_v2_AccessLogCommon_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon getDefaultInstanceForType() {
return io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon build() {
io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon buildPartial() {
io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon result = new io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon(this);
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_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon) {
return mergeFrom((io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon other) {
if (other == io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon.getDefaultInstance()) return this;
if (other.getSampleRate() != 0D) {
setSampleRate(other.getSampleRate());
}
if (other.hasDownstreamRemoteAddress()) {
mergeDownstreamRemoteAddress(other.getDownstreamRemoteAddress());
}
if (other.hasDownstreamLocalAddress()) {
mergeDownstreamLocalAddress(other.getDownstreamLocalAddress());
}
if (other.hasTlsProperties()) {
mergeTlsProperties(other.getTlsProperties());
}
if (other.hasStartTime()) {
mergeStartTime(other.getStartTime());
}
if (other.hasTimeToLastRxByte()) {
mergeTimeToLastRxByte(other.getTimeToLastRxByte());
}
if (other.hasTimeToFirstUpstreamTxByte()) {
mergeTimeToFirstUpstreamTxByte(other.getTimeToFirstUpstreamTxByte());
}
if (other.hasTimeToLastUpstreamTxByte()) {
mergeTimeToLastUpstreamTxByte(other.getTimeToLastUpstreamTxByte());
}
if (other.hasTimeToFirstUpstreamRxByte()) {
mergeTimeToFirstUpstreamRxByte(other.getTimeToFirstUpstreamRxByte());
}
if (other.hasTimeToLastUpstreamRxByte()) {
mergeTimeToLastUpstreamRxByte(other.getTimeToLastUpstreamRxByte());
}
if (other.hasTimeToFirstDownstreamTxByte()) {
mergeTimeToFirstDownstreamTxByte(other.getTimeToFirstDownstreamTxByte());
}
if (other.hasTimeToLastDownstreamTxByte()) {
mergeTimeToLastDownstreamTxByte(other.getTimeToLastDownstreamTxByte());
}
if (other.hasUpstreamRemoteAddress()) {
mergeUpstreamRemoteAddress(other.getUpstreamRemoteAddress());
}
if (other.hasUpstreamLocalAddress()) {
mergeUpstreamLocalAddress(other.getUpstreamLocalAddress());
}
if (!other.getUpstreamCluster().isEmpty()) {
upstreamCluster_ = other.upstreamCluster_;
onChanged();
}
if (other.hasResponseFlags()) {
mergeResponseFlags(other.getResponseFlags());
}
if (other.hasMetadata()) {
mergeMetadata(other.getMetadata());
}
if (!other.getUpstreamTransportFailureReason().isEmpty()) {
upstreamTransportFailureReason_ = other.upstreamTransportFailureReason_;
onChanged();
}
if (!other.getRouteName().isEmpty()) {
routeName_ = other.routeName_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private 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) = { ... }
*/
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) = { ... }
*/
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) = { ... }
*/
public Builder clearSampleRate() {
sampleRate_ = 0D;
onChanged();
return this;
}
private io.envoyproxy.envoy.api.v2.core.Address downstreamRemoteAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> downstreamRemoteAddressBuilder_;
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public boolean hasDownstreamRemoteAddress() {
return downstreamRemoteAddressBuilder_ != null || downstreamRemoteAddress_ != null;
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public io.envoyproxy.envoy.api.v2.core.Address getDownstreamRemoteAddress() {
if (downstreamRemoteAddressBuilder_ == null) {
return downstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamRemoteAddress_;
} else {
return downstreamRemoteAddressBuilder_.getMessage();
}
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public Builder setDownstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (downstreamRemoteAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
downstreamRemoteAddress_ = value;
onChanged();
} else {
downstreamRemoteAddressBuilder_.setMessage(value);
}
return this;
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public Builder setDownstreamRemoteAddress(
io.envoyproxy.envoy.api.v2.core.Address.Builder builderForValue) {
if (downstreamRemoteAddressBuilder_ == null) {
downstreamRemoteAddress_ = builderForValue.build();
onChanged();
} else {
downstreamRemoteAddressBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public Builder mergeDownstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (downstreamRemoteAddressBuilder_ == null) {
if (downstreamRemoteAddress_ != null) {
downstreamRemoteAddress_ =
io.envoyproxy.envoy.api.v2.core.Address.newBuilder(downstreamRemoteAddress_).mergeFrom(value).buildPartial();
} else {
downstreamRemoteAddress_ = value;
}
onChanged();
} else {
downstreamRemoteAddressBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public Builder clearDownstreamRemoteAddress() {
if (downstreamRemoteAddressBuilder_ == null) {
downstreamRemoteAddress_ = null;
onChanged();
} else {
downstreamRemoteAddress_ = null;
downstreamRemoteAddressBuilder_ = null;
}
return this;
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public io.envoyproxy.envoy.api.v2.core.Address.Builder getDownstreamRemoteAddressBuilder() {
onChanged();
return getDownstreamRemoteAddressFieldBuilder().getBuilder();
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamRemoteAddressOrBuilder() {
if (downstreamRemoteAddressBuilder_ != null) {
return downstreamRemoteAddressBuilder_.getMessageOrBuilder();
} else {
return downstreamRemoteAddress_ == null ?
io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamRemoteAddress_;
}
}
/**
*
* This field is the remote/origin address on which the request from the user was received.
* Note: This may not be the physical peer. E.g, if the remote address is inferred from for
* example the x-forwarder-for header, proxy protocol, etc.
*
*
* .envoy.api.v2.core.Address downstream_remote_address = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>
getDownstreamRemoteAddressFieldBuilder() {
if (downstreamRemoteAddressBuilder_ == null) {
downstreamRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>(
getDownstreamRemoteAddress(),
getParentForChildren(),
isClean());
downstreamRemoteAddress_ = null;
}
return downstreamRemoteAddressBuilder_;
}
private io.envoyproxy.envoy.api.v2.core.Address downstreamLocalAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> downstreamLocalAddressBuilder_;
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public boolean hasDownstreamLocalAddress() {
return downstreamLocalAddressBuilder_ != null || downstreamLocalAddress_ != null;
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public io.envoyproxy.envoy.api.v2.core.Address getDownstreamLocalAddress() {
if (downstreamLocalAddressBuilder_ == null) {
return downstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamLocalAddress_;
} else {
return downstreamLocalAddressBuilder_.getMessage();
}
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public Builder setDownstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (downstreamLocalAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
downstreamLocalAddress_ = value;
onChanged();
} else {
downstreamLocalAddressBuilder_.setMessage(value);
}
return this;
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public Builder setDownstreamLocalAddress(
io.envoyproxy.envoy.api.v2.core.Address.Builder builderForValue) {
if (downstreamLocalAddressBuilder_ == null) {
downstreamLocalAddress_ = builderForValue.build();
onChanged();
} else {
downstreamLocalAddressBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public Builder mergeDownstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (downstreamLocalAddressBuilder_ == null) {
if (downstreamLocalAddress_ != null) {
downstreamLocalAddress_ =
io.envoyproxy.envoy.api.v2.core.Address.newBuilder(downstreamLocalAddress_).mergeFrom(value).buildPartial();
} else {
downstreamLocalAddress_ = value;
}
onChanged();
} else {
downstreamLocalAddressBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public Builder clearDownstreamLocalAddress() {
if (downstreamLocalAddressBuilder_ == null) {
downstreamLocalAddress_ = null;
onChanged();
} else {
downstreamLocalAddress_ = null;
downstreamLocalAddressBuilder_ = null;
}
return this;
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public io.envoyproxy.envoy.api.v2.core.Address.Builder getDownstreamLocalAddressBuilder() {
onChanged();
return getDownstreamLocalAddressFieldBuilder().getBuilder();
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getDownstreamLocalAddressOrBuilder() {
if (downstreamLocalAddressBuilder_ != null) {
return downstreamLocalAddressBuilder_.getMessageOrBuilder();
} else {
return downstreamLocalAddress_ == null ?
io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : downstreamLocalAddress_;
}
}
/**
*
* This field is the local/destination address on which the request from the user was received.
*
*
* .envoy.api.v2.core.Address downstream_local_address = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>
getDownstreamLocalAddressFieldBuilder() {
if (downstreamLocalAddressBuilder_ == null) {
downstreamLocalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>(
getDownstreamLocalAddress(),
getParentForChildren(),
isClean());
downstreamLocalAddress_ = null;
}
return downstreamLocalAddressBuilder_;
}
private io.envoyproxy.envoy.data.accesslog.v2.TLSProperties tlsProperties_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.data.accesslog.v2.TLSProperties, io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder> tlsPropertiesBuilder_;
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public boolean hasTlsProperties() {
return tlsPropertiesBuilder_ != null || tlsProperties_ != null;
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public io.envoyproxy.envoy.data.accesslog.v2.TLSProperties getTlsProperties() {
if (tlsPropertiesBuilder_ == null) {
return tlsProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.getDefaultInstance() : tlsProperties_;
} else {
return tlsPropertiesBuilder_.getMessage();
}
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public Builder setTlsProperties(io.envoyproxy.envoy.data.accesslog.v2.TLSProperties value) {
if (tlsPropertiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tlsProperties_ = value;
onChanged();
} else {
tlsPropertiesBuilder_.setMessage(value);
}
return this;
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public Builder setTlsProperties(
io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder builderForValue) {
if (tlsPropertiesBuilder_ == null) {
tlsProperties_ = builderForValue.build();
onChanged();
} else {
tlsPropertiesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public Builder mergeTlsProperties(io.envoyproxy.envoy.data.accesslog.v2.TLSProperties value) {
if (tlsPropertiesBuilder_ == null) {
if (tlsProperties_ != null) {
tlsProperties_ =
io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.newBuilder(tlsProperties_).mergeFrom(value).buildPartial();
} else {
tlsProperties_ = value;
}
onChanged();
} else {
tlsPropertiesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public Builder clearTlsProperties() {
if (tlsPropertiesBuilder_ == null) {
tlsProperties_ = null;
onChanged();
} else {
tlsProperties_ = null;
tlsPropertiesBuilder_ = null;
}
return this;
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder getTlsPropertiesBuilder() {
onChanged();
return getTlsPropertiesFieldBuilder().getBuilder();
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
public io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder getTlsPropertiesOrBuilder() {
if (tlsPropertiesBuilder_ != null) {
return tlsPropertiesBuilder_.getMessageOrBuilder();
} else {
return tlsProperties_ == null ?
io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.getDefaultInstance() : tlsProperties_;
}
}
/**
*
* If the connection is secure,S this field will contain TLS properties.
*
*
* .envoy.data.accesslog.v2.TLSProperties tls_properties = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.data.accesslog.v2.TLSProperties, io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder>
getTlsPropertiesFieldBuilder() {
if (tlsPropertiesBuilder_ == null) {
tlsPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.data.accesslog.v2.TLSProperties, io.envoyproxy.envoy.data.accesslog.v2.TLSProperties.Builder, io.envoyproxy.envoy.data.accesslog.v2.TLSPropertiesOrBuilder>(
getTlsProperties(),
getParentForChildren(),
isClean());
tlsProperties_ = null;
}
return tlsPropertiesBuilder_;
}
private com.google.protobuf.Timestamp startTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
/**
*
* The time that Envoy started servicing this request. This is effectively the time that the first
* downstream byte is received.
*
*
* .google.protobuf.Timestamp start_time = 5;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
public com.google.protobuf.Duration getTimeToLastDownstreamTxByte() {
if (timeToLastDownstreamTxByteBuilder_ == null) {
return timeToLastDownstreamTxByte_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeToLastDownstreamTxByte_;
} else {
return timeToLastDownstreamTxByteBuilder_.getMessage();
}
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
public Builder setTimeToLastDownstreamTxByte(com.google.protobuf.Duration value) {
if (timeToLastDownstreamTxByteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timeToLastDownstreamTxByte_ = value;
onChanged();
} else {
timeToLastDownstreamTxByteBuilder_.setMessage(value);
}
return this;
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
public Builder setTimeToLastDownstreamTxByte(
com.google.protobuf.Duration.Builder builderForValue) {
if (timeToLastDownstreamTxByteBuilder_ == null) {
timeToLastDownstreamTxByte_ = builderForValue.build();
onChanged();
} else {
timeToLastDownstreamTxByteBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
public Builder mergeTimeToLastDownstreamTxByte(com.google.protobuf.Duration value) {
if (timeToLastDownstreamTxByteBuilder_ == null) {
if (timeToLastDownstreamTxByte_ != null) {
timeToLastDownstreamTxByte_ =
com.google.protobuf.Duration.newBuilder(timeToLastDownstreamTxByte_).mergeFrom(value).buildPartial();
} else {
timeToLastDownstreamTxByte_ = value;
}
onChanged();
} else {
timeToLastDownstreamTxByteBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
public Builder clearTimeToLastDownstreamTxByte() {
if (timeToLastDownstreamTxByteBuilder_ == null) {
timeToLastDownstreamTxByte_ = null;
onChanged();
} else {
timeToLastDownstreamTxByte_ = null;
timeToLastDownstreamTxByteBuilder_ = null;
}
return this;
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
public com.google.protobuf.Duration.Builder getTimeToLastDownstreamTxByteBuilder() {
onChanged();
return getTimeToLastDownstreamTxByteFieldBuilder().getBuilder();
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
public com.google.protobuf.DurationOrBuilder getTimeToLastDownstreamTxByteOrBuilder() {
if (timeToLastDownstreamTxByteBuilder_ != null) {
return timeToLastDownstreamTxByteBuilder_.getMessageOrBuilder();
} else {
return timeToLastDownstreamTxByte_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : timeToLastDownstreamTxByte_;
}
}
/**
*
* Interval between the first downstream byte received and the last downstream byte sent.
* Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
* between *time_to_last_upstream_rx_byte* and this field. Note also that this is an approximate
* time. In the current implementation it does not include kernel socket buffer time. In the
* current implementation it also does not include send window buffering inside the HTTP/2 codec.
* In the future it is likely that work will be done to make this duration more accurate.
*
*
* .google.protobuf.Duration time_to_last_downstream_tx_byte = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getTimeToLastDownstreamTxByteFieldBuilder() {
if (timeToLastDownstreamTxByteBuilder_ == null) {
timeToLastDownstreamTxByteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getTimeToLastDownstreamTxByte(),
getParentForChildren(),
isClean());
timeToLastDownstreamTxByte_ = null;
}
return timeToLastDownstreamTxByteBuilder_;
}
private io.envoyproxy.envoy.api.v2.core.Address upstreamRemoteAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> upstreamRemoteAddressBuilder_;
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public boolean hasUpstreamRemoteAddress() {
return upstreamRemoteAddressBuilder_ != null || upstreamRemoteAddress_ != null;
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public io.envoyproxy.envoy.api.v2.core.Address getUpstreamRemoteAddress() {
if (upstreamRemoteAddressBuilder_ == null) {
return upstreamRemoteAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamRemoteAddress_;
} else {
return upstreamRemoteAddressBuilder_.getMessage();
}
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public Builder setUpstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (upstreamRemoteAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upstreamRemoteAddress_ = value;
onChanged();
} else {
upstreamRemoteAddressBuilder_.setMessage(value);
}
return this;
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public Builder setUpstreamRemoteAddress(
io.envoyproxy.envoy.api.v2.core.Address.Builder builderForValue) {
if (upstreamRemoteAddressBuilder_ == null) {
upstreamRemoteAddress_ = builderForValue.build();
onChanged();
} else {
upstreamRemoteAddressBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public Builder mergeUpstreamRemoteAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (upstreamRemoteAddressBuilder_ == null) {
if (upstreamRemoteAddress_ != null) {
upstreamRemoteAddress_ =
io.envoyproxy.envoy.api.v2.core.Address.newBuilder(upstreamRemoteAddress_).mergeFrom(value).buildPartial();
} else {
upstreamRemoteAddress_ = value;
}
onChanged();
} else {
upstreamRemoteAddressBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public Builder clearUpstreamRemoteAddress() {
if (upstreamRemoteAddressBuilder_ == null) {
upstreamRemoteAddress_ = null;
onChanged();
} else {
upstreamRemoteAddress_ = null;
upstreamRemoteAddressBuilder_ = null;
}
return this;
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public io.envoyproxy.envoy.api.v2.core.Address.Builder getUpstreamRemoteAddressBuilder() {
onChanged();
return getUpstreamRemoteAddressFieldBuilder().getBuilder();
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getUpstreamRemoteAddressOrBuilder() {
if (upstreamRemoteAddressBuilder_ != null) {
return upstreamRemoteAddressBuilder_.getMessageOrBuilder();
} else {
return upstreamRemoteAddress_ == null ?
io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamRemoteAddress_;
}
}
/**
*
* The upstream remote/destination address that handles this exchange. This does not include
* retries.
*
*
* .envoy.api.v2.core.Address upstream_remote_address = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>
getUpstreamRemoteAddressFieldBuilder() {
if (upstreamRemoteAddressBuilder_ == null) {
upstreamRemoteAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>(
getUpstreamRemoteAddress(),
getParentForChildren(),
isClean());
upstreamRemoteAddress_ = null;
}
return upstreamRemoteAddressBuilder_;
}
private io.envoyproxy.envoy.api.v2.core.Address upstreamLocalAddress_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder> upstreamLocalAddressBuilder_;
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public boolean hasUpstreamLocalAddress() {
return upstreamLocalAddressBuilder_ != null || upstreamLocalAddress_ != null;
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public io.envoyproxy.envoy.api.v2.core.Address getUpstreamLocalAddress() {
if (upstreamLocalAddressBuilder_ == null) {
return upstreamLocalAddress_ == null ? io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamLocalAddress_;
} else {
return upstreamLocalAddressBuilder_.getMessage();
}
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public Builder setUpstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (upstreamLocalAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upstreamLocalAddress_ = value;
onChanged();
} else {
upstreamLocalAddressBuilder_.setMessage(value);
}
return this;
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public Builder setUpstreamLocalAddress(
io.envoyproxy.envoy.api.v2.core.Address.Builder builderForValue) {
if (upstreamLocalAddressBuilder_ == null) {
upstreamLocalAddress_ = builderForValue.build();
onChanged();
} else {
upstreamLocalAddressBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public Builder mergeUpstreamLocalAddress(io.envoyproxy.envoy.api.v2.core.Address value) {
if (upstreamLocalAddressBuilder_ == null) {
if (upstreamLocalAddress_ != null) {
upstreamLocalAddress_ =
io.envoyproxy.envoy.api.v2.core.Address.newBuilder(upstreamLocalAddress_).mergeFrom(value).buildPartial();
} else {
upstreamLocalAddress_ = value;
}
onChanged();
} else {
upstreamLocalAddressBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public Builder clearUpstreamLocalAddress() {
if (upstreamLocalAddressBuilder_ == null) {
upstreamLocalAddress_ = null;
onChanged();
} else {
upstreamLocalAddress_ = null;
upstreamLocalAddressBuilder_ = null;
}
return this;
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public io.envoyproxy.envoy.api.v2.core.Address.Builder getUpstreamLocalAddressBuilder() {
onChanged();
return getUpstreamLocalAddressFieldBuilder().getBuilder();
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
public io.envoyproxy.envoy.api.v2.core.AddressOrBuilder getUpstreamLocalAddressOrBuilder() {
if (upstreamLocalAddressBuilder_ != null) {
return upstreamLocalAddressBuilder_.getMessageOrBuilder();
} else {
return upstreamLocalAddress_ == null ?
io.envoyproxy.envoy.api.v2.core.Address.getDefaultInstance() : upstreamLocalAddress_;
}
}
/**
*
* The upstream local/origin address that handles this exchange. This does not include retries.
*
*
* .envoy.api.v2.core.Address upstream_local_address = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>
getUpstreamLocalAddressFieldBuilder() {
if (upstreamLocalAddressBuilder_ == null) {
upstreamLocalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Address, io.envoyproxy.envoy.api.v2.core.Address.Builder, io.envoyproxy.envoy.api.v2.core.AddressOrBuilder>(
getUpstreamLocalAddress(),
getParentForChildren(),
isClean());
upstreamLocalAddress_ = null;
}
return upstreamLocalAddressBuilder_;
}
private java.lang.Object upstreamCluster_ = "";
/**
*
* The upstream cluster that *upstream_remote_address* belongs to.
*
*
* string upstream_cluster = 15;
*/
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;
*/
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;
*/
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;
*/
public Builder clearUpstreamCluster() {
upstreamCluster_ = getDefaultInstance().getUpstreamCluster();
onChanged();
return this;
}
/**
*
* The upstream cluster that *upstream_remote_address* belongs to.
*
*
* string upstream_cluster = 15;
*/
public Builder setUpstreamClusterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
upstreamCluster_ = value;
onChanged();
return this;
}
private io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags responseFlags_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder> responseFlagsBuilder_;
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public boolean hasResponseFlags() {
return responseFlagsBuilder_ != null || responseFlags_ != null;
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags getResponseFlags() {
if (responseFlagsBuilder_ == null) {
return responseFlags_ == null ? io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.getDefaultInstance() : responseFlags_;
} else {
return responseFlagsBuilder_.getMessage();
}
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public Builder setResponseFlags(io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags value) {
if (responseFlagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
responseFlags_ = value;
onChanged();
} else {
responseFlagsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public Builder setResponseFlags(
io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder builderForValue) {
if (responseFlagsBuilder_ == null) {
responseFlags_ = builderForValue.build();
onChanged();
} else {
responseFlagsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public Builder mergeResponseFlags(io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags value) {
if (responseFlagsBuilder_ == null) {
if (responseFlags_ != null) {
responseFlags_ =
io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.newBuilder(responseFlags_).mergeFrom(value).buildPartial();
} else {
responseFlags_ = value;
}
onChanged();
} else {
responseFlagsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public Builder clearResponseFlags() {
if (responseFlagsBuilder_ == null) {
responseFlags_ = null;
onChanged();
} else {
responseFlags_ = null;
responseFlagsBuilder_ = null;
}
return this;
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder getResponseFlagsBuilder() {
onChanged();
return getResponseFlagsFieldBuilder().getBuilder();
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
public io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder getResponseFlagsOrBuilder() {
if (responseFlagsBuilder_ != null) {
return responseFlagsBuilder_.getMessageOrBuilder();
} else {
return responseFlags_ == null ?
io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.getDefaultInstance() : responseFlags_;
}
}
/**
*
* Flags indicating occurrences during request/response processing.
*
*
* .envoy.data.accesslog.v2.ResponseFlags response_flags = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder>
getResponseFlagsFieldBuilder() {
if (responseFlagsBuilder_ == null) {
responseFlagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlags.Builder, io.envoyproxy.envoy.data.accesslog.v2.ResponseFlagsOrBuilder>(
getResponseFlags(),
getParentForChildren(),
isClean());
responseFlags_ = null;
}
return responseFlagsBuilder_;
}
private io.envoyproxy.envoy.api.v2.core.Metadata metadata_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Metadata, io.envoyproxy.envoy.api.v2.core.Metadata.Builder, io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder> metadataBuilder_;
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public boolean hasMetadata() {
return metadataBuilder_ != null || metadata_ != null;
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public io.envoyproxy.envoy.api.v2.core.Metadata getMetadata() {
if (metadataBuilder_ == null) {
return metadata_ == null ? io.envoyproxy.envoy.api.v2.core.Metadata.getDefaultInstance() : metadata_;
} else {
return metadataBuilder_.getMessage();
}
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public Builder setMetadata(io.envoyproxy.envoy.api.v2.core.Metadata value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
onChanged();
} else {
metadataBuilder_.setMessage(value);
}
return this;
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public Builder setMetadata(
io.envoyproxy.envoy.api.v2.core.Metadata.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public Builder mergeMetadata(io.envoyproxy.envoy.api.v2.core.Metadata value) {
if (metadataBuilder_ == null) {
if (metadata_ != null) {
metadata_ =
io.envoyproxy.envoy.api.v2.core.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
} else {
metadata_ = value;
}
onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public Builder clearMetadata() {
if (metadataBuilder_ == null) {
metadata_ = null;
onChanged();
} else {
metadata_ = null;
metadataBuilder_ = null;
}
return this;
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public io.envoyproxy.envoy.api.v2.core.Metadata.Builder getMetadataBuilder() {
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
public io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder getMetadataOrBuilder() {
if (metadataBuilder_ != null) {
return metadataBuilder_.getMessageOrBuilder();
} else {
return metadata_ == null ?
io.envoyproxy.envoy.api.v2.core.Metadata.getDefaultInstance() : metadata_;
}
}
/**
*
* All metadata encountered during request processing, including endpoint
* selection.
* This can be used to associate IDs attached to the various configurations
* used to process this request with the access log entry. For example, a
* route created from a higher level forwarding rule with some ID can place
* that ID in this field and cross reference later. It can also be used to
* determine if a canary endpoint was used or not.
*
*
* .envoy.api.v2.core.Metadata metadata = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Metadata, io.envoyproxy.envoy.api.v2.core.Metadata.Builder, io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder>
getMetadataFieldBuilder() {
if (metadataBuilder_ == null) {
metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.Metadata, io.envoyproxy.envoy.api.v2.core.Metadata.Builder, io.envoyproxy.envoy.api.v2.core.MetadataOrBuilder>(
getMetadata(),
getParentForChildren(),
isClean());
metadata_ = null;
}
return metadataBuilder_;
}
private java.lang.Object upstreamTransportFailureReason_ = "";
/**
*
* If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
* failure reason from the transport socket. The format of this field depends on the configured
* upstream transport socket. Common TLS failures are in
* :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
*
*
* string upstream_transport_failure_reason = 18;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
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;
*/
public Builder clearRouteName() {
routeName_ = getDefaultInstance().getRouteName();
onChanged();
return this;
}
/**
*
* The name of the route
*
*
* string route_name = 19;
*/
public Builder setRouteNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
routeName_ = value;
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.v2.AccessLogCommon)
}
// @@protoc_insertion_point(class_scope:envoy.data.accesslog.v2.AccessLogCommon)
private static final io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon();
}
public static io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AccessLogCommon parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccessLogCommon(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v2.AccessLogCommon getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}