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

io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions 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/cluster/v3/cluster.proto

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.config.cluster.v3;

/**
 * Protobuf type {@code envoy.config.cluster.v3.UpstreamConnectionOptions}
 */
public final class UpstreamConnectionOptions extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:envoy.config.cluster.v3.UpstreamConnectionOptions)
    UpstreamConnectionOptionsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use UpstreamConnectionOptions.newBuilder() to construct.
  private UpstreamConnectionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private UpstreamConnectionOptions() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new UpstreamConnectionOptions();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.class, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.Builder.class);
  }

  /**
   * Protobuf enum {@code envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion}
   */
  public enum FirstAddressFamilyVersion
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     * respect the native ranking of destination ip addresses returned from dns
     * resolution
     * 
* * DEFAULT = 0; */ DEFAULT(0), /** * V4 = 1; */ V4(1), /** * V6 = 2; */ V6(2), UNRECOGNIZED(-1), ; /** *
     * respect the native ranking of destination ip addresses returned from dns
     * resolution
     * 
* * DEFAULT = 0; */ public static final int DEFAULT_VALUE = 0; /** * V4 = 1; */ public static final int V4_VALUE = 1; /** * V6 = 2; */ public static final int V6_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FirstAddressFamilyVersion valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static FirstAddressFamilyVersion forNumber(int value) { switch (value) { case 0: return DEFAULT; case 1: return V4; case 2: return V6; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< FirstAddressFamilyVersion> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public FirstAddressFamilyVersion findValueByNumber(int number) { return FirstAddressFamilyVersion.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.getDescriptor().getEnumTypes().get(0); } private static final FirstAddressFamilyVersion[] VALUES = values(); public static FirstAddressFamilyVersion valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private FirstAddressFamilyVersion(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion) } public interface HappyEyeballsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Specify the IP address family to attempt connection first in happy
     * eyeballs algorithm according to RFC8305#section-4.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return The enum numeric value on the wire for firstAddressFamilyVersion. */ int getFirstAddressFamilyVersionValue(); /** *
     * Specify the IP address family to attempt connection first in happy
     * eyeballs algorithm according to RFC8305#section-4.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return The firstAddressFamilyVersion. */ io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion getFirstAddressFamilyVersion(); /** *
     * Specify the number of addresses of the first_address_family_version being
     * attempted for connection before the other address family.
     * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } * @return Whether the firstAddressFamilyCount field is set. */ boolean hasFirstAddressFamilyCount(); /** *
     * Specify the number of addresses of the first_address_family_version being
     * attempted for connection before the other address family.
     * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } * @return The firstAddressFamilyCount. */ com.google.protobuf.UInt32Value getFirstAddressFamilyCount(); /** *
     * Specify the number of addresses of the first_address_family_version being
     * attempted for connection before the other address family.
     * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ com.google.protobuf.UInt32ValueOrBuilder getFirstAddressFamilyCountOrBuilder(); } /** * Protobuf type {@code envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig} */ public static final class HappyEyeballsConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) HappyEyeballsConfigOrBuilder { private static final long serialVersionUID = 0L; // Use HappyEyeballsConfig.newBuilder() to construct. private HappyEyeballsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HappyEyeballsConfig() { firstAddressFamilyVersion_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HappyEyeballsConfig(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_HappyEyeballsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_HappyEyeballsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.class, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder.class); } private int bitField0_; public static final int FIRST_ADDRESS_FAMILY_VERSION_FIELD_NUMBER = 1; private int firstAddressFamilyVersion_ = 0; /** *
     * Specify the IP address family to attempt connection first in happy
     * eyeballs algorithm according to RFC8305#section-4.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return The enum numeric value on the wire for firstAddressFamilyVersion. */ @java.lang.Override public int getFirstAddressFamilyVersionValue() { return firstAddressFamilyVersion_; } /** *
     * Specify the IP address family to attempt connection first in happy
     * eyeballs algorithm according to RFC8305#section-4.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return The firstAddressFamilyVersion. */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion getFirstAddressFamilyVersion() { io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion result = io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion.forNumber(firstAddressFamilyVersion_); return result == null ? io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion.UNRECOGNIZED : result; } public static final int FIRST_ADDRESS_FAMILY_COUNT_FIELD_NUMBER = 2; private com.google.protobuf.UInt32Value firstAddressFamilyCount_; /** *
     * Specify the number of addresses of the first_address_family_version being
     * attempted for connection before the other address family.
     * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } * @return Whether the firstAddressFamilyCount field is set. */ @java.lang.Override public boolean hasFirstAddressFamilyCount() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Specify the number of addresses of the first_address_family_version being
     * attempted for connection before the other address family.
     * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } * @return The firstAddressFamilyCount. */ @java.lang.Override public com.google.protobuf.UInt32Value getFirstAddressFamilyCount() { return firstAddressFamilyCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : firstAddressFamilyCount_; } /** *
     * Specify the number of addresses of the first_address_family_version being
     * attempted for connection before the other address family.
     * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ @java.lang.Override public com.google.protobuf.UInt32ValueOrBuilder getFirstAddressFamilyCountOrBuilder() { return firstAddressFamilyCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : firstAddressFamilyCount_; } 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 (firstAddressFamilyVersion_ != io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion.DEFAULT.getNumber()) { output.writeEnum(1, firstAddressFamilyVersion_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getFirstAddressFamilyCount()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (firstAddressFamilyVersion_ != io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion.DEFAULT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, firstAddressFamilyVersion_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getFirstAddressFamilyCount()); } 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig other = (io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) obj; if (firstAddressFamilyVersion_ != other.firstAddressFamilyVersion_) return false; if (hasFirstAddressFamilyCount() != other.hasFirstAddressFamilyCount()) return false; if (hasFirstAddressFamilyCount()) { if (!getFirstAddressFamilyCount() .equals(other.getFirstAddressFamilyCount())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FIRST_ADDRESS_FAMILY_VERSION_FIELD_NUMBER; hash = (53 * hash) + firstAddressFamilyVersion_; if (hasFirstAddressFamilyCount()) { hash = (37 * hash) + FIRST_ADDRESS_FAMILY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getFirstAddressFamilyCount().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig 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; } /** * Protobuf type {@code envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_HappyEyeballsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_HappyEyeballsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.class, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFirstAddressFamilyCountFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; firstAddressFamilyVersion_ = 0; firstAddressFamilyCount_ = null; if (firstAddressFamilyCountBuilder_ != null) { firstAddressFamilyCountBuilder_.dispose(); firstAddressFamilyCountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_HappyEyeballsConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig build() { io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig buildPartial() { io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig result = new io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.firstAddressFamilyVersion_ = firstAddressFamilyVersion_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.firstAddressFamilyCount_ = firstAddressFamilyCountBuilder_ == null ? firstAddressFamilyCount_ : firstAddressFamilyCountBuilder_.build(); to_bitField0_ |= 0x00000001; } 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) { return mergeFrom((io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig other) { if (other == io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance()) return this; if (other.firstAddressFamilyVersion_ != 0) { setFirstAddressFamilyVersionValue(other.getFirstAddressFamilyVersionValue()); } if (other.hasFirstAddressFamilyCount()) { mergeFirstAddressFamilyCount(other.getFirstAddressFamilyCount()); } 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 8: { firstAddressFamilyVersion_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { input.readMessage( getFirstAddressFamilyCountFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int firstAddressFamilyVersion_ = 0; /** *
       * Specify the IP address family to attempt connection first in happy
       * eyeballs algorithm according to RFC8305#section-4.
       * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return The enum numeric value on the wire for firstAddressFamilyVersion. */ @java.lang.Override public int getFirstAddressFamilyVersionValue() { return firstAddressFamilyVersion_; } /** *
       * Specify the IP address family to attempt connection first in happy
       * eyeballs algorithm according to RFC8305#section-4.
       * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @param value The enum numeric value on the wire for firstAddressFamilyVersion to set. * @return This builder for chaining. */ public Builder setFirstAddressFamilyVersionValue(int value) { firstAddressFamilyVersion_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Specify the IP address family to attempt connection first in happy
       * eyeballs algorithm according to RFC8305#section-4.
       * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return The firstAddressFamilyVersion. */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion getFirstAddressFamilyVersion() { io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion result = io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion.forNumber(firstAddressFamilyVersion_); return result == null ? io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion.UNRECOGNIZED : result; } /** *
       * Specify the IP address family to attempt connection first in happy
       * eyeballs algorithm according to RFC8305#section-4.
       * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @param value The firstAddressFamilyVersion to set. * @return This builder for chaining. */ public Builder setFirstAddressFamilyVersion(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; firstAddressFamilyVersion_ = value.getNumber(); onChanged(); return this; } /** *
       * Specify the IP address family to attempt connection first in happy
       * eyeballs algorithm according to RFC8305#section-4.
       * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.FirstAddressFamilyVersion first_address_family_version = 1; * @return This builder for chaining. */ public Builder clearFirstAddressFamilyVersion() { bitField0_ = (bitField0_ & ~0x00000001); firstAddressFamilyVersion_ = 0; onChanged(); return this; } private com.google.protobuf.UInt32Value firstAddressFamilyCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> firstAddressFamilyCountBuilder_; /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } * @return Whether the firstAddressFamilyCount field is set. */ public boolean hasFirstAddressFamilyCount() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } * @return The firstAddressFamilyCount. */ public com.google.protobuf.UInt32Value getFirstAddressFamilyCount() { if (firstAddressFamilyCountBuilder_ == null) { return firstAddressFamilyCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : firstAddressFamilyCount_; } else { return firstAddressFamilyCountBuilder_.getMessage(); } } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ public Builder setFirstAddressFamilyCount(com.google.protobuf.UInt32Value value) { if (firstAddressFamilyCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } firstAddressFamilyCount_ = value; } else { firstAddressFamilyCountBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ public Builder setFirstAddressFamilyCount( com.google.protobuf.UInt32Value.Builder builderForValue) { if (firstAddressFamilyCountBuilder_ == null) { firstAddressFamilyCount_ = builderForValue.build(); } else { firstAddressFamilyCountBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ public Builder mergeFirstAddressFamilyCount(com.google.protobuf.UInt32Value value) { if (firstAddressFamilyCountBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && firstAddressFamilyCount_ != null && firstAddressFamilyCount_ != com.google.protobuf.UInt32Value.getDefaultInstance()) { getFirstAddressFamilyCountBuilder().mergeFrom(value); } else { firstAddressFamilyCount_ = value; } } else { firstAddressFamilyCountBuilder_.mergeFrom(value); } if (firstAddressFamilyCount_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ public Builder clearFirstAddressFamilyCount() { bitField0_ = (bitField0_ & ~0x00000002); firstAddressFamilyCount_ = null; if (firstAddressFamilyCountBuilder_ != null) { firstAddressFamilyCountBuilder_.dispose(); firstAddressFamilyCountBuilder_ = null; } onChanged(); return this; } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ public com.google.protobuf.UInt32Value.Builder getFirstAddressFamilyCountBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFirstAddressFamilyCountFieldBuilder().getBuilder(); } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ public com.google.protobuf.UInt32ValueOrBuilder getFirstAddressFamilyCountOrBuilder() { if (firstAddressFamilyCountBuilder_ != null) { return firstAddressFamilyCountBuilder_.getMessageOrBuilder(); } else { return firstAddressFamilyCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : firstAddressFamilyCount_; } } /** *
       * Specify the number of addresses of the first_address_family_version being
       * attempted for connection before the other address family.
       * 
* * .google.protobuf.UInt32Value first_address_family_count = 2 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> getFirstAddressFamilyCountFieldBuilder() { if (firstAddressFamilyCountBuilder_ == null) { firstAddressFamilyCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>( getFirstAddressFamilyCount(), getParentForChildren(), isClean()); firstAddressFamilyCount_ = null; } return firstAddressFamilyCountBuilder_; } @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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) } // @@protoc_insertion_point(class_scope:envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig) private static final io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig(); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HappyEyeballsConfig 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.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int TCP_KEEPALIVE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.TcpKeepalive tcpKeepalive_; /** *
   * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
   * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; * @return Whether the tcpKeepalive field is set. */ @java.lang.Override public boolean hasTcpKeepalive() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
   * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; * @return The tcpKeepalive. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TcpKeepalive getTcpKeepalive() { return tcpKeepalive_ == null ? io.envoyproxy.envoy.config.core.v3.TcpKeepalive.getDefaultInstance() : tcpKeepalive_; } /** *
   * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
   * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TcpKeepaliveOrBuilder getTcpKeepaliveOrBuilder() { return tcpKeepalive_ == null ? io.envoyproxy.envoy.config.core.v3.TcpKeepalive.getDefaultInstance() : tcpKeepalive_; } public static final int SET_LOCAL_INTERFACE_NAME_ON_UPSTREAM_CONNECTIONS_FIELD_NUMBER = 2; private boolean setLocalInterfaceNameOnUpstreamConnections_ = false; /** *
   * If enabled, associates the interface name of the local address with the upstream connection.
   * This can be used by extensions during processing of requests. The association mechanism is
   * implementation specific. Defaults to false due to performance concerns.
   * 
* * bool set_local_interface_name_on_upstream_connections = 2; * @return The setLocalInterfaceNameOnUpstreamConnections. */ @java.lang.Override public boolean getSetLocalInterfaceNameOnUpstreamConnections() { return setLocalInterfaceNameOnUpstreamConnections_; } public static final int HAPPY_EYEBALLS_CONFIG_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happyEyeballsConfig_; /** *
   * Configurations for happy eyeballs algorithm.
   * Add configs for first_address_family_version and first_address_family_count
   * when sorting destination ip addresses.
   * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; * @return Whether the happyEyeballsConfig field is set. */ @java.lang.Override public boolean hasHappyEyeballsConfig() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Configurations for happy eyeballs algorithm.
   * Add configs for first_address_family_version and first_address_family_count
   * when sorting destination ip addresses.
   * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; * @return The happyEyeballsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig getHappyEyeballsConfig() { return happyEyeballsConfig_ == null ? io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance() : happyEyeballsConfig_; } /** *
   * Configurations for happy eyeballs algorithm.
   * Add configs for first_address_family_version and first_address_family_count
   * when sorting destination ip addresses.
   * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder getHappyEyeballsConfigOrBuilder() { return happyEyeballsConfig_ == null ? io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance() : happyEyeballsConfig_; } 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, getTcpKeepalive()); } if (setLocalInterfaceNameOnUpstreamConnections_ != false) { output.writeBool(2, setLocalInterfaceNameOnUpstreamConnections_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getHappyEyeballsConfig()); } 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, getTcpKeepalive()); } if (setLocalInterfaceNameOnUpstreamConnections_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, setLocalInterfaceNameOnUpstreamConnections_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getHappyEyeballsConfig()); } 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.cluster.v3.UpstreamConnectionOptions)) { return super.equals(obj); } io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions other = (io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions) obj; if (hasTcpKeepalive() != other.hasTcpKeepalive()) return false; if (hasTcpKeepalive()) { if (!getTcpKeepalive() .equals(other.getTcpKeepalive())) return false; } if (getSetLocalInterfaceNameOnUpstreamConnections() != other.getSetLocalInterfaceNameOnUpstreamConnections()) return false; if (hasHappyEyeballsConfig() != other.hasHappyEyeballsConfig()) return false; if (hasHappyEyeballsConfig()) { if (!getHappyEyeballsConfig() .equals(other.getHappyEyeballsConfig())) 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 (hasTcpKeepalive()) { hash = (37 * hash) + TCP_KEEPALIVE_FIELD_NUMBER; hash = (53 * hash) + getTcpKeepalive().hashCode(); } hash = (37 * hash) + SET_LOCAL_INTERFACE_NAME_ON_UPSTREAM_CONNECTIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSetLocalInterfaceNameOnUpstreamConnections()); if (hasHappyEyeballsConfig()) { hash = (37 * hash) + HAPPY_EYEBALLS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getHappyEyeballsConfig().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions 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.cluster.v3.UpstreamConnectionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions 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.cluster.v3.UpstreamConnectionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions 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.cluster.v3.UpstreamConnectionOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions 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.cluster.v3.UpstreamConnectionOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions 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.cluster.v3.UpstreamConnectionOptions 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; } /** * Protobuf type {@code envoy.config.cluster.v3.UpstreamConnectionOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.cluster.v3.UpstreamConnectionOptions) io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.class, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.Builder.class); } // Construct using io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTcpKeepaliveFieldBuilder(); getHappyEyeballsConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tcpKeepalive_ = null; if (tcpKeepaliveBuilder_ != null) { tcpKeepaliveBuilder_.dispose(); tcpKeepaliveBuilder_ = null; } setLocalInterfaceNameOnUpstreamConnections_ = false; happyEyeballsConfig_ = null; if (happyEyeballsConfigBuilder_ != null) { happyEyeballsConfigBuilder_.dispose(); happyEyeballsConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.cluster.v3.ClusterProto.internal_static_envoy_config_cluster_v3_UpstreamConnectionOptions_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions getDefaultInstanceForType() { return io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions build() { io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions buildPartial() { io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions result = new io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.tcpKeepalive_ = tcpKeepaliveBuilder_ == null ? tcpKeepalive_ : tcpKeepaliveBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.setLocalInterfaceNameOnUpstreamConnections_ = setLocalInterfaceNameOnUpstreamConnections_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.happyEyeballsConfig_ = happyEyeballsConfigBuilder_ == null ? happyEyeballsConfig_ : happyEyeballsConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } 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.cluster.v3.UpstreamConnectionOptions) { return mergeFrom((io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions other) { if (other == io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.getDefaultInstance()) return this; if (other.hasTcpKeepalive()) { mergeTcpKeepalive(other.getTcpKeepalive()); } if (other.getSetLocalInterfaceNameOnUpstreamConnections() != false) { setSetLocalInterfaceNameOnUpstreamConnections(other.getSetLocalInterfaceNameOnUpstreamConnections()); } if (other.hasHappyEyeballsConfig()) { mergeHappyEyeballsConfig(other.getHappyEyeballsConfig()); } 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( getTcpKeepaliveFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { setLocalInterfaceNameOnUpstreamConnections_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getHappyEyeballsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 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.core.v3.TcpKeepalive tcpKeepalive_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TcpKeepalive, io.envoyproxy.envoy.config.core.v3.TcpKeepalive.Builder, io.envoyproxy.envoy.config.core.v3.TcpKeepaliveOrBuilder> tcpKeepaliveBuilder_; /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; * @return Whether the tcpKeepalive field is set. */ public boolean hasTcpKeepalive() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; * @return The tcpKeepalive. */ public io.envoyproxy.envoy.config.core.v3.TcpKeepalive getTcpKeepalive() { if (tcpKeepaliveBuilder_ == null) { return tcpKeepalive_ == null ? io.envoyproxy.envoy.config.core.v3.TcpKeepalive.getDefaultInstance() : tcpKeepalive_; } else { return tcpKeepaliveBuilder_.getMessage(); } } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ public Builder setTcpKeepalive(io.envoyproxy.envoy.config.core.v3.TcpKeepalive value) { if (tcpKeepaliveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tcpKeepalive_ = value; } else { tcpKeepaliveBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ public Builder setTcpKeepalive( io.envoyproxy.envoy.config.core.v3.TcpKeepalive.Builder builderForValue) { if (tcpKeepaliveBuilder_ == null) { tcpKeepalive_ = builderForValue.build(); } else { tcpKeepaliveBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ public Builder mergeTcpKeepalive(io.envoyproxy.envoy.config.core.v3.TcpKeepalive value) { if (tcpKeepaliveBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && tcpKeepalive_ != null && tcpKeepalive_ != io.envoyproxy.envoy.config.core.v3.TcpKeepalive.getDefaultInstance()) { getTcpKeepaliveBuilder().mergeFrom(value); } else { tcpKeepalive_ = value; } } else { tcpKeepaliveBuilder_.mergeFrom(value); } if (tcpKeepalive_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ public Builder clearTcpKeepalive() { bitField0_ = (bitField0_ & ~0x00000001); tcpKeepalive_ = null; if (tcpKeepaliveBuilder_ != null) { tcpKeepaliveBuilder_.dispose(); tcpKeepaliveBuilder_ = null; } onChanged(); return this; } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ public io.envoyproxy.envoy.config.core.v3.TcpKeepalive.Builder getTcpKeepaliveBuilder() { bitField0_ |= 0x00000001; onChanged(); return getTcpKeepaliveFieldBuilder().getBuilder(); } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ public io.envoyproxy.envoy.config.core.v3.TcpKeepaliveOrBuilder getTcpKeepaliveOrBuilder() { if (tcpKeepaliveBuilder_ != null) { return tcpKeepaliveBuilder_.getMessageOrBuilder(); } else { return tcpKeepalive_ == null ? io.envoyproxy.envoy.config.core.v3.TcpKeepalive.getDefaultInstance() : tcpKeepalive_; } } /** *
     * If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
     * 
* * .envoy.config.core.v3.TcpKeepalive tcp_keepalive = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TcpKeepalive, io.envoyproxy.envoy.config.core.v3.TcpKeepalive.Builder, io.envoyproxy.envoy.config.core.v3.TcpKeepaliveOrBuilder> getTcpKeepaliveFieldBuilder() { if (tcpKeepaliveBuilder_ == null) { tcpKeepaliveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TcpKeepalive, io.envoyproxy.envoy.config.core.v3.TcpKeepalive.Builder, io.envoyproxy.envoy.config.core.v3.TcpKeepaliveOrBuilder>( getTcpKeepalive(), getParentForChildren(), isClean()); tcpKeepalive_ = null; } return tcpKeepaliveBuilder_; } private boolean setLocalInterfaceNameOnUpstreamConnections_ ; /** *
     * If enabled, associates the interface name of the local address with the upstream connection.
     * This can be used by extensions during processing of requests. The association mechanism is
     * implementation specific. Defaults to false due to performance concerns.
     * 
* * bool set_local_interface_name_on_upstream_connections = 2; * @return The setLocalInterfaceNameOnUpstreamConnections. */ @java.lang.Override public boolean getSetLocalInterfaceNameOnUpstreamConnections() { return setLocalInterfaceNameOnUpstreamConnections_; } /** *
     * If enabled, associates the interface name of the local address with the upstream connection.
     * This can be used by extensions during processing of requests. The association mechanism is
     * implementation specific. Defaults to false due to performance concerns.
     * 
* * bool set_local_interface_name_on_upstream_connections = 2; * @param value The setLocalInterfaceNameOnUpstreamConnections to set. * @return This builder for chaining. */ public Builder setSetLocalInterfaceNameOnUpstreamConnections(boolean value) { setLocalInterfaceNameOnUpstreamConnections_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * If enabled, associates the interface name of the local address with the upstream connection.
     * This can be used by extensions during processing of requests. The association mechanism is
     * implementation specific. Defaults to false due to performance concerns.
     * 
* * bool set_local_interface_name_on_upstream_connections = 2; * @return This builder for chaining. */ public Builder clearSetLocalInterfaceNameOnUpstreamConnections() { bitField0_ = (bitField0_ & ~0x00000002); setLocalInterfaceNameOnUpstreamConnections_ = false; onChanged(); return this; } private io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happyEyeballsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder> happyEyeballsConfigBuilder_; /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; * @return Whether the happyEyeballsConfig field is set. */ public boolean hasHappyEyeballsConfig() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; * @return The happyEyeballsConfig. */ public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig getHappyEyeballsConfig() { if (happyEyeballsConfigBuilder_ == null) { return happyEyeballsConfig_ == null ? io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance() : happyEyeballsConfig_; } else { return happyEyeballsConfigBuilder_.getMessage(); } } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ public Builder setHappyEyeballsConfig(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig value) { if (happyEyeballsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } happyEyeballsConfig_ = value; } else { happyEyeballsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ public Builder setHappyEyeballsConfig( io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder builderForValue) { if (happyEyeballsConfigBuilder_ == null) { happyEyeballsConfig_ = builderForValue.build(); } else { happyEyeballsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ public Builder mergeHappyEyeballsConfig(io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig value) { if (happyEyeballsConfigBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && happyEyeballsConfig_ != null && happyEyeballsConfig_ != io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance()) { getHappyEyeballsConfigBuilder().mergeFrom(value); } else { happyEyeballsConfig_ = value; } } else { happyEyeballsConfigBuilder_.mergeFrom(value); } if (happyEyeballsConfig_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ public Builder clearHappyEyeballsConfig() { bitField0_ = (bitField0_ & ~0x00000004); happyEyeballsConfig_ = null; if (happyEyeballsConfigBuilder_ != null) { happyEyeballsConfigBuilder_.dispose(); happyEyeballsConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder getHappyEyeballsConfigBuilder() { bitField0_ |= 0x00000004; onChanged(); return getHappyEyeballsConfigFieldBuilder().getBuilder(); } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ public io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder getHappyEyeballsConfigOrBuilder() { if (happyEyeballsConfigBuilder_ != null) { return happyEyeballsConfigBuilder_.getMessageOrBuilder(); } else { return happyEyeballsConfig_ == null ? io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.getDefaultInstance() : happyEyeballsConfig_; } } /** *
     * Configurations for happy eyeballs algorithm.
     * Add configs for first_address_family_version and first_address_family_count
     * when sorting destination ip addresses.
     * 
* * .envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig happy_eyeballs_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder> getHappyEyeballsConfigFieldBuilder() { if (happyEyeballsConfigBuilder_ == null) { happyEyeballsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfig.Builder, io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions.HappyEyeballsConfigOrBuilder>( getHappyEyeballsConfig(), getParentForChildren(), isClean()); happyEyeballsConfig_ = null; } return happyEyeballsConfigBuilder_; } @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.cluster.v3.UpstreamConnectionOptions) } // @@protoc_insertion_point(class_scope:envoy.config.cluster.v3.UpstreamConnectionOptions) private static final io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions(); } public static io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpstreamConnectionOptions 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.cluster.v3.UpstreamConnectionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy