Class ClusterStats.DroppedRequests.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • category_

        private java.lang.Object category_
      • droppedCount_

        private long droppedCount_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ClusterStats.DroppedRequests.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.GeneratedMessage.Builder<ClusterStats.DroppedRequests.Builder>
      • getDefaultInstanceForType

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

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

        public ClusterStats.DroppedRequests 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.GeneratedMessage.Builder<ClusterStats.DroppedRequests.Builder>
      • mergeFrom

        public ClusterStats.DroppedRequests.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<ClusterStats.DroppedRequests.Builder>
        Throws:
        java.io.IOException
      • getCategory

        public java.lang.String getCategory()
         Identifier for the policy specifying the drop.
         
        string category = 1 [(.validate.rules) = { ... }
        Specified by:
        getCategory in interface ClusterStats.DroppedRequestsOrBuilder
        Returns:
        The category.
      • getCategoryBytes

        public com.google.protobuf.ByteString getCategoryBytes()
         Identifier for the policy specifying the drop.
         
        string category = 1 [(.validate.rules) = { ... }
        Specified by:
        getCategoryBytes in interface ClusterStats.DroppedRequestsOrBuilder
        Returns:
        The bytes for category.
      • setCategory

        public ClusterStats.DroppedRequests.Builder setCategory​(java.lang.String value)
         Identifier for the policy specifying the drop.
         
        string category = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The category to set.
        Returns:
        This builder for chaining.
      • clearCategory

        public ClusterStats.DroppedRequests.Builder clearCategory()
         Identifier for the policy specifying the drop.
         
        string category = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setCategoryBytes

        public ClusterStats.DroppedRequests.Builder setCategoryBytes​(com.google.protobuf.ByteString value)
         Identifier for the policy specifying the drop.
         
        string category = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for category to set.
        Returns:
        This builder for chaining.
      • setDroppedCount

        public ClusterStats.DroppedRequests.Builder setDroppedCount​(long value)
         Total number of deliberately dropped requests for the category.
         
        uint64 dropped_count = 2;
        Parameters:
        value - The droppedCount to set.
        Returns:
        This builder for chaining.
      • clearDroppedCount

        public ClusterStats.DroppedRequests.Builder clearDroppedCount()
         Total number of deliberately dropped requests for the category.
         
        uint64 dropped_count = 2;
        Returns:
        This builder for chaining.