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

io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/config/accesslog/v2/als.proto

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.config.accesslog.v2;

/**
 * 
 * Configuration for the built-in *envoy.access_loggers.http_grpc*
 * :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.AccessLog>`. This configuration will
 * populate :ref:`StreamAccessLogsMessage.http_logs
 * <envoy_api_field_service.accesslog.v2.StreamAccessLogsMessage.http_logs>`.
 * [#extension: envoy.access_loggers.http_grpc]
 * 
* * Protobuf type {@code envoy.config.accesslog.v2.HttpGrpcAccessLogConfig} */ public final class HttpGrpcAccessLogConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.accesslog.v2.HttpGrpcAccessLogConfig) HttpGrpcAccessLogConfigOrBuilder { private static final long serialVersionUID = 0L; // Use HttpGrpcAccessLogConfig.newBuilder() to construct. private HttpGrpcAccessLogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HttpGrpcAccessLogConfig() { additionalRequestHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); additionalResponseHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); additionalResponseTrailersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HttpGrpcAccessLogConfig(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_HttpGrpcAccessLogConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_HttpGrpcAccessLogConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.class, io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.Builder.class); } private int bitField0_; public static final int COMMON_CONFIG_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig commonConfig_; /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } * @return Whether the commonConfig field is set. */ @java.lang.Override public boolean hasCommonConfig() { return ((bitField0_ & 0x00000001) != 0); } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } * @return The commonConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig getCommonConfig() { return commonConfig_ == null ? io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.getDefaultInstance() : commonConfig_; } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ @java.lang.Override public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfigOrBuilder getCommonConfigOrBuilder() { return commonConfig_ == null ? io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.getDefaultInstance() : commonConfig_; } public static final int ADDITIONAL_REQUEST_HEADERS_TO_LOG_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList additionalRequestHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
   * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
   * 
* * repeated string additional_request_headers_to_log = 2; * @return A list containing the additionalRequestHeadersToLog. */ public com.google.protobuf.ProtocolStringList getAdditionalRequestHeadersToLogList() { return additionalRequestHeadersToLog_; } /** *
   * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
   * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
   * 
* * repeated string additional_request_headers_to_log = 2; * @return The count of additionalRequestHeadersToLog. */ public int getAdditionalRequestHeadersToLogCount() { return additionalRequestHeadersToLog_.size(); } /** *
   * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
   * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
   * 
* * repeated string additional_request_headers_to_log = 2; * @param index The index of the element to return. * @return The additionalRequestHeadersToLog at the given index. */ public java.lang.String getAdditionalRequestHeadersToLog(int index) { return additionalRequestHeadersToLog_.get(index); } /** *
   * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
   * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
   * 
* * repeated string additional_request_headers_to_log = 2; * @param index The index of the value to return. * @return The bytes of the additionalRequestHeadersToLog at the given index. */ public com.google.protobuf.ByteString getAdditionalRequestHeadersToLogBytes(int index) { return additionalRequestHeadersToLog_.getByteString(index); } public static final int ADDITIONAL_RESPONSE_HEADERS_TO_LOG_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList additionalResponseHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
   * 
* * repeated string additional_response_headers_to_log = 3; * @return A list containing the additionalResponseHeadersToLog. */ public com.google.protobuf.ProtocolStringList getAdditionalResponseHeadersToLogList() { return additionalResponseHeadersToLog_; } /** *
   * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
   * 
* * repeated string additional_response_headers_to_log = 3; * @return The count of additionalResponseHeadersToLog. */ public int getAdditionalResponseHeadersToLogCount() { return additionalResponseHeadersToLog_.size(); } /** *
   * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
   * 
* * repeated string additional_response_headers_to_log = 3; * @param index The index of the element to return. * @return The additionalResponseHeadersToLog at the given index. */ public java.lang.String getAdditionalResponseHeadersToLog(int index) { return additionalResponseHeadersToLog_.get(index); } /** *
   * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
   * 
* * repeated string additional_response_headers_to_log = 3; * @param index The index of the value to return. * @return The bytes of the additionalResponseHeadersToLog at the given index. */ public com.google.protobuf.ByteString getAdditionalResponseHeadersToLogBytes(int index) { return additionalResponseHeadersToLog_.getByteString(index); } public static final int ADDITIONAL_RESPONSE_TRAILERS_TO_LOG_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList additionalResponseTrailersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
   * 
* * repeated string additional_response_trailers_to_log = 4; * @return A list containing the additionalResponseTrailersToLog. */ public com.google.protobuf.ProtocolStringList getAdditionalResponseTrailersToLogList() { return additionalResponseTrailersToLog_; } /** *
   * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
   * 
* * repeated string additional_response_trailers_to_log = 4; * @return The count of additionalResponseTrailersToLog. */ public int getAdditionalResponseTrailersToLogCount() { return additionalResponseTrailersToLog_.size(); } /** *
   * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
   * 
* * repeated string additional_response_trailers_to_log = 4; * @param index The index of the element to return. * @return The additionalResponseTrailersToLog at the given index. */ public java.lang.String getAdditionalResponseTrailersToLog(int index) { return additionalResponseTrailersToLog_.get(index); } /** *
   * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
   * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
   * 
* * repeated string additional_response_trailers_to_log = 4; * @param index The index of the value to return. * @return The bytes of the additionalResponseTrailersToLog at the given index. */ public com.google.protobuf.ByteString getAdditionalResponseTrailersToLogBytes(int index) { return additionalResponseTrailersToLog_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommonConfig()); } for (int i = 0; i < additionalRequestHeadersToLog_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, additionalRequestHeadersToLog_.getRaw(i)); } for (int i = 0; i < additionalResponseHeadersToLog_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, additionalResponseHeadersToLog_.getRaw(i)); } for (int i = 0; i < additionalResponseTrailersToLog_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, additionalResponseTrailersToLog_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCommonConfig()); } { int dataSize = 0; for (int i = 0; i < additionalRequestHeadersToLog_.size(); i++) { dataSize += computeStringSizeNoTag(additionalRequestHeadersToLog_.getRaw(i)); } size += dataSize; size += 1 * getAdditionalRequestHeadersToLogList().size(); } { int dataSize = 0; for (int i = 0; i < additionalResponseHeadersToLog_.size(); i++) { dataSize += computeStringSizeNoTag(additionalResponseHeadersToLog_.getRaw(i)); } size += dataSize; size += 1 * getAdditionalResponseHeadersToLogList().size(); } { int dataSize = 0; for (int i = 0; i < additionalResponseTrailersToLog_.size(); i++) { dataSize += computeStringSizeNoTag(additionalResponseTrailersToLog_.getRaw(i)); } size += dataSize; size += 1 * getAdditionalResponseTrailersToLogList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig other = (io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig) obj; if (hasCommonConfig() != other.hasCommonConfig()) return false; if (hasCommonConfig()) { if (!getCommonConfig() .equals(other.getCommonConfig())) return false; } if (!getAdditionalRequestHeadersToLogList() .equals(other.getAdditionalRequestHeadersToLogList())) return false; if (!getAdditionalResponseHeadersToLogList() .equals(other.getAdditionalResponseHeadersToLogList())) return false; if (!getAdditionalResponseTrailersToLogList() .equals(other.getAdditionalResponseTrailersToLogList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCommonConfig()) { hash = (37 * hash) + COMMON_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCommonConfig().hashCode(); } if (getAdditionalRequestHeadersToLogCount() > 0) { hash = (37 * hash) + ADDITIONAL_REQUEST_HEADERS_TO_LOG_FIELD_NUMBER; hash = (53 * hash) + getAdditionalRequestHeadersToLogList().hashCode(); } if (getAdditionalResponseHeadersToLogCount() > 0) { hash = (37 * hash) + ADDITIONAL_RESPONSE_HEADERS_TO_LOG_FIELD_NUMBER; hash = (53 * hash) + getAdditionalResponseHeadersToLogList().hashCode(); } if (getAdditionalResponseTrailersToLogCount() > 0) { hash = (37 * hash) + ADDITIONAL_RESPONSE_TRAILERS_TO_LOG_FIELD_NUMBER; hash = (53 * hash) + getAdditionalResponseTrailersToLogList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Configuration for the built-in *envoy.access_loggers.http_grpc*
   * :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.AccessLog>`. This configuration will
   * populate :ref:`StreamAccessLogsMessage.http_logs
   * <envoy_api_field_service.accesslog.v2.StreamAccessLogsMessage.http_logs>`.
   * [#extension: envoy.access_loggers.http_grpc]
   * 
* * Protobuf type {@code envoy.config.accesslog.v2.HttpGrpcAccessLogConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.accesslog.v2.HttpGrpcAccessLogConfig) io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_HttpGrpcAccessLogConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_HttpGrpcAccessLogConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.class, io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCommonConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; commonConfig_ = null; if (commonConfigBuilder_ != null) { commonConfigBuilder_.dispose(); commonConfigBuilder_ = null; } additionalRequestHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); additionalResponseHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); additionalResponseTrailersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.accesslog.v2.AlsProto.internal_static_envoy_config_accesslog_v2_HttpGrpcAccessLogConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig build() { io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig buildPartial() { io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig result = new io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.commonConfig_ = commonConfigBuilder_ == null ? commonConfig_ : commonConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { additionalRequestHeadersToLog_.makeImmutable(); result.additionalRequestHeadersToLog_ = additionalRequestHeadersToLog_; } if (((from_bitField0_ & 0x00000004) != 0)) { additionalResponseHeadersToLog_.makeImmutable(); result.additionalResponseHeadersToLog_ = additionalResponseHeadersToLog_; } if (((from_bitField0_ & 0x00000008) != 0)) { additionalResponseTrailersToLog_.makeImmutable(); result.additionalResponseTrailersToLog_ = additionalResponseTrailersToLog_; } result.bitField0_ |= to_bitField0_; } @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.config.accesslog.v2.HttpGrpcAccessLogConfig) { return mergeFrom((io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig other) { if (other == io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig.getDefaultInstance()) return this; if (other.hasCommonConfig()) { mergeCommonConfig(other.getCommonConfig()); } if (!other.additionalRequestHeadersToLog_.isEmpty()) { if (additionalRequestHeadersToLog_.isEmpty()) { additionalRequestHeadersToLog_ = other.additionalRequestHeadersToLog_; bitField0_ |= 0x00000002; } else { ensureAdditionalRequestHeadersToLogIsMutable(); additionalRequestHeadersToLog_.addAll(other.additionalRequestHeadersToLog_); } onChanged(); } if (!other.additionalResponseHeadersToLog_.isEmpty()) { if (additionalResponseHeadersToLog_.isEmpty()) { additionalResponseHeadersToLog_ = other.additionalResponseHeadersToLog_; bitField0_ |= 0x00000004; } else { ensureAdditionalResponseHeadersToLogIsMutable(); additionalResponseHeadersToLog_.addAll(other.additionalResponseHeadersToLog_); } onChanged(); } if (!other.additionalResponseTrailersToLog_.isEmpty()) { if (additionalResponseTrailersToLog_.isEmpty()) { additionalResponseTrailersToLog_ = other.additionalResponseTrailersToLog_; bitField0_ |= 0x00000008; } else { ensureAdditionalResponseTrailersToLogIsMutable(); additionalResponseTrailersToLog_.addAll(other.additionalResponseTrailersToLog_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getCommonConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); ensureAdditionalRequestHeadersToLogIsMutable(); additionalRequestHeadersToLog_.add(s); break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureAdditionalResponseHeadersToLogIsMutable(); additionalResponseHeadersToLog_.add(s); break; } // case 26 case 34: { java.lang.String s = input.readStringRequireUtf8(); ensureAdditionalResponseTrailersToLogIsMutable(); additionalResponseTrailersToLog_.add(s); break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig commonConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig, io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.Builder, io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfigOrBuilder> commonConfigBuilder_; /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } * @return Whether the commonConfig field is set. */ public boolean hasCommonConfig() { return ((bitField0_ & 0x00000001) != 0); } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } * @return The commonConfig. */ public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig getCommonConfig() { if (commonConfigBuilder_ == null) { return commonConfig_ == null ? io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.getDefaultInstance() : commonConfig_; } else { return commonConfigBuilder_.getMessage(); } } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ public Builder setCommonConfig(io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig value) { if (commonConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commonConfig_ = value; } else { commonConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ public Builder setCommonConfig( io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.Builder builderForValue) { if (commonConfigBuilder_ == null) { commonConfig_ = builderForValue.build(); } else { commonConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ public Builder mergeCommonConfig(io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig value) { if (commonConfigBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && commonConfig_ != null && commonConfig_ != io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.getDefaultInstance()) { getCommonConfigBuilder().mergeFrom(value); } else { commonConfig_ = value; } } else { commonConfigBuilder_.mergeFrom(value); } if (commonConfig_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ public Builder clearCommonConfig() { bitField0_ = (bitField0_ & ~0x00000001); commonConfig_ = null; if (commonConfigBuilder_ != null) { commonConfigBuilder_.dispose(); commonConfigBuilder_ = null; } onChanged(); return this; } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.Builder getCommonConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonConfigFieldBuilder().getBuilder(); } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ public io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfigOrBuilder getCommonConfigOrBuilder() { if (commonConfigBuilder_ != null) { return commonConfigBuilder_.getMessageOrBuilder(); } else { return commonConfig_ == null ? io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.getDefaultInstance() : commonConfig_; } } /** * .envoy.config.accesslog.v2.CommonGrpcAccessLogConfig common_config = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig, io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.Builder, io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfigOrBuilder> getCommonConfigFieldBuilder() { if (commonConfigBuilder_ == null) { commonConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig, io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfig.Builder, io.envoyproxy.envoy.config.accesslog.v2.CommonGrpcAccessLogConfigOrBuilder>( getCommonConfig(), getParentForChildren(), isClean()); commonConfig_ = null; } return commonConfigBuilder_; } private com.google.protobuf.LazyStringArrayList additionalRequestHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAdditionalRequestHeadersToLogIsMutable() { if (!additionalRequestHeadersToLog_.isModifiable()) { additionalRequestHeadersToLog_ = new com.google.protobuf.LazyStringArrayList(additionalRequestHeadersToLog_); } bitField0_ |= 0x00000002; } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @return A list containing the additionalRequestHeadersToLog. */ public com.google.protobuf.ProtocolStringList getAdditionalRequestHeadersToLogList() { additionalRequestHeadersToLog_.makeImmutable(); return additionalRequestHeadersToLog_; } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @return The count of additionalRequestHeadersToLog. */ public int getAdditionalRequestHeadersToLogCount() { return additionalRequestHeadersToLog_.size(); } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @param index The index of the element to return. * @return The additionalRequestHeadersToLog at the given index. */ public java.lang.String getAdditionalRequestHeadersToLog(int index) { return additionalRequestHeadersToLog_.get(index); } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @param index The index of the value to return. * @return The bytes of the additionalRequestHeadersToLog at the given index. */ public com.google.protobuf.ByteString getAdditionalRequestHeadersToLogBytes(int index) { return additionalRequestHeadersToLog_.getByteString(index); } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @param index The index to set the value at. * @param value The additionalRequestHeadersToLog to set. * @return This builder for chaining. */ public Builder setAdditionalRequestHeadersToLog( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAdditionalRequestHeadersToLogIsMutable(); additionalRequestHeadersToLog_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @param value The additionalRequestHeadersToLog to add. * @return This builder for chaining. */ public Builder addAdditionalRequestHeadersToLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAdditionalRequestHeadersToLogIsMutable(); additionalRequestHeadersToLog_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @param values The additionalRequestHeadersToLog to add. * @return This builder for chaining. */ public Builder addAllAdditionalRequestHeadersToLog( java.lang.Iterable values) { ensureAdditionalRequestHeadersToLogIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, additionalRequestHeadersToLog_); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @return This builder for chaining. */ public Builder clearAdditionalRequestHeadersToLog() { additionalRequestHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** *
     * Additional request headers to log in :ref:`HTTPRequestProperties.request_headers
     * <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`.
     * 
* * repeated string additional_request_headers_to_log = 2; * @param value The bytes of the additionalRequestHeadersToLog to add. * @return This builder for chaining. */ public Builder addAdditionalRequestHeadersToLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAdditionalRequestHeadersToLogIsMutable(); additionalRequestHeadersToLog_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList additionalResponseHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAdditionalResponseHeadersToLogIsMutable() { if (!additionalResponseHeadersToLog_.isModifiable()) { additionalResponseHeadersToLog_ = new com.google.protobuf.LazyStringArrayList(additionalResponseHeadersToLog_); } bitField0_ |= 0x00000004; } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @return A list containing the additionalResponseHeadersToLog. */ public com.google.protobuf.ProtocolStringList getAdditionalResponseHeadersToLogList() { additionalResponseHeadersToLog_.makeImmutable(); return additionalResponseHeadersToLog_; } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @return The count of additionalResponseHeadersToLog. */ public int getAdditionalResponseHeadersToLogCount() { return additionalResponseHeadersToLog_.size(); } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @param index The index of the element to return. * @return The additionalResponseHeadersToLog at the given index. */ public java.lang.String getAdditionalResponseHeadersToLog(int index) { return additionalResponseHeadersToLog_.get(index); } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @param index The index of the value to return. * @return The bytes of the additionalResponseHeadersToLog at the given index. */ public com.google.protobuf.ByteString getAdditionalResponseHeadersToLogBytes(int index) { return additionalResponseHeadersToLog_.getByteString(index); } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @param index The index to set the value at. * @param value The additionalResponseHeadersToLog to set. * @return This builder for chaining. */ public Builder setAdditionalResponseHeadersToLog( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAdditionalResponseHeadersToLogIsMutable(); additionalResponseHeadersToLog_.set(index, value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @param value The additionalResponseHeadersToLog to add. * @return This builder for chaining. */ public Builder addAdditionalResponseHeadersToLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAdditionalResponseHeadersToLogIsMutable(); additionalResponseHeadersToLog_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @param values The additionalResponseHeadersToLog to add. * @return This builder for chaining. */ public Builder addAllAdditionalResponseHeadersToLog( java.lang.Iterable values) { ensureAdditionalResponseHeadersToLogIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, additionalResponseHeadersToLog_); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @return This builder for chaining. */ public Builder clearAdditionalResponseHeadersToLog() { additionalResponseHeadersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** *
     * Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`.
     * 
* * repeated string additional_response_headers_to_log = 3; * @param value The bytes of the additionalResponseHeadersToLog to add. * @return This builder for chaining. */ public Builder addAdditionalResponseHeadersToLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAdditionalResponseHeadersToLogIsMutable(); additionalResponseHeadersToLog_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList additionalResponseTrailersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureAdditionalResponseTrailersToLogIsMutable() { if (!additionalResponseTrailersToLog_.isModifiable()) { additionalResponseTrailersToLog_ = new com.google.protobuf.LazyStringArrayList(additionalResponseTrailersToLog_); } bitField0_ |= 0x00000008; } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @return A list containing the additionalResponseTrailersToLog. */ public com.google.protobuf.ProtocolStringList getAdditionalResponseTrailersToLogList() { additionalResponseTrailersToLog_.makeImmutable(); return additionalResponseTrailersToLog_; } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @return The count of additionalResponseTrailersToLog. */ public int getAdditionalResponseTrailersToLogCount() { return additionalResponseTrailersToLog_.size(); } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @param index The index of the element to return. * @return The additionalResponseTrailersToLog at the given index. */ public java.lang.String getAdditionalResponseTrailersToLog(int index) { return additionalResponseTrailersToLog_.get(index); } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @param index The index of the value to return. * @return The bytes of the additionalResponseTrailersToLog at the given index. */ public com.google.protobuf.ByteString getAdditionalResponseTrailersToLogBytes(int index) { return additionalResponseTrailersToLog_.getByteString(index); } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @param index The index to set the value at. * @param value The additionalResponseTrailersToLog to set. * @return This builder for chaining. */ public Builder setAdditionalResponseTrailersToLog( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAdditionalResponseTrailersToLogIsMutable(); additionalResponseTrailersToLog_.set(index, value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @param value The additionalResponseTrailersToLog to add. * @return This builder for chaining. */ public Builder addAdditionalResponseTrailersToLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAdditionalResponseTrailersToLogIsMutable(); additionalResponseTrailersToLog_.add(value); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @param values The additionalResponseTrailersToLog to add. * @return This builder for chaining. */ public Builder addAllAdditionalResponseTrailersToLog( java.lang.Iterable values) { ensureAdditionalResponseTrailersToLogIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, additionalResponseTrailersToLog_); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @return This builder for chaining. */ public Builder clearAdditionalResponseTrailersToLog() { additionalResponseTrailersToLog_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** *
     * Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
     * <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`.
     * 
* * repeated string additional_response_trailers_to_log = 4; * @param value The bytes of the additionalResponseTrailersToLog to add. * @return This builder for chaining. */ public Builder addAdditionalResponseTrailersToLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAdditionalResponseTrailersToLogIsMutable(); additionalResponseTrailersToLog_.add(value); bitField0_ |= 0x00000008; 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.config.accesslog.v2.HttpGrpcAccessLogConfig) } // @@protoc_insertion_point(class_scope:envoy.config.accesslog.v2.HttpGrpcAccessLogConfig) private static final io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig(); } public static io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HttpGrpcAccessLogConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.accesslog.v2.HttpGrpcAccessLogConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy