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

io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/extensions/upstreams/tcp/v3/tcp_protocol_options.proto

package io.envoyproxy.envoy.extensions.upstreams.tcp.v3;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private TcpProtocolOptions(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.Duration.Builder subBuilder = null;
            if (idleTimeout_ != null) {
              subBuilder = idleTimeout_.toBuilder();
            }
            idleTimeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(idleTimeout_);
              idleTimeout_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (com.google.protobuf.UninitializedMessageException e) {
      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsProto.internal_static_envoy_extensions_upstreams_tcp_v3_TcpProtocolOptions_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsProto.internal_static_envoy_extensions_upstreams_tcp_v3_TcpProtocolOptions_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.class, io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.Builder.class);
  }

  public static final int IDLE_TIMEOUT_FIELD_NUMBER = 1;
  private com.google.protobuf.Duration idleTimeout_;
  /**
   * 
   * The idle timeout for the connection. The idle timeout is defined as the period in which
   * the connection is not associated with a downstream connection. When the idle timeout is
   * reached, the connection will be closed.
   * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
   * .. warning::
   *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
   *   FIN packets, etc.
   * 
* * .google.protobuf.Duration idle_timeout = 1; * @return Whether the idleTimeout field is set. */ @java.lang.Override public boolean hasIdleTimeout() { return idleTimeout_ != null; } /** *
   * The idle timeout for the connection. The idle timeout is defined as the period in which
   * the connection is not associated with a downstream connection. When the idle timeout is
   * reached, the connection will be closed.
   * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
   * .. warning::
   *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
   *   FIN packets, etc.
   * 
* * .google.protobuf.Duration idle_timeout = 1; * @return The idleTimeout. */ @java.lang.Override public com.google.protobuf.Duration getIdleTimeout() { return idleTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleTimeout_; } /** *
   * The idle timeout for the connection. The idle timeout is defined as the period in which
   * the connection is not associated with a downstream connection. When the idle timeout is
   * reached, the connection will be closed.
   * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
   * .. warning::
   *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
   *   FIN packets, etc.
   * 
* * .google.protobuf.Duration idle_timeout = 1; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder() { return getIdleTimeout(); } 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 (idleTimeout_ != null) { output.writeMessage(1, getIdleTimeout()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (idleTimeout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdleTimeout()); } size += unknownFields.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.extensions.upstreams.tcp.v3.TcpProtocolOptions)) { return super.equals(obj); } io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions other = (io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions) obj; if (hasIdleTimeout() != other.hasIdleTimeout()) return false; if (hasIdleTimeout()) { if (!getIdleTimeout() .equals(other.getIdleTimeout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdleTimeout()) { hash = (37 * hash) + IDLE_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getIdleTimeout().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions 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.extensions.upstreams.tcp.v3.TcpProtocolOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions 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.extensions.upstreams.tcp.v3.TcpProtocolOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions 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.extensions.upstreams.tcp.v3.TcpProtocolOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions 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.extensions.upstreams.tcp.v3.TcpProtocolOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions 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.extensions.upstreams.tcp.v3.TcpProtocolOptions 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.extensions.upstreams.tcp.v3.TcpProtocolOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions) io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsProto.internal_static_envoy_extensions_upstreams_tcp_v3_TcpProtocolOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsProto.internal_static_envoy_extensions_upstreams_tcp_v3_TcpProtocolOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.class, io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.Builder.class); } // Construct using io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (idleTimeoutBuilder_ == null) { idleTimeout_ = null; } else { idleTimeout_ = null; idleTimeoutBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptionsProto.internal_static_envoy_extensions_upstreams_tcp_v3_TcpProtocolOptions_descriptor; } @java.lang.Override public io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions getDefaultInstanceForType() { return io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions build() { io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions buildPartial() { io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions result = new io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions(this); if (idleTimeoutBuilder_ == null) { result.idleTimeout_ = idleTimeout_; } else { result.idleTimeout_ = idleTimeoutBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions) { return mergeFrom((io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions other) { if (other == io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions.getDefaultInstance()) return this; if (other.hasIdleTimeout()) { mergeIdleTimeout(other.getIdleTimeout()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Duration idleTimeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> idleTimeoutBuilder_; /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; * @return Whether the idleTimeout field is set. */ public boolean hasIdleTimeout() { return idleTimeoutBuilder_ != null || idleTimeout_ != null; } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; * @return The idleTimeout. */ public com.google.protobuf.Duration getIdleTimeout() { if (idleTimeoutBuilder_ == null) { return idleTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleTimeout_; } else { return idleTimeoutBuilder_.getMessage(); } } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ public Builder setIdleTimeout(com.google.protobuf.Duration value) { if (idleTimeoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } idleTimeout_ = value; onChanged(); } else { idleTimeoutBuilder_.setMessage(value); } return this; } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ public Builder setIdleTimeout( com.google.protobuf.Duration.Builder builderForValue) { if (idleTimeoutBuilder_ == null) { idleTimeout_ = builderForValue.build(); onChanged(); } else { idleTimeoutBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ public Builder mergeIdleTimeout(com.google.protobuf.Duration value) { if (idleTimeoutBuilder_ == null) { if (idleTimeout_ != null) { idleTimeout_ = com.google.protobuf.Duration.newBuilder(idleTimeout_).mergeFrom(value).buildPartial(); } else { idleTimeout_ = value; } onChanged(); } else { idleTimeoutBuilder_.mergeFrom(value); } return this; } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ public Builder clearIdleTimeout() { if (idleTimeoutBuilder_ == null) { idleTimeout_ = null; onChanged(); } else { idleTimeout_ = null; idleTimeoutBuilder_ = null; } return this; } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder() { onChanged(); return getIdleTimeoutFieldBuilder().getBuilder(); } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder() { if (idleTimeoutBuilder_ != null) { return idleTimeoutBuilder_.getMessageOrBuilder(); } else { return idleTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleTimeout_; } } /** *
     * The idle timeout for the connection. The idle timeout is defined as the period in which
     * the connection is not associated with a downstream connection. When the idle timeout is
     * reached, the connection will be closed.
     * If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
     * .. warning::
     *   Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
     *   FIN packets, etc.
     * 
* * .google.protobuf.Duration idle_timeout = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getIdleTimeoutFieldBuilder() { if (idleTimeoutBuilder_ == null) { idleTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getIdleTimeout(), getParentForChildren(), isClean()); idleTimeout_ = null; } return idleTimeoutBuilder_; } @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.extensions.upstreams.tcp.v3.TcpProtocolOptions) } // @@protoc_insertion_point(class_scope:envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions) private static final io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions(); } public static io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TcpProtocolOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TcpProtocolOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy