Class DownstreamConnectionsConfig.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<DownstreamConnectionsConfig.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<DownstreamConnectionsConfig.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public DownstreamConnectionsConfig.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<DownstreamConnectionsConfig.Builder>
        Throws:
        IOException
      • getMaxActiveDownstreamConnections

        public long getMaxActiveDownstreamConnections()
         Maximum threshold for global open downstream connections, defaults to 0.
         If monitor is enabled in Overload manager api, this field should be explicitly configured with value greater than 0.
         
        int64 max_active_downstream_connections = 1 [(.validate.rules) = { ... }
        Specified by:
        getMaxActiveDownstreamConnections in interface DownstreamConnectionsConfigOrBuilder
        Returns:
        The maxActiveDownstreamConnections.
      • setMaxActiveDownstreamConnections

        public DownstreamConnectionsConfig.Builder setMaxActiveDownstreamConnections​(long value)
         Maximum threshold for global open downstream connections, defaults to 0.
         If monitor is enabled in Overload manager api, this field should be explicitly configured with value greater than 0.
         
        int64 max_active_downstream_connections = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The maxActiveDownstreamConnections to set.
        Returns:
        This builder for chaining.
      • clearMaxActiveDownstreamConnections

        public DownstreamConnectionsConfig.Builder clearMaxActiveDownstreamConnections()
         Maximum threshold for global open downstream connections, defaults to 0.
         If monitor is enabled in Overload manager api, this field should be explicitly configured with value greater than 0.
         
        int64 max_active_downstream_connections = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final DownstreamConnectionsConfig.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<DownstreamConnectionsConfig.Builder>