Class Signals.Limits.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Signals.LimitsOrBuilder, java.lang.Cloneable
    Enclosing class:
    Signals.Limits

    public static final class Signals.Limits.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Signals.Limits.Builder>
    implements Signals.LimitsOrBuilder
    Protobuf type mux.spaces.api.Limits
    • 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<Signals.Limits.Builder>
      • clear

        public Signals.Limits.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<Signals.Limits.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<Signals.Limits.Builder>
      • getDefaultInstanceForType

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

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

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

        public Signals.Limits.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<Signals.Limits.Builder>
      • setField

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

        public Signals.Limits.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<Signals.Limits.Builder>
      • clearOneof

        public Signals.Limits.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<Signals.Limits.Builder>
      • setRepeatedField

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

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

        public Signals.Limits.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<Signals.Limits.Builder>
      • isInitialized

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

        public Signals.Limits.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws java.io.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<Signals.Limits.Builder>
        Throws:
        java.io.IOException
      • getDefaultTrackLimit

        public int getDefaultTrackLimit()
         this can/probably will expand into having
         overrides per source-type here as well but
         holding off on that for now until we get
         some enums up in here
         
        uint32 default_track_limit = 1;
        Specified by:
        getDefaultTrackLimit in interface Signals.LimitsOrBuilder
        Returns:
        The defaultTrackLimit.
      • setDefaultTrackLimit

        public Signals.Limits.Builder setDefaultTrackLimit​(int value)
         this can/probably will expand into having
         overrides per source-type here as well but
         holding off on that for now until we get
         some enums up in here
         
        uint32 default_track_limit = 1;
        Parameters:
        value - The defaultTrackLimit to set.
        Returns:
        This builder for chaining.
      • clearDefaultTrackLimit

        public Signals.Limits.Builder clearDefaultTrackLimit()
         this can/probably will expand into having
         overrides per source-type here as well but
         holding off on that for now until we get
         some enums up in here
         
        uint32 default_track_limit = 1;
        Returns:
        This builder for chaining.
      • setCustomEventsPerSecond

        public Signals.Limits.Builder setCustomEventsPerSecond​(int value)
        uint32 custom_events_per_second = 2;
        Parameters:
        value - The customEventsPerSecond to set.
        Returns:
        This builder for chaining.
      • clearCustomEventsPerSecond

        public Signals.Limits.Builder clearCustomEventsPerSecond()
        uint32 custom_events_per_second = 2;
        Returns:
        This builder for chaining.
      • getSecondsPerSetDisplayName

        public int getSecondsPerSetDisplayName()
         per-connection rate limit. This is upside down because our RPS < 1.
         
        uint32 seconds_per_set_display_name = 3;
        Specified by:
        getSecondsPerSetDisplayName in interface Signals.LimitsOrBuilder
        Returns:
        The secondsPerSetDisplayName.
      • setSecondsPerSetDisplayName

        public Signals.Limits.Builder setSecondsPerSetDisplayName​(int value)
         per-connection rate limit. This is upside down because our RPS < 1.
         
        uint32 seconds_per_set_display_name = 3;
        Parameters:
        value - The secondsPerSetDisplayName to set.
        Returns:
        This builder for chaining.
      • clearSecondsPerSetDisplayName

        public Signals.Limits.Builder clearSecondsPerSetDisplayName()
         per-connection rate limit. This is upside down because our RPS < 1.
         
        uint32 seconds_per_set_display_name = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Signals.Limits.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<Signals.Limits.Builder>
      • mergeUnknownFields

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