Class TcpProtocolOptions.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • clear

        public TcpProtocolOptions.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • getDefaultInstanceForType

        public TcpProtocolOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public TcpProtocolOptions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TcpProtocolOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public TcpProtocolOptions.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • setField

        public TcpProtocolOptions.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • clearField

        public TcpProtocolOptions.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • clearOneof

        public TcpProtocolOptions.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • setRepeatedField

        public TcpProtocolOptions.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • addRepeatedField

        public TcpProtocolOptions.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • mergeFrom

        public TcpProtocolOptions.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProtocolOptions.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • mergeFrom

        public TcpProtocolOptions.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProtocolOptions.Builder>
        Throws:
        IOException
      • hasIdleTimeout

        public boolean hasIdleTimeout()
         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;
        Specified by:
        hasIdleTimeout in interface TcpProtocolOptionsOrBuilder
        Returns:
        Whether the idleTimeout field is set.
      • getIdleTimeout

        public com.google.protobuf.Duration getIdleTimeout()
         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;
        Specified by:
        getIdleTimeout in interface TcpProtocolOptionsOrBuilder
        Returns:
        The idleTimeout.
      • setIdleTimeout

        public TcpProtocolOptions.Builder setIdleTimeout​(com.google.protobuf.Duration value)
         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;
      • setIdleTimeout

        public TcpProtocolOptions.Builder setIdleTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         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;
      • mergeIdleTimeout

        public TcpProtocolOptions.Builder mergeIdleTimeout​(com.google.protobuf.Duration value)
         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;
      • clearIdleTimeout

        public TcpProtocolOptions.Builder clearIdleTimeout()
         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;
      • getIdleTimeoutBuilder

        public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
         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;
      • getIdleTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
         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;
        Specified by:
        getIdleTimeoutOrBuilder in interface TcpProtocolOptionsOrBuilder
      • setUnknownFields

        public final TcpProtocolOptions.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>
      • mergeUnknownFields

        public final TcpProtocolOptions.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProtocolOptions.Builder>