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

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

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

        public PlanProtocol.LimitOperator 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<PlanProtocol.LimitOperator.Builder>
      • mergeFrom

        public PlanProtocol.LimitOperator.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<PlanProtocol.LimitOperator.Builder>
        Throws:
        IOException
      • setLimitVal

        public PlanProtocol.LimitOperator.Builder setLimitVal​(long value)
        uint64 limitVal = 1;
        Parameters:
        value - The limitVal to set.
        Returns:
        This builder for chaining.
      • setExactlyOne

        public PlanProtocol.LimitOperator.Builder setExactlyOne​(boolean value)
        bool exactlyOne = 2;
        Parameters:
        value - The exactlyOne to set.
        Returns:
        This builder for chaining.
      • getGrouped

        public boolean getGrouped()
        If true, this is a grouped limit as is used by correlated subqueries
         
        bool grouped = 3;
        Specified by:
        getGrouped in interface PlanProtocol.LimitOperatorOrBuilder
        Returns:
        The grouped.
      • setGrouped

        public PlanProtocol.LimitOperator.Builder setGrouped​(boolean value)
        If true, this is a grouped limit as is used by correlated subqueries
         
        bool grouped = 3;
        Parameters:
        value - The grouped to set.
        Returns:
        This builder for chaining.
      • clearGrouped

        public PlanProtocol.LimitOperator.Builder clearGrouped()
        If true, this is a grouped limit as is used by correlated subqueries
         
        bool grouped = 3;
        Returns:
        This builder for chaining.
      • getGroupingKeysList

        public com.google.protobuf.ProtocolStringList getGroupingKeysList()
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Specified by:
        getGroupingKeysList in interface PlanProtocol.LimitOperatorOrBuilder
        Returns:
        A list containing the groupingKeys.
      • getGroupingKeys

        public String getGroupingKeys​(int index)
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Specified by:
        getGroupingKeys in interface PlanProtocol.LimitOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The groupingKeys at the given index.
      • getGroupingKeysBytes

        public com.google.protobuf.ByteString getGroupingKeysBytes​(int index)
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Specified by:
        getGroupingKeysBytes in interface PlanProtocol.LimitOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the groupingKeys at the given index.
      • setGroupingKeys

        public PlanProtocol.LimitOperator.Builder setGroupingKeys​(int index,
                                                                  String value)
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Parameters:
        index - The index to set the value at.
        value - The groupingKeys to set.
        Returns:
        This builder for chaining.
      • addGroupingKeys

        public PlanProtocol.LimitOperator.Builder addGroupingKeys​(String value)
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Parameters:
        value - The groupingKeys to add.
        Returns:
        This builder for chaining.
      • addAllGroupingKeys

        public PlanProtocol.LimitOperator.Builder addAllGroupingKeys​(Iterable<String> values)
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Parameters:
        values - The groupingKeys to add.
        Returns:
        This builder for chaining.
      • clearGroupingKeys

        public PlanProtocol.LimitOperator.Builder clearGroupingKeys()
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Returns:
        This builder for chaining.
      • addGroupingKeysBytes

        public PlanProtocol.LimitOperator.Builder addGroupingKeysBytes​(com.google.protobuf.ByteString value)
        And these are the grouping keys
         
        repeated string groupingKeys = 4;
        Parameters:
        value - The bytes of the groupingKeys to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final PlanProtocol.LimitOperator.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<PlanProtocol.LimitOperator.Builder>
      • mergeUnknownFields

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