Class PlanProtocol.TestColumn.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.TestColumn.Builder>
      • clear

        public PlanProtocol.TestColumn.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<PlanProtocol.TestColumn.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.TestColumn.Builder>
      • getDefaultInstanceForType

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

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

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

        public PlanProtocol.TestColumn.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<PlanProtocol.TestColumn.Builder>
      • clearField

        public PlanProtocol.TestColumn.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<PlanProtocol.TestColumn.Builder>
      • clearOneof

        public PlanProtocol.TestColumn.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<PlanProtocol.TestColumn.Builder>
      • setRepeatedField

        public PlanProtocol.TestColumn.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<PlanProtocol.TestColumn.Builder>
      • addRepeatedField

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

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

        public int getColTypeValue()
        the type of the column, can't be an interval, matrix, or invalid for use in the column emitter operator
         
        .xg.db.sqlPlans.SqlColType colType = 1;
        Specified by:
        getColTypeValue in interface PlanProtocol.TestColumnOrBuilder
        Returns:
        The enum numeric value on the wire for colType.
      • setColTypeValue

        public PlanProtocol.TestColumn.Builder setColTypeValue​(int value)
        the type of the column, can't be an interval, matrix, or invalid for use in the column emitter operator
         
        .xg.db.sqlPlans.SqlColType colType = 1;
        Parameters:
        value - The enum numeric value on the wire for colType to set.
        Returns:
        This builder for chaining.
      • setColType

        public PlanProtocol.TestColumn.Builder setColType​(PlanProtocol.SqlColType value)
        the type of the column, can't be an interval, matrix, or invalid for use in the column emitter operator
         
        .xg.db.sqlPlans.SqlColType colType = 1;
        Parameters:
        value - The colType to set.
        Returns:
        This builder for chaining.
      • clearColType

        public PlanProtocol.TestColumn.Builder clearColType()
        the type of the column, can't be an interval, matrix, or invalid for use in the column emitter operator
         
        .xg.db.sqlPlans.SqlColType colType = 1;
        Returns:
        This builder for chaining.
      • getCycleLen

        public long getCycleLen()
        the length of the cycle for this column, this is the number of times the same value should be emitted before incrementing
         
        uint64 cycleLen = 2;
        Specified by:
        getCycleLen in interface PlanProtocol.TestColumnOrBuilder
        Returns:
        The cycleLen.
      • setCycleLen

        public PlanProtocol.TestColumn.Builder setCycleLen​(long value)
        the length of the cycle for this column, this is the number of times the same value should be emitted before incrementing
         
        uint64 cycleLen = 2;
        Parameters:
        value - The cycleLen to set.
        Returns:
        This builder for chaining.
      • clearCycleLen

        public PlanProtocol.TestColumn.Builder clearCycleLen()
        the length of the cycle for this column, this is the number of times the same value should be emitted before incrementing
         
        uint64 cycleLen = 2;
        Returns:
        This builder for chaining.
      • getByteStart

        public int getByteStart()
        note that this will be cast to an int8_t but protobuf doesnt have an int8 type
         
        int32 byte_start = 3;
        Specified by:
        getByteStart in interface PlanProtocol.TestColumnOrBuilder
        Returns:
        The byteStart.
      • setByteStart

        public PlanProtocol.TestColumn.Builder setByteStart​(int value)
        note that this will be cast to an int8_t but protobuf doesnt have an int8 type
         
        int32 byte_start = 3;
        Parameters:
        value - The byteStart to set.
        Returns:
        This builder for chaining.
      • clearByteStart

        public PlanProtocol.TestColumn.Builder clearByteStart()
        note that this will be cast to an int8_t but protobuf doesnt have an int8 type
         
        int32 byte_start = 3;
        Returns:
        This builder for chaining.
      • getSmallintStart

        public int getSmallintStart()
        note that this will be cast to an int16_t but protobuf doesnt have an int16 type
         
        int32 smallint_start = 4;
        Specified by:
        getSmallintStart in interface PlanProtocol.TestColumnOrBuilder
        Returns:
        The smallintStart.
      • setSmallintStart

        public PlanProtocol.TestColumn.Builder setSmallintStart​(int value)
        note that this will be cast to an int16_t but protobuf doesnt have an int16 type
         
        int32 smallint_start = 4;
        Parameters:
        value - The smallintStart to set.
        Returns:
        This builder for chaining.
      • clearSmallintStart

        public PlanProtocol.TestColumn.Builder clearSmallintStart()
        note that this will be cast to an int16_t but protobuf doesnt have an int16 type
         
        int32 smallint_start = 4;
        Returns:
        This builder for chaining.
      • setIntStart

        public PlanProtocol.TestColumn.Builder setIntStart​(int value)
        int32 int_start = 5;
        Parameters:
        value - The intStart to set.
        Returns:
        This builder for chaining.
      • setBigintStart

        public PlanProtocol.TestColumn.Builder setBigintStart​(long value)
        int64 bigint_start = 6;
        Parameters:
        value - The bigintStart to set.
        Returns:
        This builder for chaining.
      • setFloatStart

        public PlanProtocol.TestColumn.Builder setFloatStart​(float value)
        float float_start = 7;
        Parameters:
        value - The floatStart to set.
        Returns:
        This builder for chaining.
      • setDoubleStart

        public PlanProtocol.TestColumn.Builder setDoubleStart​(double value)
        double double_start = 8;
        Parameters:
        value - The doubleStart to set.
        Returns:
        This builder for chaining.
      • setBoolStart

        public PlanProtocol.TestColumn.Builder setBoolStart​(boolean value)
        bool bool_start = 9;
        Parameters:
        value - The boolStart to set.
        Returns:
        This builder for chaining.
      • setIpv4Start

        public PlanProtocol.TestColumn.Builder setIpv4Start​(int value)
        uint32 ipv4_start = 10;
        Parameters:
        value - The ipv4Start to set.
        Returns:
        This builder for chaining.
      • getVarcharStartBytes

        public com.google.protobuf.ByteString getVarcharStartBytes()
        note that this must be an int32 in string format
         
        string varchar_start = 11;
        Specified by:
        getVarcharStartBytes in interface PlanProtocol.TestColumnOrBuilder
        Returns:
        The bytes for varcharStart.
      • setVarcharStart

        public PlanProtocol.TestColumn.Builder setVarcharStart​(String value)
        note that this must be an int32 in string format
         
        string varchar_start = 11;
        Parameters:
        value - The varcharStart to set.
        Returns:
        This builder for chaining.
      • clearVarcharStart

        public PlanProtocol.TestColumn.Builder clearVarcharStart()
        note that this must be an int32 in string format
         
        string varchar_start = 11;
        Returns:
        This builder for chaining.
      • setVarcharStartBytes

        public PlanProtocol.TestColumn.Builder setVarcharStartBytes​(com.google.protobuf.ByteString value)
        note that this must be an int32 in string format
         
        string varchar_start = 11;
        Parameters:
        value - The bytes for varcharStart to set.
        Returns:
        This builder for chaining.
      • getBinaryStartBytes

        public com.google.protobuf.ByteString getBinaryStartBytes()
        note that this must also be an int32 in string format
         
        string binary_start = 12;
        Specified by:
        getBinaryStartBytes in interface PlanProtocol.TestColumnOrBuilder
        Returns:
        The bytes for binaryStart.
      • setBinaryStart

        public PlanProtocol.TestColumn.Builder setBinaryStart​(String value)
        note that this must also be an int32 in string format
         
        string binary_start = 12;
        Parameters:
        value - The binaryStart to set.
        Returns:
        This builder for chaining.
      • clearBinaryStart

        public PlanProtocol.TestColumn.Builder clearBinaryStart()
        note that this must also be an int32 in string format
         
        string binary_start = 12;
        Returns:
        This builder for chaining.
      • setBinaryStartBytes

        public PlanProtocol.TestColumn.Builder setBinaryStartBytes​(com.google.protobuf.ByteString value)
        note that this must also be an int32 in string format
         
        string binary_start = 12;
        Parameters:
        value - The bytes for binaryStart to set.
        Returns:
        This builder for chaining.
      • setDateStart

        public PlanProtocol.TestColumn.Builder setDateStart​(int value)
        note that this must be a valid date
         
        int32 date_start = 13;
        Parameters:
        value - The dateStart to set.
        Returns:
        This builder for chaining.
      • clearDateStart

        public PlanProtocol.TestColumn.Builder clearDateStart()
        note that this must be a valid date
         
        int32 date_start = 13;
        Returns:
        This builder for chaining.
      • setTimestampStart

        public PlanProtocol.TestColumn.Builder setTimestampStart​(long value)
        int64 timestamp_start = 14;
        Parameters:
        value - The timestampStart to set.
        Returns:
        This builder for chaining.
      • setNullChance

        public PlanProtocol.TestColumn.Builder setNullChance​(double value)
        double nullChance = 15;
        Parameters:
        value - The nullChance to set.
        Returns:
        This builder for chaining.
      • setNullCycle

        public PlanProtocol.TestColumn.Builder setNullCycle​(long value)
        uint64 nullCycle = 16;
        Parameters:
        value - The nullCycle to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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