Dialogflow/src/V2/EntityType.php
public function setAutoExpansionMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\EntityType_AutoExpansionMode::class);
        $this->auto_expansion_mode = $var;

        return $this;
    }
public function setAutoExpansionMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\EntityType_AutoExpansionMode::class);
        $this->auto_expansion_mode = $var;

        return $this;
    }
public function setAutoExpansionMode ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ EntityType_AutoExpansionMode :: class ) ; $ this -> auto_expansion_mode = $ var ; return $ this ; }
Optional. Indicates whether the entity type can be automatically
expanded.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4;</code>
@param int $var
@return $this
Optional . Indicates whether the entity type can be automatically expanded .