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

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

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

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

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

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

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

        public int getTypeValue()
        The type of the plan
         
        .xg.db.sqlPlans.PlanMessage.PlanType type = 2;
        Specified by:
        getTypeValue in interface PlanProtocol.PlanMessageOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public PlanProtocol.PlanMessage.Builder setTypeValue​(int value)
        The type of the plan
         
        .xg.db.sqlPlans.PlanMessage.PlanType type = 2;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public PlanProtocol.PlanMessage.Builder clearType()
        The type of the plan
         
        .xg.db.sqlPlans.PlanMessage.PlanType type = 2;
        Returns:
        This builder for chaining.
      • hasRootNode

        public boolean hasRootNode()
        The root operator - this is the last operator
        In other words, the data that comes out of here is what is returned to the caller
         
        .xg.db.sqlPlans.Operator rootNode = 3;
        Specified by:
        hasRootNode in interface PlanProtocol.PlanMessageOrBuilder
        Returns:
        Whether the rootNode field is set.
      • setRootNode

        public PlanProtocol.PlanMessage.Builder setRootNode​(PlanProtocol.Operator value)
        The root operator - this is the last operator
        In other words, the data that comes out of here is what is returned to the caller
         
        .xg.db.sqlPlans.Operator rootNode = 3;
      • mergeRootNode

        public PlanProtocol.PlanMessage.Builder mergeRootNode​(PlanProtocol.Operator value)
        The root operator - this is the last operator
        In other words, the data that comes out of here is what is returned to the caller
         
        .xg.db.sqlPlans.Operator rootNode = 3;
      • clearRootNode

        public PlanProtocol.PlanMessage.Builder clearRootNode()
        The root operator - this is the last operator
        In other words, the data that comes out of here is what is returned to the caller
         
        .xg.db.sqlPlans.Operator rootNode = 3;
      • getRootNodeBuilder

        public PlanProtocol.Operator.Builder getRootNodeBuilder()
        The root operator - this is the last operator
        In other words, the data that comes out of here is what is returned to the caller
         
        .xg.db.sqlPlans.Operator rootNode = 3;
      • getEmptyResultSet

        public boolean getEmptyResultSet()
        This is only needed for explain
        For actual execution we don't even bother generating a plan
        If this is set, nothing else will be set
         
        bool emptyResultSet = 4;
        Specified by:
        getEmptyResultSet in interface PlanProtocol.PlanMessageOrBuilder
        Returns:
        The emptyResultSet.
      • setEmptyResultSet

        public PlanProtocol.PlanMessage.Builder setEmptyResultSet​(boolean value)
        This is only needed for explain
        For actual execution we don't even bother generating a plan
        If this is set, nothing else will be set
         
        bool emptyResultSet = 4;
        Parameters:
        value - The emptyResultSet to set.
        Returns:
        This builder for chaining.
      • clearEmptyResultSet

        public PlanProtocol.PlanMessage.Builder clearEmptyResultSet()
        This is only needed for explain
        For actual execution we don't even bother generating a plan
        If this is set, nothing else will be set
         
        bool emptyResultSet = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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