Resets the state of this builder.

@return this {@code Builder} object
180081
public BuildableType.Builder clear() {
    BuildableType_Builder defaults = new BuildableType.Builder();
    type = defaults.type;
    builderType = defaults.builderType;
    mergeBuilder = defaults.mergeBuilder;
    partialToBuilder = defaults.partialToBuilder;
    builderFactory = defaults.builderFactory;
    suppressUnchecked = defaults.suppressUnchecked;
    _unsetProperties.clear();
    _unsetProperties.addAll(defaults._unsetProperties);
    return (BuildableType.Builder) this;
  }
771472
def _reset_state(self):
        
        self._builders = {}
        self._total_data_size = 0
        self._progress_offset = 0
        self._current_progress_fraction = 0
1126216
public static Builder builder() {
    return new AutoValue_Source.Builder()
        .setPath(DEV_NULL)
        .setCode("")
        .setOriginalCodeSupplier(null)
        .setSourceMap("")
        .setSourceUrl("")
        .setSourceMappingUrl("")
        .setRuntimes(ImmutableSet.of())
        .setLoadFlags(ImmutableMap.of())
        .setEstimatedSize(0);
  }
1042819
public TypeUsage.Builder start(int start) {
    this.start = start;
    _unsetProperties.remove(Property.START);
    return (TypeUsage.Builder) this;
  }
864658
public void reset() {
        this.table = this.hashTable.getTable();
        this.length = this.table.length;
        this.entry = null;
        this.row = 0;
    }
804742
@Override
  @SuppressWarnings("unchecked")
  public void clear() {
    message =
        (MType) (message != null ? message.getDefaultInstanceForType() : builder
            .getDefaultInstanceForType());
    if (builder != null) {
      dispose(builder);
      builder = null;
    }
    onChanged();
  }
358010
@Override
    @CheckReturnValue
    public RoleManager reset()
    {
        super.reset();
        this.name = null;
        this.color = Role.DEFAULT_COLOR_RAW;
        return this;
    }
350886
public void reset() {
    this.state = State.FREE;
    this.level = Integer.MAX_VALUE;
    this.mark = 0;
    this.reason = null;
  }
759566
public Builder branch() {
            if (fragments.isEmpty()) {
                fragments.add(new PathFragment(new NoopFilter()));
            }

            Builder child = new Builder();
            child.parent = this;
            children.add(child);

            return child;
        }
196309
public function reset()
    {
        $this->messages = [];

        foreach (self::$when as $when) {
            $this->messages[$when] = [];
        }

        return $this;
    }
566715
public function reset()
    {
        $reflection = new \ReflectionClass(static::class);
        foreach ($reflection->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
            if (!$property->isStatic()) {
                $this->{$property->getName()} = null;
            }
        }
        return $this;
    }
1235103
public State build() {
		return new State(state, fanIn.get(), fanOut.get(), getCandidates(),
		        failedEvents.build(), state.hasNearDuplicate(), getNearestState(),
		        state.getDistToNearestState(), timeAdded);
	}
482901
public MemberSelector reset() {
    if (selectionsIterator != null) {
      this.selections = strategy.selectConnections(leader, Lists.newLinkedList(members));
      this.selectionsIterator = null;
    }
    return this;
  }
34059
public ComponentBuilder moveComponent(final ComponentBuilder builder) {
        if (builder.getAnalysisJobBuilder() != this) {
            builder.getAnalysisJobBuilder().removeComponent(builder);

            // when moving the component to a different scope we need to first
            // reset
            // the prior input
            builder.clearInputColumns();

            addComponent(builder);
            builder.setAnalysisJobBuilder(this);
        }

        return builder;
    }
1150106
public Builder newBuilder() {
        return new Builder()
                .name(name)
                .addColumn(columns)
                .addFk(fks)
                .pkFields(pkFields)
                .addIndexes(indexes);
    }
515186
public function reset()
    {
        // reset structure
        parent::reset();

        // reset errors
        $this->clearErrors();

        // reset behaviors
        $this->clearBehaviors();

        // init delegates
        $this->initDelegates();

        return $this;
    }
303258
public function reset()
    {
        $this->getRepository()->getSpace()->setEntityState($this, AnDomain::STATE_CLEAN);
        $this->_modified = array();

        return $this;
    }